Logged on: Wednesday, 18-Dec-13 19:42:37 GMT
Memory usage: 122.56MB
Available groups: all, caching, sql, cache, events

all:

#1 - error - [Notice] Use of undefined constant WORK_PATH - assumed 'WORK_PATH' (in /Build/Workspaces/QA/angie/vendor/vcard/init.php on 12)
#2 - error - [Notice] Constant ANGIE_PATH already defined (in /Build/Workspaces/QA/activeCollab/instance/config/config.test.php on 7)
#3 - error - [Notice] Constant DB_CHARSET already defined (in /Build/Workspaces/QA/activeCollab/instance/config/config.test.php on 15)
#4 - info - APC cache backend loaded
#5 - info - SET NAMES 'utf8'
#6 - info - SET SESSION character_set_database = 'utf8'
#7 - info - SHOW TABLES LIKE 'ac_config_options'
#8 - info - SHOW TABLES LIKE 'ac_config_options'
#9 - info - DROP TABLE `ac_config_options`
#10 - info - SHOW TABLES LIKE 'ac_config_option_values'
#11 - info - SHOW TABLES LIKE 'ac_config_option_values'
#12 - info - DROP TABLE `ac_config_option_values`
#13 - info - SHOW TABLES LIKE 'ac_modules'
#14 - info - SHOW TABLES LIKE 'ac_modules'
#15 - info - DROP TABLE `ac_modules`
#16 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#17 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#18 - info - DROP TABLE `ac_executed_model_migrations`
#19 - info - SHOW TABLES LIKE 'ac_update_history'
#20 - info - SHOW TABLES LIKE 'ac_update_history'
#21 - info - DROP TABLE `ac_update_history`
#22 - info - SHOW TABLES LIKE 'ac_access_logs'
#23 - info - SHOW TABLES LIKE 'ac_access_logs'
#24 - info - DROP TABLE `ac_access_logs`
#25 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#26 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#27 - info - DROP TABLE `ac_access_logs_archive`
#28 - info - SHOW TABLES LIKE 'ac_object_contexts'
#29 - info - SHOW TABLES LIKE 'ac_object_contexts'
#30 - info - DROP TABLE `ac_object_contexts`
#31 - info - SHOW TABLES LIKE 'ac_routing_cache'
#32 - info - SHOW TABLES LIKE 'ac_routing_cache'
#33 - info - DROP TABLE `ac_routing_cache`
#34 - info - SHOW TABLES LIKE 'ac_currencies'
#35 - info - SHOW TABLES LIKE 'ac_currencies'
#36 - info - DROP TABLE `ac_currencies`
#37 - info - SHOW TABLES LIKE 'ac_day_offs'
#38 - info - SHOW TABLES LIKE 'ac_day_offs'
#39 - info - DROP TABLE `ac_day_offs`
#40 - info - SHOW TABLES LIKE 'ac_languages'
#41 - info - SHOW TABLES LIKE 'ac_languages'
#42 - info - DROP TABLE `ac_languages`
#43 - info - SHOW TABLES LIKE 'ac_language_phrases'
#44 - info - SHOW TABLES LIKE 'ac_language_phrases'
#45 - info - DROP TABLE `ac_language_phrases`
#46 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#47 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#48 - info - DROP TABLE `ac_language_phrase_translations`
#49 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#50 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#51 - info - DROP TABLE `ac_api_client_subscriptions`
#52 - info - SHOW TABLES LIKE 'ac_users'
#53 - info - SHOW TABLES LIKE 'ac_users'
#54 - info - DROP TABLE `ac_users`
#55 - info - SHOW TABLES LIKE 'ac_user_addresses'
#56 - info - SHOW TABLES LIKE 'ac_user_addresses'
#57 - info - DROP TABLE `ac_user_addresses`
#58 - info - SHOW TABLES LIKE 'ac_user_sessions'
#59 - info - SHOW TABLES LIKE 'ac_user_sessions'
#60 - info - DROP TABLE `ac_user_sessions`
#61 - info - SHOW TABLES LIKE 'ac_security_logs'
#62 - info - SHOW TABLES LIKE 'ac_security_logs'
#63 - info - DROP TABLE `ac_security_logs`
#64 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#65 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#66 - info - DROP TABLE `ac_api_token_logs`
#67 - info - SHOW TABLES LIKE 'ac_activity_logs'
#68 - info - SHOW TABLES LIKE 'ac_activity_logs'
#69 - info - DROP TABLE `ac_activity_logs`
#70 - info - SHOW TABLES LIKE 'ac_data_filters'
#71 - info - SHOW TABLES LIKE 'ac_data_filters'
#72 - info - DROP TABLE `ac_data_filters`
#73 - info - SHOW TABLES LIKE 'ac_modification_logs'
#74 - info - SHOW TABLES LIKE 'ac_modification_logs'
#75 - info - DROP TABLE `ac_modification_logs`
#76 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#77 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#78 - info - DROP TABLE `ac_modification_log_values`
#79 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#80 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#81 - info - DROP TABLE `ac_mailing_activity_logs`
#82 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#83 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#84 - info - DROP TABLE `ac_outgoing_messages`
#85 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#86 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#87 - info - DROP TABLE `ac_incoming_mail_attachments`
#88 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#89 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#90 - info - DROP TABLE `ac_incoming_mail_filters`
#91 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#92 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#93 - info - DROP TABLE `ac_incoming_mailboxes`
#94 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#95 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#96 - info - DROP TABLE `ac_incoming_mails`
#97 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#98 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#99 - info - DROP TABLE `ac_homescreen_tabs`
#100 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#101 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#102 - info - DROP TABLE `ac_homescreen_widgets`
#103 - info - SHOW TABLES LIKE 'ac_announcements'
#104 - info - SHOW TABLES LIKE 'ac_announcements'
#105 - info - DROP TABLE `ac_announcements`
#106 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#107 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#108 - info - DROP TABLE `ac_announcement_target_ids`
#109 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#110 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#111 - info - DROP TABLE `ac_announcement_dismissals`
#112 - info - SHOW TABLES LIKE 'ac_attachments'
#113 - info - SHOW TABLES LIKE 'ac_attachments'
#114 - info - DROP TABLE `ac_attachments`
#115 - info - SHOW TABLES LIKE 'ac_notifications'
#116 - info - SHOW TABLES LIKE 'ac_notifications'
#117 - info - DROP TABLE `ac_notifications`
#118 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#119 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#120 - info - DROP TABLE `ac_notification_recipients`
#121 - info - SHOW TABLES LIKE 'ac_subscriptions'
#122 - info - SHOW TABLES LIKE 'ac_subscriptions'
#123 - info - DROP TABLE `ac_subscriptions`
#124 - info - SHOW TABLES LIKE 'ac_comments'
#125 - info - SHOW TABLES LIKE 'ac_comments'
#126 - info - DROP TABLE `ac_comments`
#127 - info - SHOW TABLES LIKE 'ac_categories'
#128 - info - SHOW TABLES LIKE 'ac_categories'
#129 - info - DROP TABLE `ac_categories`
#130 - info - SHOW TABLES LIKE 'ac_labels'
#131 - info - SHOW TABLES LIKE 'ac_labels'
#132 - info - DROP TABLE `ac_labels`
#133 - info - SHOW TABLES LIKE 'ac_assignments'
#134 - info - SHOW TABLES LIKE 'ac_assignments'
#135 - info - DROP TABLE `ac_assignments`
#136 - info - SHOW TABLES LIKE 'ac_subtasks'
#137 - info - SHOW TABLES LIKE 'ac_subtasks'
#138 - info - DROP TABLE `ac_subtasks`
#139 - info - SHOW TABLES LIKE 'ac_favorites'
#140 - info - SHOW TABLES LIKE 'ac_favorites'
#141 - info - DROP TABLE `ac_favorites`
#142 - info - SHOW TABLES LIKE 'ac_code_snippets'
#143 - info - SHOW TABLES LIKE 'ac_code_snippets'
#144 - info - DROP TABLE `ac_code_snippets`
#145 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#146 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#147 - info - DROP TABLE `ac_payment_gateways`
#148 - info - SHOW TABLES LIKE 'ac_payments'
#149 - info - SHOW TABLES LIKE 'ac_payments'
#150 - info - DROP TABLE `ac_payments`
#151 - info - SHOW TABLES LIKE 'ac_reminders'
#152 - info - SHOW TABLES LIKE 'ac_reminders'
#153 - info - DROP TABLE `ac_reminders`
#154 - info - SHOW TABLES LIKE 'ac_reminder_users'
#155 - info - SHOW TABLES LIKE 'ac_reminder_users'
#156 - info - DROP TABLE `ac_reminder_users`
#157 - info - SHOW TABLES LIKE 'ac_custom_fields'
#158 - info - SHOW TABLES LIKE 'ac_custom_fields'
#159 - info - DROP TABLE `ac_custom_fields`
#160 - info - SHOW TABLES LIKE 'ac_calendars'
#161 - info - SHOW TABLES LIKE 'ac_calendars'
#162 - info - DROP TABLE `ac_calendars`
#163 - info - SHOW TABLES LIKE 'ac_calendar_events'
#164 - info - SHOW TABLES LIKE 'ac_calendar_events'
#165 - info - DROP TABLE `ac_calendar_events`
#166 - info - SHOW TABLES LIKE 'ac_calendar_users'
#167 - info - SHOW TABLES LIKE 'ac_calendar_users'
#168 - info - DROP TABLE `ac_calendar_users`
#169 - info - SHOW TABLES LIKE 'ac_data_sources'
#170 - info - SHOW TABLES LIKE 'ac_data_sources'
#171 - info - DROP TABLE `ac_data_sources`
#172 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#173 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#174 - info - DROP TABLE `ac_data_source_mappings`
#175 - info - SHOW TABLES LIKE 'ac_companies'
#176 - info - SHOW TABLES LIKE 'ac_companies'
#177 - info - DROP TABLE `ac_companies`
#178 - info - SHOW TABLES LIKE 'ac_projects'
#179 - info - SHOW TABLES LIKE 'ac_projects'
#180 - info - DROP TABLE `ac_projects`
#181 - info - SHOW TABLES LIKE 'ac_project_roles'
#182 - info - SHOW TABLES LIKE 'ac_project_roles'
#183 - info - DROP TABLE `ac_project_roles`
#184 - info - SHOW TABLES LIKE 'ac_project_users'
#185 - info - SHOW TABLES LIKE 'ac_project_users'
#186 - info - DROP TABLE `ac_project_users`
#187 - info - SHOW TABLES LIKE 'ac_project_requests'
#188 - info - SHOW TABLES LIKE 'ac_project_requests'
#189 - info - DROP TABLE `ac_project_requests`
#190 - info - SHOW TABLES LIKE 'ac_project_objects'
#191 - info - SHOW TABLES LIKE 'ac_project_objects'
#192 - info - DROP TABLE `ac_project_objects`
#193 - info - SHOW TABLES LIKE 'ac_project_templates'
#194 - info - SHOW TABLES LIKE 'ac_project_templates'
#195 - info - DROP TABLE `ac_project_templates`
#196 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#197 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#198 - info - DROP TABLE `ac_project_object_templates`
#199 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#200 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#201 - info - DROP TABLE `ac_shared_object_profiles`
#202 - info - SHOW TABLES LIKE 'ac_file_versions'
#203 - info - SHOW TABLES LIKE 'ac_file_versions'
#204 - info - DROP TABLE `ac_file_versions`
#205 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#206 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#207 - info - DROP TABLE `ac_text_document_versions`
#208 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#209 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#210 - info - DROP TABLE `ac_public_task_forms`
#211 - info - SHOW TABLES LIKE 'ac_related_tasks'
#212 - info - SHOW TABLES LIKE 'ac_related_tasks'
#213 - info - DROP TABLE `ac_related_tasks`
#214 - info - SHOW TABLES LIKE 'ac_task_segments'
#215 - info - SHOW TABLES LIKE 'ac_task_segments'
#216 - info - DROP TABLE `ac_task_segments`
#217 - info - SHOW TABLES LIKE 'ac_status_updates'
#218 - info - SHOW TABLES LIKE 'ac_status_updates'
#219 - info - DROP TABLE `ac_status_updates`
#220 - info - SHOW TABLES LIKE 'ac_documents'
#221 - info - SHOW TABLES LIKE 'ac_documents'
#222 - info - DROP TABLE `ac_documents`
#223 - info - SHOW TABLES LIKE 'ac_time_records'
#224 - info - SHOW TABLES LIKE 'ac_time_records'
#225 - info - DROP TABLE `ac_time_records`
#226 - info - SHOW TABLES LIKE 'ac_job_types'
#227 - info - SHOW TABLES LIKE 'ac_job_types'
#228 - info - DROP TABLE `ac_job_types`
#229 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#230 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#231 - info - DROP TABLE `ac_project_hourly_rates`
#232 - info - SHOW TABLES LIKE 'ac_expenses'
#233 - info - SHOW TABLES LIKE 'ac_expenses'
#234 - info - DROP TABLE `ac_expenses`
#235 - info - SHOW TABLES LIKE 'ac_expense_categories'
#236 - info - SHOW TABLES LIKE 'ac_expense_categories'
#237 - info - DROP TABLE `ac_expense_categories`
#238 - info - SHOW TABLES LIKE 'ac_estimates'
#239 - info - SHOW TABLES LIKE 'ac_estimates'
#240 - info - DROP TABLE `ac_estimates`
#241 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#242 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#243 - info - DROP TABLE `ac_invoice_objects`
#244 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#245 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#246 - info - DROP TABLE `ac_invoice_object_items`
#247 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#248 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#249 - info - DROP TABLE `ac_invoice_item_templates`
#250 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#251 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#252 - info - DROP TABLE `ac_invoice_note_templates`
#253 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#254 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#255 - info - DROP TABLE `ac_invoice_related_records`
#256 - info - SHOW TABLES LIKE 'ac_tax_rates'
#257 - info - SHOW TABLES LIKE 'ac_tax_rates'
#258 - info - DROP TABLE `ac_tax_rates`
#259 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#260 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#261 - info - DROP TABLE `ac_notebook_pages`
#262 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#263 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#264 - info - DROP TABLE `ac_notebook_page_versions`
#265 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#266 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#267 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#268 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#269 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#270 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#271 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#272 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#273 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#274 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#275 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#276 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#277 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#278 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#279 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#280 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#281 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#282 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#283 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#284 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#285 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#286 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#287 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#288 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#289 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#290 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#291 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#292 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#293 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#294 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#295 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#296 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#297 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#298 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#299 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#300 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#301 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#302 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#303 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#304 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#305 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#306 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#307 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#308 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#309 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#310 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#311 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#312 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#313 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#314 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#315 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#316 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#317 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#318 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#319 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#320 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#321 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#322 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#323 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#324 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#325 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#326 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#327 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#328 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#329 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#330 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#331 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#332 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#333 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#334 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#335 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#336 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#337 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#338 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#339 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#340 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#341 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#342 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#343 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#344 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#345 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#346 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#347 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#348 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#349 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#350 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#386 - info - BEGIN WORK
#387 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#388 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#389 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#390 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#391 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#392 - info - COMMIT
#393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#417 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#420 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#421 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#422 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#423 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#424 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#425 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#426 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#427 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#428 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#429 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#430 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#431 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#432 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#433 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395654;')
#447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#459 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#460 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#461 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#463 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#471 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#472 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#484 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#486 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#490 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#491 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#492 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#493 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#494 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:54', '1')
#495 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#496 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#497 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#498 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#500 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#502 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#508 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#509 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#510 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#511 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#513 - info - BEGIN WORK
#514 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#515 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#516 - info - COMMIT
#517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#518 - info - BEGIN WORK
#519 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#520 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#521 - info - COMMIT
#522 - info - BEGIN WORK
#523 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#524 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#525 - info - COMMIT
#526 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#527 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#528 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#554 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#557 - info - SHOW TABLES LIKE 'ac_job_types'
#558 - info - SELECT COUNT(id) FROM ac_job_types
#559 - info - SHOW TABLES LIKE 'ac_tax_rates'
#560 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#561 - info - BEGIN WORK
#562 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#563 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#564 - info - COMMIT
#565 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#566 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#567 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#568 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#569 - info - SELECT COUNT(name) FROM ac_modules
#570 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#571 - info - SELECT name FROM ac_modules
#572 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#573 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#574 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#575 - info - Cache miss 'installed_non_system_modues'
#576 - info - SELECT name, is_enabled FROM ac_modules WHERE name != 'system' ORDER BY position
#577 - info - Cache hit 'installed_non_system_modues'
#578 - info - Cache hit 'installed_non_system_modues'
#579 - info - Cache hit 'installed_non_system_modues'
#580 - info - Cache hit 'installed_non_system_modues'
#581 - info - Cache hit 'installed_non_system_modues'
#582 - info - Cache hit 'installed_non_system_modues'
#583 - info - Cache hit 'installed_non_system_modues'
#584 - info - Cache hit 'installed_non_system_modues'
#585 - info - Cache hit 'installed_non_system_modues'
#586 - info - Cache miss 'root_url'
#587 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#588 - info - File system cache backend loaded
#589 - info - BEGIN WORK
#590 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#591 - info - Event 'on_before_object_validation' triggered
#592 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#593 - info - Event 'on_after_object_validation' triggered
#594 - info - Event 'on_before_object_save' triggered
#595 - info - Event 'on_before_object_insert' triggered
#596 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'File', '2013-12-18 19:40:54')
#597 - info - Event 'on_object_inserted' triggered
#598 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#599 - info - Event 'on_after_object_save' triggered
#600 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#601 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#602 - info - COMMIT
#603 - info - Cache miss 'models/test_data_objects/1'
#604 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#605 - info - Cache hit 'models/test_data_objects/1'
#606 - info - BEGIN WORK
#607 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#608 - info - Event 'on_before_object_validation' triggered
#609 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'New name') AND (id <> '1')
#610 - info - Event 'on_after_object_validation' triggered
#611 - info - Event 'on_before_object_save' triggered
#612 - info - Event 'on_before_object_update' triggered
#613 - info - UPDATE ac_test_data_objects SET name = 'New name', updated_on = '2013-12-18 19:40:54' WHERE id = '1'
#614 - info - Event 'on_object_updated' triggered
#615 - info - Event 'on_after_object_save' triggered
#616 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#617 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#618 - info - COMMIT
#619 - info - Cache miss 'models/test_data_objects/1'
#620 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#621 - info - BEGIN WORK
#622 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#623 - info - Event 'on_before_object_deleted' triggered
#624 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#625 - info - Event 'on_object_deleted' triggered
#626 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#627 - info - COMMIT
#628 - info - DROP TABLE IF EXISTS ac_test_data_objects
#629 - info - File system cache backend loaded
#630 - info - Cache miss 'something_to_get'
#631 - info - Cache hit 'something_to_get'
#632 - info - File system cache backend loaded
#633 - info - Cache miss 'something_to_get'
#634 - info - SHOW TABLES LIKE 'ac_config_options'
#635 - info - SHOW TABLES LIKE 'ac_config_options'
#636 - info - DROP TABLE `ac_config_options`
#637 - info - SHOW TABLES LIKE 'ac_config_option_values'
#638 - info - SHOW TABLES LIKE 'ac_config_option_values'
#639 - info - DROP TABLE `ac_config_option_values`
#640 - info - SHOW TABLES LIKE 'ac_modules'
#641 - info - SHOW TABLES LIKE 'ac_modules'
#642 - info - DROP TABLE `ac_modules`
#643 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#644 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#645 - info - DROP TABLE `ac_executed_model_migrations`
#646 - info - SHOW TABLES LIKE 'ac_update_history'
#647 - info - SHOW TABLES LIKE 'ac_update_history'
#648 - info - DROP TABLE `ac_update_history`
#649 - info - SHOW TABLES LIKE 'ac_access_logs'
#650 - info - SHOW TABLES LIKE 'ac_access_logs'
#651 - info - DROP TABLE `ac_access_logs`
#652 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#653 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#654 - info - DROP TABLE `ac_access_logs_archive`
#655 - info - SHOW TABLES LIKE 'ac_object_contexts'
#656 - info - SHOW TABLES LIKE 'ac_object_contexts'
#657 - info - DROP TABLE `ac_object_contexts`
#658 - info - SHOW TABLES LIKE 'ac_routing_cache'
#659 - info - SHOW TABLES LIKE 'ac_routing_cache'
#660 - info - DROP TABLE `ac_routing_cache`
#661 - info - SHOW TABLES LIKE 'ac_currencies'
#662 - info - SHOW TABLES LIKE 'ac_currencies'
#663 - info - DROP TABLE `ac_currencies`
#664 - info - SHOW TABLES LIKE 'ac_day_offs'
#665 - info - SHOW TABLES LIKE 'ac_day_offs'
#666 - info - DROP TABLE `ac_day_offs`
#667 - info - SHOW TABLES LIKE 'ac_languages'
#668 - info - SHOW TABLES LIKE 'ac_languages'
#669 - info - DROP TABLE `ac_languages`
#670 - info - SHOW TABLES LIKE 'ac_language_phrases'
#671 - info - SHOW TABLES LIKE 'ac_language_phrases'
#672 - info - DROP TABLE `ac_language_phrases`
#673 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#674 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#675 - info - DROP TABLE `ac_language_phrase_translations`
#676 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#677 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#678 - info - DROP TABLE `ac_api_client_subscriptions`
#679 - info - SHOW TABLES LIKE 'ac_users'
#680 - info - SHOW TABLES LIKE 'ac_users'
#681 - info - DROP TABLE `ac_users`
#682 - info - SHOW TABLES LIKE 'ac_user_addresses'
#683 - info - SHOW TABLES LIKE 'ac_user_addresses'
#684 - info - DROP TABLE `ac_user_addresses`
#685 - info - SHOW TABLES LIKE 'ac_user_sessions'
#686 - info - SHOW TABLES LIKE 'ac_user_sessions'
#687 - info - DROP TABLE `ac_user_sessions`
#688 - info - SHOW TABLES LIKE 'ac_security_logs'
#689 - info - SHOW TABLES LIKE 'ac_security_logs'
#690 - info - DROP TABLE `ac_security_logs`
#691 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#692 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#693 - info - DROP TABLE `ac_api_token_logs`
#694 - info - SHOW TABLES LIKE 'ac_activity_logs'
#695 - info - SHOW TABLES LIKE 'ac_activity_logs'
#696 - info - DROP TABLE `ac_activity_logs`
#697 - info - SHOW TABLES LIKE 'ac_data_filters'
#698 - info - SHOW TABLES LIKE 'ac_data_filters'
#699 - info - DROP TABLE `ac_data_filters`
#700 - info - SHOW TABLES LIKE 'ac_modification_logs'
#701 - info - SHOW TABLES LIKE 'ac_modification_logs'
#702 - info - DROP TABLE `ac_modification_logs`
#703 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#704 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#705 - info - DROP TABLE `ac_modification_log_values`
#706 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#707 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#708 - info - DROP TABLE `ac_mailing_activity_logs`
#709 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#710 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#711 - info - DROP TABLE `ac_outgoing_messages`
#712 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#713 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#714 - info - DROP TABLE `ac_incoming_mail_attachments`
#715 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#716 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#717 - info - DROP TABLE `ac_incoming_mail_filters`
#718 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#719 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#720 - info - DROP TABLE `ac_incoming_mailboxes`
#721 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#722 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#723 - info - DROP TABLE `ac_incoming_mails`
#724 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#725 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#726 - info - DROP TABLE `ac_homescreen_tabs`
#727 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#728 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#729 - info - DROP TABLE `ac_homescreen_widgets`
#730 - info - SHOW TABLES LIKE 'ac_announcements'
#731 - info - SHOW TABLES LIKE 'ac_announcements'
#732 - info - DROP TABLE `ac_announcements`
#733 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#734 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#735 - info - DROP TABLE `ac_announcement_target_ids`
#736 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#737 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#738 - info - DROP TABLE `ac_announcement_dismissals`
#739 - info - SHOW TABLES LIKE 'ac_attachments'
#740 - info - SHOW TABLES LIKE 'ac_attachments'
#741 - info - DROP TABLE `ac_attachments`
#742 - info - SHOW TABLES LIKE 'ac_notifications'
#743 - info - SHOW TABLES LIKE 'ac_notifications'
#744 - info - DROP TABLE `ac_notifications`
#745 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#746 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#747 - info - DROP TABLE `ac_notification_recipients`
#748 - info - SHOW TABLES LIKE 'ac_subscriptions'
#749 - info - SHOW TABLES LIKE 'ac_subscriptions'
#750 - info - DROP TABLE `ac_subscriptions`
#751 - info - SHOW TABLES LIKE 'ac_comments'
#752 - info - SHOW TABLES LIKE 'ac_comments'
#753 - info - DROP TABLE `ac_comments`
#754 - info - SHOW TABLES LIKE 'ac_categories'
#755 - info - SHOW TABLES LIKE 'ac_categories'
#756 - info - DROP TABLE `ac_categories`
#757 - info - SHOW TABLES LIKE 'ac_labels'
#758 - info - SHOW TABLES LIKE 'ac_labels'
#759 - info - DROP TABLE `ac_labels`
#760 - info - SHOW TABLES LIKE 'ac_assignments'
#761 - info - SHOW TABLES LIKE 'ac_assignments'
#762 - info - DROP TABLE `ac_assignments`
#763 - info - SHOW TABLES LIKE 'ac_subtasks'
#764 - info - SHOW TABLES LIKE 'ac_subtasks'
#765 - info - DROP TABLE `ac_subtasks`
#766 - info - SHOW TABLES LIKE 'ac_favorites'
#767 - info - SHOW TABLES LIKE 'ac_favorites'
#768 - info - DROP TABLE `ac_favorites`
#769 - info - SHOW TABLES LIKE 'ac_code_snippets'
#770 - info - SHOW TABLES LIKE 'ac_code_snippets'
#771 - info - DROP TABLE `ac_code_snippets`
#772 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#773 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#774 - info - DROP TABLE `ac_payment_gateways`
#775 - info - SHOW TABLES LIKE 'ac_payments'
#776 - info - SHOW TABLES LIKE 'ac_payments'
#777 - info - DROP TABLE `ac_payments`
#778 - info - SHOW TABLES LIKE 'ac_reminders'
#779 - info - SHOW TABLES LIKE 'ac_reminders'
#780 - info - DROP TABLE `ac_reminders`
#781 - info - SHOW TABLES LIKE 'ac_reminder_users'
#782 - info - SHOW TABLES LIKE 'ac_reminder_users'
#783 - info - DROP TABLE `ac_reminder_users`
#784 - info - SHOW TABLES LIKE 'ac_custom_fields'
#785 - info - SHOW TABLES LIKE 'ac_custom_fields'
#786 - info - DROP TABLE `ac_custom_fields`
#787 - info - SHOW TABLES LIKE 'ac_calendars'
#788 - info - SHOW TABLES LIKE 'ac_calendars'
#789 - info - DROP TABLE `ac_calendars`
#790 - info - SHOW TABLES LIKE 'ac_calendar_events'
#791 - info - SHOW TABLES LIKE 'ac_calendar_events'
#792 - info - DROP TABLE `ac_calendar_events`
#793 - info - SHOW TABLES LIKE 'ac_calendar_users'
#794 - info - SHOW TABLES LIKE 'ac_calendar_users'
#795 - info - DROP TABLE `ac_calendar_users`
#796 - info - SHOW TABLES LIKE 'ac_data_sources'
#797 - info - SHOW TABLES LIKE 'ac_data_sources'
#798 - info - DROP TABLE `ac_data_sources`
#799 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#800 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#801 - info - DROP TABLE `ac_data_source_mappings`
#802 - info - SHOW TABLES LIKE 'ac_companies'
#803 - info - SHOW TABLES LIKE 'ac_companies'
#804 - info - DROP TABLE `ac_companies`
#805 - info - SHOW TABLES LIKE 'ac_projects'
#806 - info - SHOW TABLES LIKE 'ac_projects'
#807 - info - DROP TABLE `ac_projects`
#808 - info - SHOW TABLES LIKE 'ac_project_roles'
#809 - info - SHOW TABLES LIKE 'ac_project_roles'
#810 - info - DROP TABLE `ac_project_roles`
#811 - info - SHOW TABLES LIKE 'ac_project_users'
#812 - info - SHOW TABLES LIKE 'ac_project_users'
#813 - info - DROP TABLE `ac_project_users`
#814 - info - SHOW TABLES LIKE 'ac_project_requests'
#815 - info - SHOW TABLES LIKE 'ac_project_requests'
#816 - info - DROP TABLE `ac_project_requests`
#817 - info - SHOW TABLES LIKE 'ac_project_objects'
#818 - info - SHOW TABLES LIKE 'ac_project_objects'
#819 - info - DROP TABLE `ac_project_objects`
#820 - info - SHOW TABLES LIKE 'ac_project_templates'
#821 - info - SHOW TABLES LIKE 'ac_project_templates'
#822 - info - DROP TABLE `ac_project_templates`
#823 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#824 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#825 - info - DROP TABLE `ac_project_object_templates`
#826 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#827 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#828 - info - DROP TABLE `ac_shared_object_profiles`
#829 - info - SHOW TABLES LIKE 'ac_file_versions'
#830 - info - SHOW TABLES LIKE 'ac_file_versions'
#831 - info - DROP TABLE `ac_file_versions`
#832 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#833 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#834 - info - DROP TABLE `ac_text_document_versions`
#835 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#836 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#837 - info - DROP TABLE `ac_public_task_forms`
#838 - info - SHOW TABLES LIKE 'ac_related_tasks'
#839 - info - SHOW TABLES LIKE 'ac_related_tasks'
#840 - info - DROP TABLE `ac_related_tasks`
#841 - info - SHOW TABLES LIKE 'ac_task_segments'
#842 - info - SHOW TABLES LIKE 'ac_task_segments'
#843 - info - DROP TABLE `ac_task_segments`
#844 - info - SHOW TABLES LIKE 'ac_status_updates'
#845 - info - SHOW TABLES LIKE 'ac_status_updates'
#846 - info - DROP TABLE `ac_status_updates`
#847 - info - SHOW TABLES LIKE 'ac_documents'
#848 - info - SHOW TABLES LIKE 'ac_documents'
#849 - info - DROP TABLE `ac_documents`
#850 - info - SHOW TABLES LIKE 'ac_time_records'
#851 - info - SHOW TABLES LIKE 'ac_time_records'
#852 - info - DROP TABLE `ac_time_records`
#853 - info - SHOW TABLES LIKE 'ac_job_types'
#854 - info - SHOW TABLES LIKE 'ac_job_types'
#855 - info - DROP TABLE `ac_job_types`
#856 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#857 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#858 - info - DROP TABLE `ac_project_hourly_rates`
#859 - info - SHOW TABLES LIKE 'ac_expenses'
#860 - info - SHOW TABLES LIKE 'ac_expenses'
#861 - info - DROP TABLE `ac_expenses`
#862 - info - SHOW TABLES LIKE 'ac_expense_categories'
#863 - info - SHOW TABLES LIKE 'ac_expense_categories'
#864 - info - DROP TABLE `ac_expense_categories`
#865 - info - SHOW TABLES LIKE 'ac_estimates'
#866 - info - SHOW TABLES LIKE 'ac_estimates'
#867 - info - DROP TABLE `ac_estimates`
#868 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#869 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#870 - info - DROP TABLE `ac_invoice_objects`
#871 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#872 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#873 - info - DROP TABLE `ac_invoice_object_items`
#874 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#875 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#876 - info - DROP TABLE `ac_invoice_item_templates`
#877 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#878 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#879 - info - DROP TABLE `ac_invoice_note_templates`
#880 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#881 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#882 - info - DROP TABLE `ac_invoice_related_records`
#883 - info - SHOW TABLES LIKE 'ac_tax_rates'
#884 - info - SHOW TABLES LIKE 'ac_tax_rates'
#885 - info - DROP TABLE `ac_tax_rates`
#886 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#887 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#888 - info - DROP TABLE `ac_notebook_pages`
#889 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#890 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#891 - info - DROP TABLE `ac_notebook_page_versions`
#892 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#893 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#894 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#895 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#896 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#897 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#898 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#899 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#900 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#901 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#902 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#903 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#904 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#905 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#906 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#907 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#908 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#909 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#910 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#911 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#912 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#913 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#914 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#915 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#916 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#917 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#918 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#919 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#920 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#921 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#922 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#923 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#924 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#925 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#926 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#927 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#928 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#929 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#930 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#931 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#932 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#933 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#934 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#935 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#936 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#937 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#938 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#939 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#940 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#941 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#942 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#943 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#944 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#945 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#946 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#947 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#948 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#949 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#950 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#951 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#952 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#953 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#954 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#955 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#956 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#957 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#958 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#959 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#960 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#961 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#962 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#963 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#964 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#965 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#966 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#967 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#968 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#969 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#970 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#971 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#972 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#973 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#974 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#975 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#976 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#977 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1005 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1006 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1007 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1008 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1009 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1010 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1011 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1012 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1013 - info - BEGIN WORK
#1014 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1015 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1016 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1017 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1018 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1019 - info - COMMIT
#1020 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1036 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1042 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1043 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1044 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1045 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1046 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1047 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1048 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1049 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1050 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1051 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1052 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1053 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1054 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1055 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1056 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1057 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1058 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1059 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1060 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395655;')
#1074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1082 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1083 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1084 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1085 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1086 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1087 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1088 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1090 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1091 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1093 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1094 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1095 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1096 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1098 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1099 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1100 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1101 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1102 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1103 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1105 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1106 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1107 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1108 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1109 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1110 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1111 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1112 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1113 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1114 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1115 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1117 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1118 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1119 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1120 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1121 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:55', '1')
#1122 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1123 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1124 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1125 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1126 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1127 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1128 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1129 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1135 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1136 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1137 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1138 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1140 - info - BEGIN WORK
#1141 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1142 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1143 - info - COMMIT
#1144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1145 - info - BEGIN WORK
#1146 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1147 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1148 - info - COMMIT
#1149 - info - BEGIN WORK
#1150 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1151 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1152 - info - COMMIT
#1153 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1154 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1155 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1156 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1157 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1158 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1159 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1160 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1162 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1163 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1164 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1165 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1166 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1167 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1168 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1169 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1170 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1171 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1175 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1176 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1177 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1178 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1180 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1181 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1182 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1183 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1184 - info - SHOW TABLES LIKE 'ac_job_types'
#1185 - info - SELECT COUNT(id) FROM ac_job_types
#1186 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1187 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1188 - info - BEGIN WORK
#1189 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1190 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1191 - info - COMMIT
#1192 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1193 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1194 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1195 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1196 - info - SELECT COUNT(name) FROM ac_modules
#1197 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1198 - info - SELECT name FROM ac_modules
#1199 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1200 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1201 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1202 - info - Cache miss 'config_values'
#1203 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1204 - info - Cache hit 'config_values'
#1205 - info - SELECT value FROM ac_config_options WHERE name = 'search_provider'
#1206 - info - Event 'on_search_indices' triggered
#1207 - info - Callback 'help_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1208 - info - Callback 'authentication_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1209 - info - Callback 'system_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1210 - info - Callback 'documents_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1211 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1212 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1213 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1214 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1215 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1216 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1217 - info - BEGIN WORK
#1218 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1219 - info - Cache hit 'config_values'
#1220 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1221 - info - UPDATE ac_config_options SET value = 'i:1387395655;' WHERE name = 'search_initialized_on'
#1222 - info - COMMIT
#1223 - info - Cache hit 'config_values'
#1224 - info - Cache miss 'models/users/1'
#1225 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1226 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1227 - info - SHOW TABLES LIKE 'ac_%'
#1228 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1229 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1230 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1231 - info - SHOW TABLES LIKE 'ac_%'
#1232 - info - DROP TABLE ac_test_table
#1233 - info - SHOW TABLES LIKE 'ac_config_options'
#1234 - info - SHOW TABLES LIKE 'ac_config_options'
#1235 - info - DROP TABLE `ac_config_options`
#1236 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1237 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1238 - info - DROP TABLE `ac_config_option_values`
#1239 - info - SHOW TABLES LIKE 'ac_modules'
#1240 - info - SHOW TABLES LIKE 'ac_modules'
#1241 - info - DROP TABLE `ac_modules`
#1242 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1243 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1244 - info - DROP TABLE `ac_executed_model_migrations`
#1245 - info - SHOW TABLES LIKE 'ac_update_history'
#1246 - info - SHOW TABLES LIKE 'ac_update_history'
#1247 - info - DROP TABLE `ac_update_history`
#1248 - info - SHOW TABLES LIKE 'ac_access_logs'
#1249 - info - SHOW TABLES LIKE 'ac_access_logs'
#1250 - info - DROP TABLE `ac_access_logs`
#1251 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1252 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1253 - info - DROP TABLE `ac_access_logs_archive`
#1254 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1255 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1256 - info - DROP TABLE `ac_object_contexts`
#1257 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1258 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1259 - info - DROP TABLE `ac_routing_cache`
#1260 - info - SHOW TABLES LIKE 'ac_currencies'
#1261 - info - SHOW TABLES LIKE 'ac_currencies'
#1262 - info - DROP TABLE `ac_currencies`
#1263 - info - SHOW TABLES LIKE 'ac_day_offs'
#1264 - info - SHOW TABLES LIKE 'ac_day_offs'
#1265 - info - DROP TABLE `ac_day_offs`
#1266 - info - SHOW TABLES LIKE 'ac_languages'
#1267 - info - SHOW TABLES LIKE 'ac_languages'
#1268 - info - DROP TABLE `ac_languages`
#1269 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1270 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1271 - info - DROP TABLE `ac_language_phrases`
#1272 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1273 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1274 - info - DROP TABLE `ac_language_phrase_translations`
#1275 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1276 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1277 - info - DROP TABLE `ac_api_client_subscriptions`
#1278 - info - SHOW TABLES LIKE 'ac_users'
#1279 - info - SHOW TABLES LIKE 'ac_users'
#1280 - info - DROP TABLE `ac_users`
#1281 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1282 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1283 - info - DROP TABLE `ac_user_addresses`
#1284 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1285 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1286 - info - DROP TABLE `ac_user_sessions`
#1287 - info - SHOW TABLES LIKE 'ac_security_logs'
#1288 - info - SHOW TABLES LIKE 'ac_security_logs'
#1289 - info - DROP TABLE `ac_security_logs`
#1290 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1291 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1292 - info - DROP TABLE `ac_api_token_logs`
#1293 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1294 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1295 - info - DROP TABLE `ac_activity_logs`
#1296 - info - SHOW TABLES LIKE 'ac_data_filters'
#1297 - info - SHOW TABLES LIKE 'ac_data_filters'
#1298 - info - DROP TABLE `ac_data_filters`
#1299 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1300 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1301 - info - DROP TABLE `ac_modification_logs`
#1302 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1303 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1304 - info - DROP TABLE `ac_modification_log_values`
#1305 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1306 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1307 - info - DROP TABLE `ac_mailing_activity_logs`
#1308 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1309 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1310 - info - DROP TABLE `ac_outgoing_messages`
#1311 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1312 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1313 - info - DROP TABLE `ac_incoming_mail_attachments`
#1314 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1315 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1316 - info - DROP TABLE `ac_incoming_mail_filters`
#1317 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1318 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1319 - info - DROP TABLE `ac_incoming_mailboxes`
#1320 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1321 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1322 - info - DROP TABLE `ac_incoming_mails`
#1323 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1324 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1325 - info - DROP TABLE `ac_homescreen_tabs`
#1326 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1327 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1328 - info - DROP TABLE `ac_homescreen_widgets`
#1329 - info - SHOW TABLES LIKE 'ac_announcements'
#1330 - info - SHOW TABLES LIKE 'ac_announcements'
#1331 - info - DROP TABLE `ac_announcements`
#1332 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1333 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1334 - info - DROP TABLE `ac_announcement_target_ids`
#1335 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1336 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1337 - info - DROP TABLE `ac_announcement_dismissals`
#1338 - info - SHOW TABLES LIKE 'ac_attachments'
#1339 - info - SHOW TABLES LIKE 'ac_attachments'
#1340 - info - DROP TABLE `ac_attachments`
#1341 - info - SHOW TABLES LIKE 'ac_notifications'
#1342 - info - SHOW TABLES LIKE 'ac_notifications'
#1343 - info - DROP TABLE `ac_notifications`
#1344 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1345 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1346 - info - DROP TABLE `ac_notification_recipients`
#1347 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1348 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1349 - info - DROP TABLE `ac_subscriptions`
#1350 - info - SHOW TABLES LIKE 'ac_comments'
#1351 - info - SHOW TABLES LIKE 'ac_comments'
#1352 - info - DROP TABLE `ac_comments`
#1353 - info - SHOW TABLES LIKE 'ac_categories'
#1354 - info - SHOW TABLES LIKE 'ac_categories'
#1355 - info - DROP TABLE `ac_categories`
#1356 - info - SHOW TABLES LIKE 'ac_labels'
#1357 - info - SHOW TABLES LIKE 'ac_labels'
#1358 - info - DROP TABLE `ac_labels`
#1359 - info - SHOW TABLES LIKE 'ac_assignments'
#1360 - info - SHOW TABLES LIKE 'ac_assignments'
#1361 - info - DROP TABLE `ac_assignments`
#1362 - info - SHOW TABLES LIKE 'ac_subtasks'
#1363 - info - SHOW TABLES LIKE 'ac_subtasks'
#1364 - info - DROP TABLE `ac_subtasks`
#1365 - info - SHOW TABLES LIKE 'ac_favorites'
#1366 - info - SHOW TABLES LIKE 'ac_favorites'
#1367 - info - DROP TABLE `ac_favorites`
#1368 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1369 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1370 - info - DROP TABLE `ac_code_snippets`
#1371 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1372 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1373 - info - DROP TABLE `ac_payment_gateways`
#1374 - info - SHOW TABLES LIKE 'ac_payments'
#1375 - info - SHOW TABLES LIKE 'ac_payments'
#1376 - info - DROP TABLE `ac_payments`
#1377 - info - SHOW TABLES LIKE 'ac_reminders'
#1378 - info - SHOW TABLES LIKE 'ac_reminders'
#1379 - info - DROP TABLE `ac_reminders`
#1380 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1381 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1382 - info - DROP TABLE `ac_reminder_users`
#1383 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1384 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1385 - info - DROP TABLE `ac_custom_fields`
#1386 - info - SHOW TABLES LIKE 'ac_calendars'
#1387 - info - SHOW TABLES LIKE 'ac_calendars'
#1388 - info - DROP TABLE `ac_calendars`
#1389 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1390 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1391 - info - DROP TABLE `ac_calendar_events`
#1392 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1393 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1394 - info - DROP TABLE `ac_calendar_users`
#1395 - info - SHOW TABLES LIKE 'ac_data_sources'
#1396 - info - SHOW TABLES LIKE 'ac_data_sources'
#1397 - info - DROP TABLE `ac_data_sources`
#1398 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1399 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1400 - info - DROP TABLE `ac_data_source_mappings`
#1401 - info - SHOW TABLES LIKE 'ac_companies'
#1402 - info - SHOW TABLES LIKE 'ac_companies'
#1403 - info - DROP TABLE `ac_companies`
#1404 - info - SHOW TABLES LIKE 'ac_projects'
#1405 - info - SHOW TABLES LIKE 'ac_projects'
#1406 - info - DROP TABLE `ac_projects`
#1407 - info - SHOW TABLES LIKE 'ac_project_roles'
#1408 - info - SHOW TABLES LIKE 'ac_project_roles'
#1409 - info - DROP TABLE `ac_project_roles`
#1410 - info - SHOW TABLES LIKE 'ac_project_users'
#1411 - info - SHOW TABLES LIKE 'ac_project_users'
#1412 - info - DROP TABLE `ac_project_users`
#1413 - info - SHOW TABLES LIKE 'ac_project_requests'
#1414 - info - SHOW TABLES LIKE 'ac_project_requests'
#1415 - info - DROP TABLE `ac_project_requests`
#1416 - info - SHOW TABLES LIKE 'ac_project_objects'
#1417 - info - SHOW TABLES LIKE 'ac_project_objects'
#1418 - info - DROP TABLE `ac_project_objects`
#1419 - info - SHOW TABLES LIKE 'ac_project_templates'
#1420 - info - SHOW TABLES LIKE 'ac_project_templates'
#1421 - info - DROP TABLE `ac_project_templates`
#1422 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1423 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1424 - info - DROP TABLE `ac_project_object_templates`
#1425 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1426 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1427 - info - DROP TABLE `ac_shared_object_profiles`
#1428 - info - SHOW TABLES LIKE 'ac_file_versions'
#1429 - info - SHOW TABLES LIKE 'ac_file_versions'
#1430 - info - DROP TABLE `ac_file_versions`
#1431 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1432 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1433 - info - DROP TABLE `ac_text_document_versions`
#1434 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1435 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1436 - info - DROP TABLE `ac_public_task_forms`
#1437 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1438 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1439 - info - DROP TABLE `ac_related_tasks`
#1440 - info - SHOW TABLES LIKE 'ac_task_segments'
#1441 - info - SHOW TABLES LIKE 'ac_task_segments'
#1442 - info - DROP TABLE `ac_task_segments`
#1443 - info - SHOW TABLES LIKE 'ac_status_updates'
#1444 - info - SHOW TABLES LIKE 'ac_status_updates'
#1445 - info - DROP TABLE `ac_status_updates`
#1446 - info - SHOW TABLES LIKE 'ac_documents'
#1447 - info - SHOW TABLES LIKE 'ac_documents'
#1448 - info - DROP TABLE `ac_documents`
#1449 - info - SHOW TABLES LIKE 'ac_time_records'
#1450 - info - SHOW TABLES LIKE 'ac_time_records'
#1451 - info - DROP TABLE `ac_time_records`
#1452 - info - SHOW TABLES LIKE 'ac_job_types'
#1453 - info - SHOW TABLES LIKE 'ac_job_types'
#1454 - info - DROP TABLE `ac_job_types`
#1455 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1456 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1457 - info - DROP TABLE `ac_project_hourly_rates`
#1458 - info - SHOW TABLES LIKE 'ac_expenses'
#1459 - info - SHOW TABLES LIKE 'ac_expenses'
#1460 - info - DROP TABLE `ac_expenses`
#1461 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1462 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1463 - info - DROP TABLE `ac_expense_categories`
#1464 - info - SHOW TABLES LIKE 'ac_estimates'
#1465 - info - SHOW TABLES LIKE 'ac_estimates'
#1466 - info - DROP TABLE `ac_estimates`
#1467 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1468 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1469 - info - DROP TABLE `ac_invoice_objects`
#1470 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1471 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1472 - info - DROP TABLE `ac_invoice_object_items`
#1473 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1474 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1475 - info - DROP TABLE `ac_invoice_item_templates`
#1476 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1477 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1478 - info - DROP TABLE `ac_invoice_note_templates`
#1479 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1480 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1481 - info - DROP TABLE `ac_invoice_related_records`
#1482 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1483 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1484 - info - DROP TABLE `ac_tax_rates`
#1485 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1486 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1487 - info - DROP TABLE `ac_notebook_pages`
#1488 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1489 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1490 - info - DROP TABLE `ac_notebook_page_versions`
#1491 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1492 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1493 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1494 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1495 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1496 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1497 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1498 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1499 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1500 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1501 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1502 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1503 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1504 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1505 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1506 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1507 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1508 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1509 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1510 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1511 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1512 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1513 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1514 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1515 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1516 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1517 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1518 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1519 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1520 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1521 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1522 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1523 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1524 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1525 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1526 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1527 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1528 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1529 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1530 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1531 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1532 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1533 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1534 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1535 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1536 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1537 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1538 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1539 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1540 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1541 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1542 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1543 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1544 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1545 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1546 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1547 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1548 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1549 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1550 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1551 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1552 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1553 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1554 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1555 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1556 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1557 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1558 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1559 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1560 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1561 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1562 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1563 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1564 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1565 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1566 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1567 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1568 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1569 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1570 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1571 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1572 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1573 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1574 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1575 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1576 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#1578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#1579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#1580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#1581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#1582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#1583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#1584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#1585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#1586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#1587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#1588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#1589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#1590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#1591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#1592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#1593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#1594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#1595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#1596 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#1597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#1598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1602 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1604 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1605 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1607 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1608 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1609 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1610 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1612 - info - BEGIN WORK
#1613 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1614 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1615 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1616 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1617 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1618 - info - COMMIT
#1619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1646 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1647 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1648 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1649 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1650 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1651 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1652 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1653 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1654 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1655 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1656 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1657 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1658 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1659 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1660 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1661 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1662 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1666 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1667 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1668 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1669 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1670 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395656;')
#1673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1685 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1686 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1687 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1689 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1697 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1698 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1699 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1700 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1701 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1702 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1703 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1704 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1705 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1708 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1709 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1710 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1711 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1712 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1716 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1717 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1718 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1719 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1720 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:56', '1')
#1721 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1722 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1723 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1724 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1726 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1728 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1734 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1735 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1736 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1737 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1738 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1739 - info - BEGIN WORK
#1740 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1741 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1742 - info - COMMIT
#1743 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1744 - info - BEGIN WORK
#1745 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1746 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1747 - info - COMMIT
#1748 - info - BEGIN WORK
#1749 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1750 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1751 - info - COMMIT
#1752 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1753 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1754 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1756 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1757 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1758 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1759 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1760 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1761 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1762 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1772 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1773 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1774 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1775 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1776 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1777 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1778 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1779 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1780 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1781 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1782 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1783 - info - SHOW TABLES LIKE 'ac_job_types'
#1784 - info - SELECT COUNT(id) FROM ac_job_types
#1785 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1786 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1787 - info - BEGIN WORK
#1788 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1789 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1790 - info - COMMIT
#1791 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1792 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1793 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1794 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1795 - info - SELECT COUNT(name) FROM ac_modules
#1796 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1797 - info - SELECT name FROM ac_modules
#1798 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1799 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1800 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1801 - info - Cache miss 'config_values'
#1802 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1803 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1804 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1805 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1806 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1807 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1808 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1809 - info - BEGIN WORK
#1810 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1811 - info - Cache hit 'config_values'
#1812 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1813 - info - UPDATE ac_config_options SET value = 'i:1387395656;' WHERE name = 'search_initialized_on'
#1814 - info - COMMIT
#1815 - info - Cache miss 'models/users/1'
#1816 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1817 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1818 - info - SELECT COUNT(*) FROM ac_test_table
#1819 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1820 - info - DROP TABLE `ac_test_table_migrate_test`
#1821 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1822 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1823 - info - INSERT INTO ac_test_table_migrate_test (name) VALUES ('Test Migration')
#1824 - info - SHOW TABLES LIKE 'ac_test_table_O0OA67j7mr'
#1825 - info - RENAME TABLE ac_test_table TO ac_test_table_O0OA67j7mr, ac_test_table_migrate_test TO ac_test_table
#1826 - info - DROP TABLE ac_test_table_O0OA67j7mr
#1827 - info - SELECT COUNT(*) FROM ac_test_table
#1828 - info - DROP TABLE ac_test_table
#1829 - info - Cache hit 'models/users/1'
#1830 - info - Cache hit 'models/users/1'
#1831 - info - Cache miss 'models/users/1/config_options'
#1832 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_date' AND parent_type = 'User' AND parent_id = '1'
#1833 - info - Cache miss 'config_values'
#1834 - info - SELECT value FROM ac_config_options WHERE name = 'format_date'
#1835 - info - Cache hit 'models/users/1/config_options'
#1836 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_timezone' AND parent_type = 'User' AND parent_id = '1'
#1837 - info - Cache hit 'config_values'
#1838 - info - SELECT value FROM ac_config_options WHERE name = 'time_timezone'
#1839 - info - Cache hit 'models/users/1/config_options'
#1840 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_dst' AND parent_type = 'User' AND parent_id = '1'
#1841 - info - Cache hit 'config_values'
#1842 - info - SELECT value FROM ac_config_options WHERE name = 'time_dst'
#1843 - info - Cache hit 'models/users/1/config_options'
#1844 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_time' AND parent_type = 'User' AND parent_id = '1'
#1845 - info - Cache hit 'config_values'
#1846 - info - SELECT value FROM ac_config_options WHERE name = 'format_time'
#1847 - info - Cache hit 'models/users/1'
#1848 - info - Cache hit 'models/users/1'
#1849 - info - Cache hit 'models/users/1/config_options'
#1850 - info - Cache hit 'models/users/1'
#1851 - info - Cache hit 'models/users/1/config_options'
#1852 - info - Cache hit 'models/users/1/config_options'
#1853 - info - Cache hit 'models/users/1'
#1854 - info - CREATE TABLE ac_test_db_result_to_json (
        id int(11) NOT NULL auto_increment,
        string_field varchar(255) default NULL,
        int_field int(11) default NULL,
        other float default NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
#1855 - info - SHOW TABLES LIKE 'ac_%'
#1856 - info - INSERT INTO ac_test_db_result_to_json (id,string_field,int_field,other) VALUES (1,'A',5,3.2), (2,'Another record',18,NULL);
#1857 - info - SELECT * FROM ac_test_db_result_to_json
#1858 - info - DROP TABLE ac_test_db_result_to_json
#1859 - info - SHOW TABLES LIKE 'ac_%'
#1860 - info - Cache hit 'models/users/1'
#1861 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1862 - info - BEGIN WORK
#1863 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1864 - info - Event 'on_before_object_validation' triggered
#1865 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 1'
#1866 - info - Event 'on_after_object_validation' triggered
#1867 - info - Event 'on_before_object_save' triggered
#1868 - info - Event 'on_before_object_insert' triggered
#1869 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 1', 'TestDataObject', '2013-12-18 19:40:56')
#1870 - info - Event 'on_object_inserted' triggered
#1871 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1872 - info - Event 'on_after_object_save' triggered
#1873 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1874 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1875 - info - COMMIT
#1876 - info - BEGIN WORK
#1877 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1878 - info - Event 'on_before_object_validation' triggered
#1879 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 2'
#1880 - info - Event 'on_after_object_validation' triggered
#1881 - info - Event 'on_before_object_save' triggered
#1882 - info - Event 'on_before_object_insert' triggered
#1883 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 2', 'TestDataObject', '2013-12-18 19:40:56')
#1884 - info - Event 'on_object_inserted' triggered
#1885 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1886 - info - Event 'on_after_object_save' triggered
#1887 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1888 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1889 - info - COMMIT
#1890 - info - Cache miss 'models/test_data_objects/1'
#1891 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1892 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1893 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1894 - info - BEGIN WORK
#1895 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1896 - info - Event 'on_before_object_validation' triggered
#1897 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#1898 - info - Event 'on_after_object_validation' triggered
#1899 - info - Event 'on_before_object_save' triggered
#1900 - info - Event 'on_before_object_insert' triggered
#1901 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'TestDataObject', '2013-12-18 19:40:56')
#1902 - info - Event 'on_object_inserted' triggered
#1903 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1904 - info - Event 'on_after_object_save' triggered
#1905 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1906 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1907 - info - COMMIT
#1908 - info - BEGIN WORK
#1909 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1910 - info - Event 'on_before_object_deleted' triggered
#1911 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1912 - info - Event 'on_object_deleted' triggered
#1913 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#1914 - info - COMMIT
#1915 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1916 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1917 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1918 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1919 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object name', 'Object description')
#1920 - info - Cache miss 'models/test_data_objects/1'
#1921 - info - SELECT id, name, description, type, created_on, updated_on FROM ac_test_data_objects WHERE id = '1'  LIMIT 0, 1
#1922 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1923 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1924 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object #1', 'Description #1'), ('Object #2', 'Description #2'), ('Object #3', 'TestDataObject')
#1925 - info - SELECT * FROM ac_test_data_objects
#1926 - info - SELECT * FROM ac_test_data_objects ORDER BY name
#1927 - info - SELECT * FROM ac_test_data_objects WHERE name = 'Object #3'
#1928 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1929 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1930 - info - BEGIN WORK
#1931 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1932 - info - Event 'on_before_object_validation' triggered
#1933 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1934 - info - Event 'on_after_object_validation' triggered
#1935 - info - Event 'on_before_object_save' triggered
#1936 - info - Event 'on_before_object_insert' triggered
#1937 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 19:40:56')
#1938 - info - Event 'on_object_inserted' triggered
#1939 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1940 - info - Event 'on_after_object_save' triggered
#1941 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1942 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1943 - info - COMMIT
#1944 - info - BEGIN WORK
#1945 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1946 - info - Event 'on_before_object_deleted' triggered
#1947 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1948 - info - Event 'on_object_deleted' triggered
#1949 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#1950 - info - COMMIT
#1951 - info - BEGIN WORK
#1952 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1953 - info - Event 'on_before_object_validation' triggered
#1954 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1955 - info - Event 'on_after_object_validation' triggered
#1956 - info - Event 'on_before_object_save' triggered
#1957 - info - Event 'on_before_object_insert' triggered
#1958 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on, id) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 19:40:56', '1')
#1959 - info - Event 'on_object_inserted' triggered
#1960 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1961 - info - Event 'on_after_object_save' triggered
#1962 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1963 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1964 - info - COMMIT
#1965 - info - SELECT * FROM ac_test_data_objects WHERE id = '1'    LIMIT 0, 1
#1966 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1967 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1968 - info - BEGIN WORK
#1969 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1970 - info - Event 'on_before_object_validation' triggered
#1971 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1972 - info - Event 'on_after_object_validation' triggered
#1973 - info - Event 'on_before_object_save' triggered
#1974 - info - Event 'on_before_object_insert' triggered
#1975 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('First name', 'TestDataObject', '2013-12-18 19:40:56')
#1976 - info - Event 'on_object_inserted' triggered
#1977 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1978 - info - Event 'on_after_object_save' triggered
#1979 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1980 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1981 - info - COMMIT
#1982 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1983 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1984 - info - BEGIN WORK
#1985 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1986 - info - Event 'on_before_object_validation' triggered
#1987 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New name'
#1988 - info - Event 'on_after_object_validation' triggered
#1989 - info - Event 'on_before_object_save' triggered
#1990 - info - Event 'on_before_object_insert' triggered
#1991 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New name', 'TestDataObject', '2013-12-18 19:40:56')
#1992 - info - Event 'on_object_inserted' triggered
#1993 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1994 - info - Event 'on_after_object_save' triggered
#1995 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1996 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1997 - info - COMMIT
#1998 - info - Cache miss 'models/test_data_objects/1'
#1999 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#2000 - info - BEGIN WORK
#2001 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2002 - info - Event 'on_before_object_validation' triggered
#2003 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'Something something') AND (id <> '1')
#2004 - info - Event 'on_after_object_validation' triggered
#2005 - info - Event 'on_before_object_save' triggered
#2006 - info - Event 'on_before_object_update' triggered
#2007 - info - UPDATE ac_test_data_objects SET name = 'Something something', updated_on = '2013-12-18 19:40:56' WHERE id = '1'
#2008 - info - Event 'on_object_updated' triggered
#2009 - info - Event 'on_after_object_save' triggered
#2010 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2011 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2012 - info - COMMIT
#2013 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2014 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2015 - info - BEGIN WORK
#2016 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2017 - info - Event 'on_before_object_validation' triggered
#2018 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'My name'
#2019 - info - Event 'on_after_object_validation' triggered
#2020 - info - Event 'on_before_object_save' triggered
#2021 - info - Event 'on_before_object_insert' triggered
#2022 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('My name', 'TestDataObject', '2013-12-18 19:40:56')
#2023 - info - Event 'on_object_inserted' triggered
#2024 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2025 - info - Event 'on_after_object_save' triggered
#2026 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2027 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2028 - info - COMMIT
#2029 - info - BEGIN WORK
#2030 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2031 - info - Event 'on_before_object_validation' triggered
#2032 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'My name') AND (id <> '1')
#2033 - info - Event 'on_after_object_validation' triggered
#2034 - info - Event 'on_before_object_save' triggered
#2035 - info - Event 'on_before_object_update' triggered
#2036 - info - SELECT count(*) AS 'row_count' FROM ac_test_data_objects WHERE id = '1'
#2037 - info - UPDATE ac_test_data_objects SET id = '12', updated_on = '2013-12-18 19:40:56' WHERE id = '1'
#2038 - info - Event 'on_object_updated' triggered
#2039 - info - Event 'on_after_object_save' triggered
#2040 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2041 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2042 - info - COMMIT
#2043 - info - Cache miss 'models/test_data_objects/12'
#2044 - info - SELECT * FROM ac_test_data_objects WHERE id = '12' LIMIT 0, 1
#2045 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2046 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2047 - info - BEGIN WORK
#2048 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2049 - info - Event 'on_before_object_validation' triggered
#2050 - info - Event 'on_after_object_validation' triggered
#2051 - info - ROLLBACK
#2052 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#2053 - info - BEGIN WORK
#2054 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2055 - info - Event 'on_before_object_validation' triggered
#2056 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#2057 - info - Event 'on_after_object_validation' triggered
#2058 - info - Event 'on_before_object_save' triggered
#2059 - info - Event 'on_before_object_insert' triggered
#2060 - info - INSERT INTO ac_test_data_objects (type, created_on, name) VALUES ('TestDataObject', '2013-12-18 19:40:56', 'Unique name')
#2061 - info - Event 'on_object_inserted' triggered
#2062 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2063 - info - Event 'on_after_object_save' triggered
#2064 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2065 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2066 - info - COMMIT
#2067 - info - BEGIN WORK
#2068 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2069 - info - Event 'on_before_object_validation' triggered
#2070 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#2071 - info - Event 'on_after_object_validation' triggered
#2072 - info - ROLLBACK
#2073 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#2074 - info - BEGIN WORK
#2075 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2076 - info - Event 'on_before_object_validation' triggered
#2077 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New, better name'
#2078 - info - Event 'on_after_object_validation' triggered
#2079 - info - Event 'on_before_object_save' triggered
#2080 - info - Event 'on_before_object_insert' triggered
#2081 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New, better name', 'TestDataObject', '2013-12-18 19:40:56')
#2082 - info - Event 'on_object_inserted' triggered
#2083 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2084 - info - Event 'on_after_object_save' triggered
#2085 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2086 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2087 - info - COMMIT
#2088 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2089 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2090 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2091 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2092 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2093 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2094 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2095 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2096 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2097 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2098 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2099 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2100 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2101 - info - SHOW TABLES LIKE 'ac_config_options'
#2102 - info - SHOW TABLES LIKE 'ac_config_options'
#2103 - info - DROP TABLE `ac_config_options`
#2104 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2105 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2106 - info - DROP TABLE `ac_config_option_values`
#2107 - info - SHOW TABLES LIKE 'ac_modules'
#2108 - info - SHOW TABLES LIKE 'ac_modules'
#2109 - info - DROP TABLE `ac_modules`
#2110 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2111 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2112 - info - DROP TABLE `ac_executed_model_migrations`
#2113 - info - SHOW TABLES LIKE 'ac_update_history'
#2114 - info - SHOW TABLES LIKE 'ac_update_history'
#2115 - info - DROP TABLE `ac_update_history`
#2116 - info - SHOW TABLES LIKE 'ac_access_logs'
#2117 - info - SHOW TABLES LIKE 'ac_access_logs'
#2118 - info - DROP TABLE `ac_access_logs`
#2119 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2120 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2121 - info - DROP TABLE `ac_access_logs_archive`
#2122 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2123 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2124 - info - DROP TABLE `ac_object_contexts`
#2125 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2126 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2127 - info - DROP TABLE `ac_routing_cache`
#2128 - info - SHOW TABLES LIKE 'ac_currencies'
#2129 - info - SHOW TABLES LIKE 'ac_currencies'
#2130 - info - DROP TABLE `ac_currencies`
#2131 - info - SHOW TABLES LIKE 'ac_day_offs'
#2132 - info - SHOW TABLES LIKE 'ac_day_offs'
#2133 - info - DROP TABLE `ac_day_offs`
#2134 - info - SHOW TABLES LIKE 'ac_languages'
#2135 - info - SHOW TABLES LIKE 'ac_languages'
#2136 - info - DROP TABLE `ac_languages`
#2137 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2138 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2139 - info - DROP TABLE `ac_language_phrases`
#2140 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2141 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2142 - info - DROP TABLE `ac_language_phrase_translations`
#2143 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2144 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2145 - info - DROP TABLE `ac_api_client_subscriptions`
#2146 - info - SHOW TABLES LIKE 'ac_users'
#2147 - info - SHOW TABLES LIKE 'ac_users'
#2148 - info - DROP TABLE `ac_users`
#2149 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2150 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2151 - info - DROP TABLE `ac_user_addresses`
#2152 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2153 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2154 - info - DROP TABLE `ac_user_sessions`
#2155 - info - SHOW TABLES LIKE 'ac_security_logs'
#2156 - info - SHOW TABLES LIKE 'ac_security_logs'
#2157 - info - DROP TABLE `ac_security_logs`
#2158 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2159 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2160 - info - DROP TABLE `ac_api_token_logs`
#2161 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2162 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2163 - info - DROP TABLE `ac_activity_logs`
#2164 - info - SHOW TABLES LIKE 'ac_data_filters'
#2165 - info - SHOW TABLES LIKE 'ac_data_filters'
#2166 - info - DROP TABLE `ac_data_filters`
#2167 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2168 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2169 - info - DROP TABLE `ac_modification_logs`
#2170 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2171 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2172 - info - DROP TABLE `ac_modification_log_values`
#2173 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2174 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2175 - info - DROP TABLE `ac_mailing_activity_logs`
#2176 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2177 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2178 - info - DROP TABLE `ac_outgoing_messages`
#2179 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2180 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2181 - info - DROP TABLE `ac_incoming_mail_attachments`
#2182 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2183 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2184 - info - DROP TABLE `ac_incoming_mail_filters`
#2185 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2186 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2187 - info - DROP TABLE `ac_incoming_mailboxes`
#2188 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2189 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2190 - info - DROP TABLE `ac_incoming_mails`
#2191 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2192 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2193 - info - DROP TABLE `ac_homescreen_tabs`
#2194 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2195 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2196 - info - DROP TABLE `ac_homescreen_widgets`
#2197 - info - SHOW TABLES LIKE 'ac_announcements'
#2198 - info - SHOW TABLES LIKE 'ac_announcements'
#2199 - info - DROP TABLE `ac_announcements`
#2200 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2201 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2202 - info - DROP TABLE `ac_announcement_target_ids`
#2203 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2204 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2205 - info - DROP TABLE `ac_announcement_dismissals`
#2206 - info - SHOW TABLES LIKE 'ac_attachments'
#2207 - info - SHOW TABLES LIKE 'ac_attachments'
#2208 - info - DROP TABLE `ac_attachments`
#2209 - info - SHOW TABLES LIKE 'ac_notifications'
#2210 - info - SHOW TABLES LIKE 'ac_notifications'
#2211 - info - DROP TABLE `ac_notifications`
#2212 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2213 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2214 - info - DROP TABLE `ac_notification_recipients`
#2215 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2216 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2217 - info - DROP TABLE `ac_subscriptions`
#2218 - info - SHOW TABLES LIKE 'ac_comments'
#2219 - info - SHOW TABLES LIKE 'ac_comments'
#2220 - info - DROP TABLE `ac_comments`
#2221 - info - SHOW TABLES LIKE 'ac_categories'
#2222 - info - SHOW TABLES LIKE 'ac_categories'
#2223 - info - DROP TABLE `ac_categories`
#2224 - info - SHOW TABLES LIKE 'ac_labels'
#2225 - info - SHOW TABLES LIKE 'ac_labels'
#2226 - info - DROP TABLE `ac_labels`
#2227 - info - SHOW TABLES LIKE 'ac_assignments'
#2228 - info - SHOW TABLES LIKE 'ac_assignments'
#2229 - info - DROP TABLE `ac_assignments`
#2230 - info - SHOW TABLES LIKE 'ac_subtasks'
#2231 - info - SHOW TABLES LIKE 'ac_subtasks'
#2232 - info - DROP TABLE `ac_subtasks`
#2233 - info - SHOW TABLES LIKE 'ac_favorites'
#2234 - info - SHOW TABLES LIKE 'ac_favorites'
#2235 - info - DROP TABLE `ac_favorites`
#2236 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2237 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2238 - info - DROP TABLE `ac_code_snippets`
#2239 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2240 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2241 - info - DROP TABLE `ac_payment_gateways`
#2242 - info - SHOW TABLES LIKE 'ac_payments'
#2243 - info - SHOW TABLES LIKE 'ac_payments'
#2244 - info - DROP TABLE `ac_payments`
#2245 - info - SHOW TABLES LIKE 'ac_reminders'
#2246 - info - SHOW TABLES LIKE 'ac_reminders'
#2247 - info - DROP TABLE `ac_reminders`
#2248 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2249 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2250 - info - DROP TABLE `ac_reminder_users`
#2251 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2252 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2253 - info - DROP TABLE `ac_custom_fields`
#2254 - info - SHOW TABLES LIKE 'ac_calendars'
#2255 - info - SHOW TABLES LIKE 'ac_calendars'
#2256 - info - DROP TABLE `ac_calendars`
#2257 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2258 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2259 - info - DROP TABLE `ac_calendar_events`
#2260 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2261 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2262 - info - DROP TABLE `ac_calendar_users`
#2263 - info - SHOW TABLES LIKE 'ac_data_sources'
#2264 - info - SHOW TABLES LIKE 'ac_data_sources'
#2265 - info - DROP TABLE `ac_data_sources`
#2266 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2267 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2268 - info - DROP TABLE `ac_data_source_mappings`
#2269 - info - SHOW TABLES LIKE 'ac_companies'
#2270 - info - SHOW TABLES LIKE 'ac_companies'
#2271 - info - DROP TABLE `ac_companies`
#2272 - info - SHOW TABLES LIKE 'ac_projects'
#2273 - info - SHOW TABLES LIKE 'ac_projects'
#2274 - info - DROP TABLE `ac_projects`
#2275 - info - SHOW TABLES LIKE 'ac_project_roles'
#2276 - info - SHOW TABLES LIKE 'ac_project_roles'
#2277 - info - DROP TABLE `ac_project_roles`
#2278 - info - SHOW TABLES LIKE 'ac_project_users'
#2279 - info - SHOW TABLES LIKE 'ac_project_users'
#2280 - info - DROP TABLE `ac_project_users`
#2281 - info - SHOW TABLES LIKE 'ac_project_requests'
#2282 - info - SHOW TABLES LIKE 'ac_project_requests'
#2283 - info - DROP TABLE `ac_project_requests`
#2284 - info - SHOW TABLES LIKE 'ac_project_objects'
#2285 - info - SHOW TABLES LIKE 'ac_project_objects'
#2286 - info - DROP TABLE `ac_project_objects`
#2287 - info - SHOW TABLES LIKE 'ac_project_templates'
#2288 - info - SHOW TABLES LIKE 'ac_project_templates'
#2289 - info - DROP TABLE `ac_project_templates`
#2290 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2291 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2292 - info - DROP TABLE `ac_project_object_templates`
#2293 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2294 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2295 - info - DROP TABLE `ac_shared_object_profiles`
#2296 - info - SHOW TABLES LIKE 'ac_file_versions'
#2297 - info - SHOW TABLES LIKE 'ac_file_versions'
#2298 - info - DROP TABLE `ac_file_versions`
#2299 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2300 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2301 - info - DROP TABLE `ac_text_document_versions`
#2302 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2303 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2304 - info - DROP TABLE `ac_public_task_forms`
#2305 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2306 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2307 - info - DROP TABLE `ac_related_tasks`
#2308 - info - SHOW TABLES LIKE 'ac_task_segments'
#2309 - info - SHOW TABLES LIKE 'ac_task_segments'
#2310 - info - DROP TABLE `ac_task_segments`
#2311 - info - SHOW TABLES LIKE 'ac_status_updates'
#2312 - info - SHOW TABLES LIKE 'ac_status_updates'
#2313 - info - DROP TABLE `ac_status_updates`
#2314 - info - SHOW TABLES LIKE 'ac_documents'
#2315 - info - SHOW TABLES LIKE 'ac_documents'
#2316 - info - DROP TABLE `ac_documents`
#2317 - info - SHOW TABLES LIKE 'ac_time_records'
#2318 - info - SHOW TABLES LIKE 'ac_time_records'
#2319 - info - DROP TABLE `ac_time_records`
#2320 - info - SHOW TABLES LIKE 'ac_job_types'
#2321 - info - SHOW TABLES LIKE 'ac_job_types'
#2322 - info - DROP TABLE `ac_job_types`
#2323 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2324 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2325 - info - DROP TABLE `ac_project_hourly_rates`
#2326 - info - SHOW TABLES LIKE 'ac_expenses'
#2327 - info - SHOW TABLES LIKE 'ac_expenses'
#2328 - info - DROP TABLE `ac_expenses`
#2329 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2330 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2331 - info - DROP TABLE `ac_expense_categories`
#2332 - info - SHOW TABLES LIKE 'ac_estimates'
#2333 - info - SHOW TABLES LIKE 'ac_estimates'
#2334 - info - DROP TABLE `ac_estimates`
#2335 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2336 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2337 - info - DROP TABLE `ac_invoice_objects`
#2338 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2339 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2340 - info - DROP TABLE `ac_invoice_object_items`
#2341 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2342 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2343 - info - DROP TABLE `ac_invoice_item_templates`
#2344 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2345 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2346 - info - DROP TABLE `ac_invoice_note_templates`
#2347 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2348 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2349 - info - DROP TABLE `ac_invoice_related_records`
#2350 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2351 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2352 - info - DROP TABLE `ac_tax_rates`
#2353 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2354 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2355 - info - DROP TABLE `ac_notebook_pages`
#2356 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2357 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2358 - info - DROP TABLE `ac_notebook_page_versions`
#2359 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2360 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2361 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2362 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2363 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2364 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2365 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2366 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2367 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2368 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2369 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2370 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2371 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2372 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2373 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2374 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2375 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2376 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2377 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2378 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2379 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2380 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2381 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2382 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2383 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2384 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2385 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2386 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2387 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2388 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2389 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2390 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2391 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2392 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2393 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2394 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2395 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2396 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2397 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2398 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2399 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2400 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2401 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2402 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2403 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2404 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2405 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2406 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2407 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2408 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2409 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2410 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2411 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2412 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2413 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2414 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2415 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2416 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2417 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2418 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2419 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2420 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2421 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2422 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2423 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2424 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2425 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2426 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2427 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2428 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2429 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2430 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2431 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2432 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2433 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2434 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2435 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2436 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2437 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2438 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2439 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2440 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2441 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2442 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2443 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2444 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2480 - info - BEGIN WORK
#2481 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2482 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2483 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2484 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2485 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2486 - info - COMMIT
#2487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2514 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2515 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2516 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2517 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2518 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2519 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2520 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2521 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2522 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2523 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2524 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2525 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2526 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2527 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395657;')
#2541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2553 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2554 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2555 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2557 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2560 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2562 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2563 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2564 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2565 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2566 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2567 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2568 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2571 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#2572 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#2573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#2574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#2575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#2576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#2577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#2578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#2579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#2580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#2581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#2582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#2583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#2584 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#2585 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#2586 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#2587 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#2588 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:57', '1')
#2589 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2590 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2591 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2592 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#2594 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#2596 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#2598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#2599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#2600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#2601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#2602 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#2603 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#2604 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#2605 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#2607 - info - BEGIN WORK
#2608 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#2609 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#2610 - info - COMMIT
#2611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#2612 - info - BEGIN WORK
#2613 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2614 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#2615 - info - COMMIT
#2616 - info - BEGIN WORK
#2617 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2618 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#2619 - info - COMMIT
#2620 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2621 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2622 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#2623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#2624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#2625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#2626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#2627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#2628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#2629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#2630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#2631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#2632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#2633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#2634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#2635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#2636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#2637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#2638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#2639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#2640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#2641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#2642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#2643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#2644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#2645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#2646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#2647 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#2648 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#2649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#2650 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#2651 - info - SHOW TABLES LIKE 'ac_job_types'
#2652 - info - SELECT COUNT(id) FROM ac_job_types
#2653 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2654 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#2655 - info - BEGIN WORK
#2656 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#2657 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#2658 - info - COMMIT
#2659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#2660 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2661 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2662 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#2663 - info - SELECT COUNT(name) FROM ac_modules
#2664 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#2665 - info - SELECT name FROM ac_modules
#2666 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#2667 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#2668 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#2669 - info - Cache hit 'config_values'
#2670 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#2671 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#2672 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#2673 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#2674 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#2675 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#2676 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#2677 - info - BEGIN WORK
#2678 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#2679 - info - Cache hit 'config_values'
#2680 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#2681 - info - UPDATE ac_config_options SET value = 'i:1387395657;' WHERE name = 'search_initialized_on'
#2682 - info - COMMIT
#2683 - info - Cache miss 'models/users/1'
#2684 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#2685 - info - SELECT COUNT(*) FROM  ac_config_options
#2686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'i:12;')
#2687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 2', 'N;')
#2688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 's:9:\"something\";')
#2689 - info - SELECT COUNT(*) FROM  ac_config_options
#2690 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2691 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2692 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2693 - info - BEGIN WORK
#2694 - info - Transaction level increased to 1. Message: Begin Work: Removing config option
#2695 - info - DELETE FROM ac_config_options WHERE name = 'Option 2'
#2696 - info - DELETE FROM ac_config_option_values WHERE name = 'Option 2'
#2697 - info - COMMIT
#2698 - info - SELECT COUNT(*) FROM  ac_config_options
#2699 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2700 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2701 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2702 - info - BEGIN WORK
#2703 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#2704 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#2705 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 3')
#2706 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3')
#2707 - info - COMMIT
#2708 - info - SELECT COUNT(*) FROM  ac_config_options
#2709 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2710 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2711 - info - SHOW TABLES LIKE 'ac_config_options'
#2712 - info - SHOW TABLES LIKE 'ac_config_options'
#2713 - info - DROP TABLE `ac_config_options`
#2714 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2715 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2716 - info - DROP TABLE `ac_config_option_values`
#2717 - info - SHOW TABLES LIKE 'ac_modules'
#2718 - info - SHOW TABLES LIKE 'ac_modules'
#2719 - info - DROP TABLE `ac_modules`
#2720 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2721 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2722 - info - DROP TABLE `ac_executed_model_migrations`
#2723 - info - SHOW TABLES LIKE 'ac_update_history'
#2724 - info - SHOW TABLES LIKE 'ac_update_history'
#2725 - info - DROP TABLE `ac_update_history`
#2726 - info - SHOW TABLES LIKE 'ac_access_logs'
#2727 - info - SHOW TABLES LIKE 'ac_access_logs'
#2728 - info - DROP TABLE `ac_access_logs`
#2729 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2730 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2731 - info - DROP TABLE `ac_access_logs_archive`
#2732 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2733 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2734 - info - DROP TABLE `ac_object_contexts`
#2735 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2736 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2737 - info - DROP TABLE `ac_routing_cache`
#2738 - info - SHOW TABLES LIKE 'ac_currencies'
#2739 - info - SHOW TABLES LIKE 'ac_currencies'
#2740 - info - DROP TABLE `ac_currencies`
#2741 - info - SHOW TABLES LIKE 'ac_day_offs'
#2742 - info - SHOW TABLES LIKE 'ac_day_offs'
#2743 - info - DROP TABLE `ac_day_offs`
#2744 - info - SHOW TABLES LIKE 'ac_languages'
#2745 - info - SHOW TABLES LIKE 'ac_languages'
#2746 - info - DROP TABLE `ac_languages`
#2747 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2748 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2749 - info - DROP TABLE `ac_language_phrases`
#2750 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2751 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2752 - info - DROP TABLE `ac_language_phrase_translations`
#2753 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2754 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2755 - info - DROP TABLE `ac_api_client_subscriptions`
#2756 - info - SHOW TABLES LIKE 'ac_users'
#2757 - info - SHOW TABLES LIKE 'ac_users'
#2758 - info - DROP TABLE `ac_users`
#2759 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2760 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2761 - info - DROP TABLE `ac_user_addresses`
#2762 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2763 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2764 - info - DROP TABLE `ac_user_sessions`
#2765 - info - SHOW TABLES LIKE 'ac_security_logs'
#2766 - info - SHOW TABLES LIKE 'ac_security_logs'
#2767 - info - DROP TABLE `ac_security_logs`
#2768 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2769 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2770 - info - DROP TABLE `ac_api_token_logs`
#2771 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2772 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2773 - info - DROP TABLE `ac_activity_logs`
#2774 - info - SHOW TABLES LIKE 'ac_data_filters'
#2775 - info - SHOW TABLES LIKE 'ac_data_filters'
#2776 - info - DROP TABLE `ac_data_filters`
#2777 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2778 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2779 - info - DROP TABLE `ac_modification_logs`
#2780 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2781 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2782 - info - DROP TABLE `ac_modification_log_values`
#2783 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2784 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2785 - info - DROP TABLE `ac_mailing_activity_logs`
#2786 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2787 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2788 - info - DROP TABLE `ac_outgoing_messages`
#2789 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2790 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2791 - info - DROP TABLE `ac_incoming_mail_attachments`
#2792 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2793 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2794 - info - DROP TABLE `ac_incoming_mail_filters`
#2795 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2796 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2797 - info - DROP TABLE `ac_incoming_mailboxes`
#2798 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2799 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2800 - info - DROP TABLE `ac_incoming_mails`
#2801 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2802 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2803 - info - DROP TABLE `ac_homescreen_tabs`
#2804 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2805 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2806 - info - DROP TABLE `ac_homescreen_widgets`
#2807 - info - SHOW TABLES LIKE 'ac_announcements'
#2808 - info - SHOW TABLES LIKE 'ac_announcements'
#2809 - info - DROP TABLE `ac_announcements`
#2810 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2811 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2812 - info - DROP TABLE `ac_announcement_target_ids`
#2813 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2814 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2815 - info - DROP TABLE `ac_announcement_dismissals`
#2816 - info - SHOW TABLES LIKE 'ac_attachments'
#2817 - info - SHOW TABLES LIKE 'ac_attachments'
#2818 - info - DROP TABLE `ac_attachments`
#2819 - info - SHOW TABLES LIKE 'ac_notifications'
#2820 - info - SHOW TABLES LIKE 'ac_notifications'
#2821 - info - DROP TABLE `ac_notifications`
#2822 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2823 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2824 - info - DROP TABLE `ac_notification_recipients`
#2825 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2826 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2827 - info - DROP TABLE `ac_subscriptions`
#2828 - info - SHOW TABLES LIKE 'ac_comments'
#2829 - info - SHOW TABLES LIKE 'ac_comments'
#2830 - info - DROP TABLE `ac_comments`
#2831 - info - SHOW TABLES LIKE 'ac_categories'
#2832 - info - SHOW TABLES LIKE 'ac_categories'
#2833 - info - DROP TABLE `ac_categories`
#2834 - info - SHOW TABLES LIKE 'ac_labels'
#2835 - info - SHOW TABLES LIKE 'ac_labels'
#2836 - info - DROP TABLE `ac_labels`
#2837 - info - SHOW TABLES LIKE 'ac_assignments'
#2838 - info - SHOW TABLES LIKE 'ac_assignments'
#2839 - info - DROP TABLE `ac_assignments`
#2840 - info - SHOW TABLES LIKE 'ac_subtasks'
#2841 - info - SHOW TABLES LIKE 'ac_subtasks'
#2842 - info - DROP TABLE `ac_subtasks`
#2843 - info - SHOW TABLES LIKE 'ac_favorites'
#2844 - info - SHOW TABLES LIKE 'ac_favorites'
#2845 - info - DROP TABLE `ac_favorites`
#2846 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2847 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2848 - info - DROP TABLE `ac_code_snippets`
#2849 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2850 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2851 - info - DROP TABLE `ac_payment_gateways`
#2852 - info - SHOW TABLES LIKE 'ac_payments'
#2853 - info - SHOW TABLES LIKE 'ac_payments'
#2854 - info - DROP TABLE `ac_payments`
#2855 - info - SHOW TABLES LIKE 'ac_reminders'
#2856 - info - SHOW TABLES LIKE 'ac_reminders'
#2857 - info - DROP TABLE `ac_reminders`
#2858 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2859 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2860 - info - DROP TABLE `ac_reminder_users`
#2861 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2862 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2863 - info - DROP TABLE `ac_custom_fields`
#2864 - info - SHOW TABLES LIKE 'ac_calendars'
#2865 - info - SHOW TABLES LIKE 'ac_calendars'
#2866 - info - DROP TABLE `ac_calendars`
#2867 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2868 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2869 - info - DROP TABLE `ac_calendar_events`
#2870 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2871 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2872 - info - DROP TABLE `ac_calendar_users`
#2873 - info - SHOW TABLES LIKE 'ac_data_sources'
#2874 - info - SHOW TABLES LIKE 'ac_data_sources'
#2875 - info - DROP TABLE `ac_data_sources`
#2876 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2877 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2878 - info - DROP TABLE `ac_data_source_mappings`
#2879 - info - SHOW TABLES LIKE 'ac_companies'
#2880 - info - SHOW TABLES LIKE 'ac_companies'
#2881 - info - DROP TABLE `ac_companies`
#2882 - info - SHOW TABLES LIKE 'ac_projects'
#2883 - info - SHOW TABLES LIKE 'ac_projects'
#2884 - info - DROP TABLE `ac_projects`
#2885 - info - SHOW TABLES LIKE 'ac_project_roles'
#2886 - info - SHOW TABLES LIKE 'ac_project_roles'
#2887 - info - DROP TABLE `ac_project_roles`
#2888 - info - SHOW TABLES LIKE 'ac_project_users'
#2889 - info - SHOW TABLES LIKE 'ac_project_users'
#2890 - info - DROP TABLE `ac_project_users`
#2891 - info - SHOW TABLES LIKE 'ac_project_requests'
#2892 - info - SHOW TABLES LIKE 'ac_project_requests'
#2893 - info - DROP TABLE `ac_project_requests`
#2894 - info - SHOW TABLES LIKE 'ac_project_objects'
#2895 - info - SHOW TABLES LIKE 'ac_project_objects'
#2896 - info - DROP TABLE `ac_project_objects`
#2897 - info - SHOW TABLES LIKE 'ac_project_templates'
#2898 - info - SHOW TABLES LIKE 'ac_project_templates'
#2899 - info - DROP TABLE `ac_project_templates`
#2900 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2901 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2902 - info - DROP TABLE `ac_project_object_templates`
#2903 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2904 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2905 - info - DROP TABLE `ac_shared_object_profiles`
#2906 - info - SHOW TABLES LIKE 'ac_file_versions'
#2907 - info - SHOW TABLES LIKE 'ac_file_versions'
#2908 - info - DROP TABLE `ac_file_versions`
#2909 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2910 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2911 - info - DROP TABLE `ac_text_document_versions`
#2912 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2913 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2914 - info - DROP TABLE `ac_public_task_forms`
#2915 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2916 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2917 - info - DROP TABLE `ac_related_tasks`
#2918 - info - SHOW TABLES LIKE 'ac_task_segments'
#2919 - info - SHOW TABLES LIKE 'ac_task_segments'
#2920 - info - DROP TABLE `ac_task_segments`
#2921 - info - SHOW TABLES LIKE 'ac_status_updates'
#2922 - info - SHOW TABLES LIKE 'ac_status_updates'
#2923 - info - DROP TABLE `ac_status_updates`
#2924 - info - SHOW TABLES LIKE 'ac_documents'
#2925 - info - SHOW TABLES LIKE 'ac_documents'
#2926 - info - DROP TABLE `ac_documents`
#2927 - info - SHOW TABLES LIKE 'ac_time_records'
#2928 - info - SHOW TABLES LIKE 'ac_time_records'
#2929 - info - DROP TABLE `ac_time_records`
#2930 - info - SHOW TABLES LIKE 'ac_job_types'
#2931 - info - SHOW TABLES LIKE 'ac_job_types'
#2932 - info - DROP TABLE `ac_job_types`
#2933 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2934 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2935 - info - DROP TABLE `ac_project_hourly_rates`
#2936 - info - SHOW TABLES LIKE 'ac_expenses'
#2937 - info - SHOW TABLES LIKE 'ac_expenses'
#2938 - info - DROP TABLE `ac_expenses`
#2939 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2940 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2941 - info - DROP TABLE `ac_expense_categories`
#2942 - info - SHOW TABLES LIKE 'ac_estimates'
#2943 - info - SHOW TABLES LIKE 'ac_estimates'
#2944 - info - DROP TABLE `ac_estimates`
#2945 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2946 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2947 - info - DROP TABLE `ac_invoice_objects`
#2948 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2949 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2950 - info - DROP TABLE `ac_invoice_object_items`
#2951 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2952 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2953 - info - DROP TABLE `ac_invoice_item_templates`
#2954 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2955 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2956 - info - DROP TABLE `ac_invoice_note_templates`
#2957 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2958 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2959 - info - DROP TABLE `ac_invoice_related_records`
#2960 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2961 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2962 - info - DROP TABLE `ac_tax_rates`
#2963 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2964 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2965 - info - DROP TABLE `ac_notebook_pages`
#2966 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2967 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2968 - info - DROP TABLE `ac_notebook_page_versions`
#2969 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2970 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2971 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2972 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2973 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2974 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2975 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2976 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2977 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2978 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2979 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2980 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2981 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2982 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2983 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2984 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2985 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2986 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2987 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2988 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2989 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2990 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2991 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2992 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2993 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2994 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2995 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2996 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2997 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2998 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2999 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3000 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3001 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3002 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3003 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3004 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3005 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3006 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3007 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3008 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3009 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3010 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3011 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3012 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3013 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3014 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3015 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3016 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3017 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3018 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3019 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3020 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3021 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3022 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3023 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3024 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3025 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3026 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3027 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3028 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3029 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3030 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3031 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3032 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3033 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3034 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3035 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3036 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3037 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3038 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3039 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3040 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3041 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3042 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3043 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3044 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3045 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3046 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3047 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3048 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3049 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3050 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3051 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3052 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3053 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3054 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3056 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3058 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3059 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3082 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3083 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3084 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3085 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3086 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3087 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3090 - info - BEGIN WORK
#3091 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3092 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3093 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3094 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3095 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3096 - info - COMMIT
#3097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3098 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3100 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3101 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3102 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3103 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3105 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3106 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3107 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3108 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3109 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3110 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3111 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3112 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3113 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3114 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3115 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3117 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3119 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3121 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3122 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3124 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3125 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3126 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3127 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3128 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3129 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3130 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3131 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3132 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3133 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3134 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3135 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3136 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3137 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3145 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3146 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3147 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3148 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3149 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395657;')
#3151 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3153 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3154 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3155 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3156 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3157 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3158 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3159 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3160 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3162 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3163 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3164 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3165 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3166 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3167 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3168 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3169 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3170 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3171 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3175 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3176 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3177 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3178 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3180 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3181 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3182 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3183 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3184 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3185 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3186 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3187 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3188 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3189 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3190 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3191 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3192 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3193 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3194 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3195 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3196 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3197 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3198 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:57', '1')
#3199 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3200 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3201 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3202 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3203 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3204 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3205 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3206 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3207 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3208 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3209 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3210 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3211 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3212 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3213 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3214 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3215 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3216 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3217 - info - BEGIN WORK
#3218 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3219 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3220 - info - COMMIT
#3221 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3222 - info - BEGIN WORK
#3223 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3224 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3225 - info - COMMIT
#3226 - info - BEGIN WORK
#3227 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3228 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3229 - info - COMMIT
#3230 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3231 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3232 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3233 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3234 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3235 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3236 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3237 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3238 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3239 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3240 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3241 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3242 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3243 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3244 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3245 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3246 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3247 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3248 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3249 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3250 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3251 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3252 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3253 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3254 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3255 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3256 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3257 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3258 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3259 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3260 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3261 - info - SHOW TABLES LIKE 'ac_job_types'
#3262 - info - SELECT COUNT(id) FROM ac_job_types
#3263 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3264 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3265 - info - BEGIN WORK
#3266 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3267 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3268 - info - COMMIT
#3269 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3270 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3271 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3272 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3273 - info - SELECT COUNT(name) FROM ac_modules
#3274 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3275 - info - SELECT name FROM ac_modules
#3276 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3277 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3278 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3279 - info - Cache miss 'config_values'
#3280 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3281 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3282 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3283 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3284 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3285 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3286 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3287 - info - BEGIN WORK
#3288 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3289 - info - Cache hit 'config_values'
#3290 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3291 - info - UPDATE ac_config_options SET value = 'i:1387395657;' WHERE name = 'search_initialized_on'
#3292 - info - COMMIT
#3293 - info - Cache miss 'models/users/1'
#3294 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3295 - info - SELECT COUNT(*) FROM  ac_config_options
#3296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'N;')
#3297 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 1', 'N;')
#3298 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 'N;')
#3299 - info - SELECT COUNT(*) FROM ac_config_options
#3300 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3301 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3302 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3303 - info - BEGIN WORK
#3304 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3305 - info - Cache miss 'config_values'
#3306 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3307 - info - UPDATE ac_config_options SET value = 's:7:\"Value 1\";' WHERE name = 'Option 1'
#3308 - info - COMMIT
#3309 - info - BEGIN WORK
#3310 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3311 - info - Cache hit 'config_values'
#3312 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3313 - info - UPDATE ac_config_options SET value = 's:7:\"Value 2\";' WHERE name = 'Option 2'
#3314 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3315 - info - UPDATE ac_config_options SET value = 's:7:\"Value 3\";' WHERE name = 'Option 3'
#3316 - info - COMMIT
#3317 - info - Cache hit 'config_values'
#3318 - info - Cache hit 'config_values'
#3319 - info - Cache hit 'config_values'
#3320 - info - Cache hit 'config_values'
#3321 - info - BEGIN WORK
#3322 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#3323 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#3324 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3325 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3326 - info - COMMIT
#3327 - info - SELECT COUNT(*) FROM ac_config_options
#3328 - info - SHOW TABLES LIKE 'ac_config_options'
#3329 - info - SHOW TABLES LIKE 'ac_config_options'
#3330 - info - DROP TABLE `ac_config_options`
#3331 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3332 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3333 - info - DROP TABLE `ac_config_option_values`
#3334 - info - SHOW TABLES LIKE 'ac_modules'
#3335 - info - SHOW TABLES LIKE 'ac_modules'
#3336 - info - DROP TABLE `ac_modules`
#3337 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3338 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3339 - info - DROP TABLE `ac_executed_model_migrations`
#3340 - info - SHOW TABLES LIKE 'ac_update_history'
#3341 - info - SHOW TABLES LIKE 'ac_update_history'
#3342 - info - DROP TABLE `ac_update_history`
#3343 - info - SHOW TABLES LIKE 'ac_access_logs'
#3344 - info - SHOW TABLES LIKE 'ac_access_logs'
#3345 - info - DROP TABLE `ac_access_logs`
#3346 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3347 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3348 - info - DROP TABLE `ac_access_logs_archive`
#3349 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3350 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3351 - info - DROP TABLE `ac_object_contexts`
#3352 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3353 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3354 - info - DROP TABLE `ac_routing_cache`
#3355 - info - SHOW TABLES LIKE 'ac_currencies'
#3356 - info - SHOW TABLES LIKE 'ac_currencies'
#3357 - info - DROP TABLE `ac_currencies`
#3358 - info - SHOW TABLES LIKE 'ac_day_offs'
#3359 - info - SHOW TABLES LIKE 'ac_day_offs'
#3360 - info - DROP TABLE `ac_day_offs`
#3361 - info - SHOW TABLES LIKE 'ac_languages'
#3362 - info - SHOW TABLES LIKE 'ac_languages'
#3363 - info - DROP TABLE `ac_languages`
#3364 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3365 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3366 - info - DROP TABLE `ac_language_phrases`
#3367 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3368 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3369 - info - DROP TABLE `ac_language_phrase_translations`
#3370 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3371 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3372 - info - DROP TABLE `ac_api_client_subscriptions`
#3373 - info - SHOW TABLES LIKE 'ac_users'
#3374 - info - SHOW TABLES LIKE 'ac_users'
#3375 - info - DROP TABLE `ac_users`
#3376 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3377 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3378 - info - DROP TABLE `ac_user_addresses`
#3379 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3380 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3381 - info - DROP TABLE `ac_user_sessions`
#3382 - info - SHOW TABLES LIKE 'ac_security_logs'
#3383 - info - SHOW TABLES LIKE 'ac_security_logs'
#3384 - info - DROP TABLE `ac_security_logs`
#3385 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3386 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3387 - info - DROP TABLE `ac_api_token_logs`
#3388 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3389 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3390 - info - DROP TABLE `ac_activity_logs`
#3391 - info - SHOW TABLES LIKE 'ac_data_filters'
#3392 - info - SHOW TABLES LIKE 'ac_data_filters'
#3393 - info - DROP TABLE `ac_data_filters`
#3394 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3395 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3396 - info - DROP TABLE `ac_modification_logs`
#3397 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3398 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3399 - info - DROP TABLE `ac_modification_log_values`
#3400 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3401 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3402 - info - DROP TABLE `ac_mailing_activity_logs`
#3403 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3404 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3405 - info - DROP TABLE `ac_outgoing_messages`
#3406 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3407 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3408 - info - DROP TABLE `ac_incoming_mail_attachments`
#3409 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3410 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3411 - info - DROP TABLE `ac_incoming_mail_filters`
#3412 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3413 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3414 - info - DROP TABLE `ac_incoming_mailboxes`
#3415 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3416 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3417 - info - DROP TABLE `ac_incoming_mails`
#3418 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3419 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3420 - info - DROP TABLE `ac_homescreen_tabs`
#3421 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3422 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3423 - info - DROP TABLE `ac_homescreen_widgets`
#3424 - info - SHOW TABLES LIKE 'ac_announcements'
#3425 - info - SHOW TABLES LIKE 'ac_announcements'
#3426 - info - DROP TABLE `ac_announcements`
#3427 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3428 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3429 - info - DROP TABLE `ac_announcement_target_ids`
#3430 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3431 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3432 - info - DROP TABLE `ac_announcement_dismissals`
#3433 - info - SHOW TABLES LIKE 'ac_attachments'
#3434 - info - SHOW TABLES LIKE 'ac_attachments'
#3435 - info - DROP TABLE `ac_attachments`
#3436 - info - SHOW TABLES LIKE 'ac_notifications'
#3437 - info - SHOW TABLES LIKE 'ac_notifications'
#3438 - info - DROP TABLE `ac_notifications`
#3439 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3440 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3441 - info - DROP TABLE `ac_notification_recipients`
#3442 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3443 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3444 - info - DROP TABLE `ac_subscriptions`
#3445 - info - SHOW TABLES LIKE 'ac_comments'
#3446 - info - SHOW TABLES LIKE 'ac_comments'
#3447 - info - DROP TABLE `ac_comments`
#3448 - info - SHOW TABLES LIKE 'ac_categories'
#3449 - info - SHOW TABLES LIKE 'ac_categories'
#3450 - info - DROP TABLE `ac_categories`
#3451 - info - SHOW TABLES LIKE 'ac_labels'
#3452 - info - SHOW TABLES LIKE 'ac_labels'
#3453 - info - DROP TABLE `ac_labels`
#3454 - info - SHOW TABLES LIKE 'ac_assignments'
#3455 - info - SHOW TABLES LIKE 'ac_assignments'
#3456 - info - DROP TABLE `ac_assignments`
#3457 - info - SHOW TABLES LIKE 'ac_subtasks'
#3458 - info - SHOW TABLES LIKE 'ac_subtasks'
#3459 - info - DROP TABLE `ac_subtasks`
#3460 - info - SHOW TABLES LIKE 'ac_favorites'
#3461 - info - SHOW TABLES LIKE 'ac_favorites'
#3462 - info - DROP TABLE `ac_favorites`
#3463 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3464 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3465 - info - DROP TABLE `ac_code_snippets`
#3466 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3467 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3468 - info - DROP TABLE `ac_payment_gateways`
#3469 - info - SHOW TABLES LIKE 'ac_payments'
#3470 - info - SHOW TABLES LIKE 'ac_payments'
#3471 - info - DROP TABLE `ac_payments`
#3472 - info - SHOW TABLES LIKE 'ac_reminders'
#3473 - info - SHOW TABLES LIKE 'ac_reminders'
#3474 - info - DROP TABLE `ac_reminders`
#3475 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3476 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3477 - info - DROP TABLE `ac_reminder_users`
#3478 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3479 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3480 - info - DROP TABLE `ac_custom_fields`
#3481 - info - SHOW TABLES LIKE 'ac_calendars'
#3482 - info - SHOW TABLES LIKE 'ac_calendars'
#3483 - info - DROP TABLE `ac_calendars`
#3484 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3485 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3486 - info - DROP TABLE `ac_calendar_events`
#3487 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3488 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3489 - info - DROP TABLE `ac_calendar_users`
#3490 - info - SHOW TABLES LIKE 'ac_data_sources'
#3491 - info - SHOW TABLES LIKE 'ac_data_sources'
#3492 - info - DROP TABLE `ac_data_sources`
#3493 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3494 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3495 - info - DROP TABLE `ac_data_source_mappings`
#3496 - info - SHOW TABLES LIKE 'ac_companies'
#3497 - info - SHOW TABLES LIKE 'ac_companies'
#3498 - info - DROP TABLE `ac_companies`
#3499 - info - SHOW TABLES LIKE 'ac_projects'
#3500 - info - SHOW TABLES LIKE 'ac_projects'
#3501 - info - DROP TABLE `ac_projects`
#3502 - info - SHOW TABLES LIKE 'ac_project_roles'
#3503 - info - SHOW TABLES LIKE 'ac_project_roles'
#3504 - info - DROP TABLE `ac_project_roles`
#3505 - info - SHOW TABLES LIKE 'ac_project_users'
#3506 - info - SHOW TABLES LIKE 'ac_project_users'
#3507 - info - DROP TABLE `ac_project_users`
#3508 - info - SHOW TABLES LIKE 'ac_project_requests'
#3509 - info - SHOW TABLES LIKE 'ac_project_requests'
#3510 - info - DROP TABLE `ac_project_requests`
#3511 - info - SHOW TABLES LIKE 'ac_project_objects'
#3512 - info - SHOW TABLES LIKE 'ac_project_objects'
#3513 - info - DROP TABLE `ac_project_objects`
#3514 - info - SHOW TABLES LIKE 'ac_project_templates'
#3515 - info - SHOW TABLES LIKE 'ac_project_templates'
#3516 - info - DROP TABLE `ac_project_templates`
#3517 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3518 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3519 - info - DROP TABLE `ac_project_object_templates`
#3520 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3521 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3522 - info - DROP TABLE `ac_shared_object_profiles`
#3523 - info - SHOW TABLES LIKE 'ac_file_versions'
#3524 - info - SHOW TABLES LIKE 'ac_file_versions'
#3525 - info - DROP TABLE `ac_file_versions`
#3526 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3527 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3528 - info - DROP TABLE `ac_text_document_versions`
#3529 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3530 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3531 - info - DROP TABLE `ac_public_task_forms`
#3532 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3533 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3534 - info - DROP TABLE `ac_related_tasks`
#3535 - info - SHOW TABLES LIKE 'ac_task_segments'
#3536 - info - SHOW TABLES LIKE 'ac_task_segments'
#3537 - info - DROP TABLE `ac_task_segments`
#3538 - info - SHOW TABLES LIKE 'ac_status_updates'
#3539 - info - SHOW TABLES LIKE 'ac_status_updates'
#3540 - info - DROP TABLE `ac_status_updates`
#3541 - info - SHOW TABLES LIKE 'ac_documents'
#3542 - info - SHOW TABLES LIKE 'ac_documents'
#3543 - info - DROP TABLE `ac_documents`
#3544 - info - SHOW TABLES LIKE 'ac_time_records'
#3545 - info - SHOW TABLES LIKE 'ac_time_records'
#3546 - info - DROP TABLE `ac_time_records`
#3547 - info - SHOW TABLES LIKE 'ac_job_types'
#3548 - info - SHOW TABLES LIKE 'ac_job_types'
#3549 - info - DROP TABLE `ac_job_types`
#3550 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3551 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3552 - info - DROP TABLE `ac_project_hourly_rates`
#3553 - info - SHOW TABLES LIKE 'ac_expenses'
#3554 - info - SHOW TABLES LIKE 'ac_expenses'
#3555 - info - DROP TABLE `ac_expenses`
#3556 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3557 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3558 - info - DROP TABLE `ac_expense_categories`
#3559 - info - SHOW TABLES LIKE 'ac_estimates'
#3560 - info - SHOW TABLES LIKE 'ac_estimates'
#3561 - info - DROP TABLE `ac_estimates`
#3562 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3563 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3564 - info - DROP TABLE `ac_invoice_objects`
#3565 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3566 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3567 - info - DROP TABLE `ac_invoice_object_items`
#3568 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3569 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3570 - info - DROP TABLE `ac_invoice_item_templates`
#3571 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3572 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3573 - info - DROP TABLE `ac_invoice_note_templates`
#3574 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3575 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3576 - info - DROP TABLE `ac_invoice_related_records`
#3577 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3578 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3579 - info - DROP TABLE `ac_tax_rates`
#3580 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3581 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3582 - info - DROP TABLE `ac_notebook_pages`
#3583 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3584 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3585 - info - DROP TABLE `ac_notebook_page_versions`
#3586 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3587 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3588 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3589 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3590 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3591 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3592 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3593 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3594 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3595 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3596 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3597 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3598 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3599 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3600 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3601 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3602 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3603 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3604 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3605 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3606 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3607 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3608 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3609 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3610 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3611 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3612 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3613 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3614 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3615 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3616 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3617 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3618 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3619 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3620 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3621 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3622 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3623 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3624 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3625 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3626 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3627 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3628 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3629 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3630 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3631 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3632 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3633 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3634 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3635 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3636 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3637 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3638 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3639 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3640 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3641 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3642 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3643 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3644 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3645 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3646 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3647 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3648 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3649 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3650 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3651 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3652 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3653 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3654 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3655 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3656 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3657 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3658 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3659 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3660 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3661 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3662 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3663 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3664 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3665 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3666 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3667 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3668 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3669 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3670 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3671 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3697 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3698 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3699 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3700 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3701 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3702 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3703 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3704 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3705 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3707 - info - BEGIN WORK
#3708 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3709 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3710 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3711 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3712 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3713 - info - COMMIT
#3714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3716 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3718 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3734 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3735 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3736 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3737 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3738 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3739 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3740 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3741 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3742 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3743 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3744 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3745 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3746 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3747 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3748 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3749 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3750 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3751 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3752 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3753 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3754 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3756 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3757 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3758 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3759 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3760 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3761 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3762 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395658;')
#3768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3772 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3773 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3774 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3775 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3776 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3777 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3778 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3779 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3780 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3781 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3782 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3783 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3784 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3785 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3786 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3787 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3788 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3789 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3790 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3791 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3792 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3793 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3794 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3795 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3796 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3797 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3798 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3799 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3800 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3801 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3802 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3803 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3804 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3805 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3806 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3807 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3808 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3809 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3810 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3811 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3812 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3813 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3814 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3815 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:58', '1')
#3816 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3817 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3818 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3819 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3820 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3821 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3822 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3823 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3824 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3825 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3826 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3827 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3828 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3829 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3830 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3831 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3832 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3833 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3834 - info - BEGIN WORK
#3835 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3836 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3837 - info - COMMIT
#3838 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3839 - info - BEGIN WORK
#3840 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3841 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3842 - info - COMMIT
#3843 - info - BEGIN WORK
#3844 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3845 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3846 - info - COMMIT
#3847 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3848 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3849 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3850 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3851 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3852 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3853 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3854 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3855 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3856 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3857 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3858 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3859 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3860 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3861 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3862 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3863 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3864 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3865 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3866 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3867 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3868 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3869 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3870 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3871 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3872 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3873 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3874 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3875 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3876 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3877 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3878 - info - SHOW TABLES LIKE 'ac_job_types'
#3879 - info - SELECT COUNT(id) FROM ac_job_types
#3880 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3881 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3882 - info - BEGIN WORK
#3883 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3884 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3885 - info - COMMIT
#3886 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3887 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3888 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3889 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3890 - info - SELECT COUNT(name) FROM ac_modules
#3891 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3892 - info - SELECT name FROM ac_modules
#3893 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3894 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3895 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3896 - info - Cache miss 'config_values'
#3897 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3898 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3899 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3900 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3901 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3902 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3903 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3904 - info - BEGIN WORK
#3905 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3906 - info - Cache hit 'config_values'
#3907 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3908 - info - UPDATE ac_config_options SET value = 'i:1387395658;' WHERE name = 'search_initialized_on'
#3909 - info - COMMIT
#3910 - info - Cache miss 'models/users/1'
#3911 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3912 - info - SELECT COUNT(*) FROM  ac_config_options
#3913 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'system', 'i:1983;')
#3914 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'system', 's:10:\"Google.com\";')
#3915 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'system', 'a:6:{i:0;s:8:\"Belgrade\";i:1;s:6:\"Zagreb\";i:2;s:9:\"Ljubljana\";i:3;s:8:\"Sarajevo\";i:4;s:9:\"Podgorica\";i:5;s:7:\"Skoplje\";}')
#3916 - info - SELECT COUNT(*) FROM ac_config_options
#3917 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3918 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3919 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3920 - info - BEGIN WORK
#3921 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3922 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3923 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3924 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3925 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '1', 's:7:\"Value 1\";')
#3926 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3927 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3928 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '1', 's:7:\"Value 3\";')
#3929 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3930 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3931 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 2', 'TestConfigOptionsObject1', '1', 's:7:\"Value 2\";')
#3932 - info - COMMIT
#3933 - info - BEGIN WORK
#3934 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3935 - info - Cache miss 'models/test_config_options_object1s/2/config_options'
#3936 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3937 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3938 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '2', 's:25:\"Value 1 for second object\";')
#3939 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3940 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3941 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '2', 's:7:\"Value 3\";')
#3942 - info - COMMIT
#3943 - info - BEGIN WORK
#3944 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3945 - info - Cache miss 'models/test_config_options_object2s/1/config_options'
#3946 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3947 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject2' AND parent_id = '1'
#3948 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject2', '1', 'i:1;')
#3949 - info - COMMIT
#3950 - info - SELECT COUNT(*) FROM ac_config_option_values
#3951 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3952 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject2'
#3953 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3954 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3955 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3956 - info - DELETE FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3957 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3958 - info - Cache miss 'config_values'
#3959 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3960 - info - BEGIN WORK
#3961 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3962 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3963 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3964 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3965 - info - UPDATE ac_config_option_values SET value = 's:9:\"Yahoo.com\";' WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3966 - info - COMMIT
#3967 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3968 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3969 - info - Cache hit 'models/test_config_options_object1s/1/config_options'
#3970 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3971 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 2') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3972 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3973 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3974 - info - Cache hit 'config_values'
#3975 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3976 - info - SHOW TABLES LIKE 'ac_config_options'
#3977 - info - SHOW TABLES LIKE 'ac_config_options'
#3978 - info - DROP TABLE `ac_config_options`
#3979 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3980 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3981 - info - DROP TABLE `ac_config_option_values`
#3982 - info - SHOW TABLES LIKE 'ac_modules'
#3983 - info - SHOW TABLES LIKE 'ac_modules'
#3984 - info - DROP TABLE `ac_modules`
#3985 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3986 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3987 - info - DROP TABLE `ac_executed_model_migrations`
#3988 - info - SHOW TABLES LIKE 'ac_update_history'
#3989 - info - SHOW TABLES LIKE 'ac_update_history'
#3990 - info - DROP TABLE `ac_update_history`
#3991 - info - SHOW TABLES LIKE 'ac_access_logs'
#3992 - info - SHOW TABLES LIKE 'ac_access_logs'
#3993 - info - DROP TABLE `ac_access_logs`
#3994 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3995 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3996 - info - DROP TABLE `ac_access_logs_archive`
#3997 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3998 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3999 - info - DROP TABLE `ac_object_contexts`
#4000 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4001 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4002 - info - DROP TABLE `ac_routing_cache`
#4003 - info - SHOW TABLES LIKE 'ac_currencies'
#4004 - info - SHOW TABLES LIKE 'ac_currencies'
#4005 - info - DROP TABLE `ac_currencies`
#4006 - info - SHOW TABLES LIKE 'ac_day_offs'
#4007 - info - SHOW TABLES LIKE 'ac_day_offs'
#4008 - info - DROP TABLE `ac_day_offs`
#4009 - info - SHOW TABLES LIKE 'ac_languages'
#4010 - info - SHOW TABLES LIKE 'ac_languages'
#4011 - info - DROP TABLE `ac_languages`
#4012 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4013 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4014 - info - DROP TABLE `ac_language_phrases`
#4015 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4016 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4017 - info - DROP TABLE `ac_language_phrase_translations`
#4018 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4019 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4020 - info - DROP TABLE `ac_api_client_subscriptions`
#4021 - info - SHOW TABLES LIKE 'ac_users'
#4022 - info - SHOW TABLES LIKE 'ac_users'
#4023 - info - DROP TABLE `ac_users`
#4024 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4025 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4026 - info - DROP TABLE `ac_user_addresses`
#4027 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4028 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4029 - info - DROP TABLE `ac_user_sessions`
#4030 - info - SHOW TABLES LIKE 'ac_security_logs'
#4031 - info - SHOW TABLES LIKE 'ac_security_logs'
#4032 - info - DROP TABLE `ac_security_logs`
#4033 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4034 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4035 - info - DROP TABLE `ac_api_token_logs`
#4036 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4037 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4038 - info - DROP TABLE `ac_activity_logs`
#4039 - info - SHOW TABLES LIKE 'ac_data_filters'
#4040 - info - SHOW TABLES LIKE 'ac_data_filters'
#4041 - info - DROP TABLE `ac_data_filters`
#4042 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4043 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4044 - info - DROP TABLE `ac_modification_logs`
#4045 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4046 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4047 - info - DROP TABLE `ac_modification_log_values`
#4048 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4049 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4050 - info - DROP TABLE `ac_mailing_activity_logs`
#4051 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4052 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4053 - info - DROP TABLE `ac_outgoing_messages`
#4054 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4055 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4056 - info - DROP TABLE `ac_incoming_mail_attachments`
#4057 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4058 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4059 - info - DROP TABLE `ac_incoming_mail_filters`
#4060 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4061 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4062 - info - DROP TABLE `ac_incoming_mailboxes`
#4063 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4064 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4065 - info - DROP TABLE `ac_incoming_mails`
#4066 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4067 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4068 - info - DROP TABLE `ac_homescreen_tabs`
#4069 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4070 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4071 - info - DROP TABLE `ac_homescreen_widgets`
#4072 - info - SHOW TABLES LIKE 'ac_announcements'
#4073 - info - SHOW TABLES LIKE 'ac_announcements'
#4074 - info - DROP TABLE `ac_announcements`
#4075 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4076 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4077 - info - DROP TABLE `ac_announcement_target_ids`
#4078 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4079 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4080 - info - DROP TABLE `ac_announcement_dismissals`
#4081 - info - SHOW TABLES LIKE 'ac_attachments'
#4082 - info - SHOW TABLES LIKE 'ac_attachments'
#4083 - info - DROP TABLE `ac_attachments`
#4084 - info - SHOW TABLES LIKE 'ac_notifications'
#4085 - info - SHOW TABLES LIKE 'ac_notifications'
#4086 - info - DROP TABLE `ac_notifications`
#4087 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4088 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4089 - info - DROP TABLE `ac_notification_recipients`
#4090 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4091 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4092 - info - DROP TABLE `ac_subscriptions`
#4093 - info - SHOW TABLES LIKE 'ac_comments'
#4094 - info - SHOW TABLES LIKE 'ac_comments'
#4095 - info - DROP TABLE `ac_comments`
#4096 - info - SHOW TABLES LIKE 'ac_categories'
#4097 - info - SHOW TABLES LIKE 'ac_categories'
#4098 - info - DROP TABLE `ac_categories`
#4099 - info - SHOW TABLES LIKE 'ac_labels'
#4100 - info - SHOW TABLES LIKE 'ac_labels'
#4101 - info - DROP TABLE `ac_labels`
#4102 - info - SHOW TABLES LIKE 'ac_assignments'
#4103 - info - SHOW TABLES LIKE 'ac_assignments'
#4104 - info - DROP TABLE `ac_assignments`
#4105 - info - SHOW TABLES LIKE 'ac_subtasks'
#4106 - info - SHOW TABLES LIKE 'ac_subtasks'
#4107 - info - DROP TABLE `ac_subtasks`
#4108 - info - SHOW TABLES LIKE 'ac_favorites'
#4109 - info - SHOW TABLES LIKE 'ac_favorites'
#4110 - info - DROP TABLE `ac_favorites`
#4111 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4112 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4113 - info - DROP TABLE `ac_code_snippets`
#4114 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4115 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4116 - info - DROP TABLE `ac_payment_gateways`
#4117 - info - SHOW TABLES LIKE 'ac_payments'
#4118 - info - SHOW TABLES LIKE 'ac_payments'
#4119 - info - DROP TABLE `ac_payments`
#4120 - info - SHOW TABLES LIKE 'ac_reminders'
#4121 - info - SHOW TABLES LIKE 'ac_reminders'
#4122 - info - DROP TABLE `ac_reminders`
#4123 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4124 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4125 - info - DROP TABLE `ac_reminder_users`
#4126 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4127 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4128 - info - DROP TABLE `ac_custom_fields`
#4129 - info - SHOW TABLES LIKE 'ac_calendars'
#4130 - info - SHOW TABLES LIKE 'ac_calendars'
#4131 - info - DROP TABLE `ac_calendars`
#4132 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4133 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4134 - info - DROP TABLE `ac_calendar_events`
#4135 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4136 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4137 - info - DROP TABLE `ac_calendar_users`
#4138 - info - SHOW TABLES LIKE 'ac_data_sources'
#4139 - info - SHOW TABLES LIKE 'ac_data_sources'
#4140 - info - DROP TABLE `ac_data_sources`
#4141 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4142 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4143 - info - DROP TABLE `ac_data_source_mappings`
#4144 - info - SHOW TABLES LIKE 'ac_companies'
#4145 - info - SHOW TABLES LIKE 'ac_companies'
#4146 - info - DROP TABLE `ac_companies`
#4147 - info - SHOW TABLES LIKE 'ac_projects'
#4148 - info - SHOW TABLES LIKE 'ac_projects'
#4149 - info - DROP TABLE `ac_projects`
#4150 - info - SHOW TABLES LIKE 'ac_project_roles'
#4151 - info - SHOW TABLES LIKE 'ac_project_roles'
#4152 - info - DROP TABLE `ac_project_roles`
#4153 - info - SHOW TABLES LIKE 'ac_project_users'
#4154 - info - SHOW TABLES LIKE 'ac_project_users'
#4155 - info - DROP TABLE `ac_project_users`
#4156 - info - SHOW TABLES LIKE 'ac_project_requests'
#4157 - info - SHOW TABLES LIKE 'ac_project_requests'
#4158 - info - DROP TABLE `ac_project_requests`
#4159 - info - SHOW TABLES LIKE 'ac_project_objects'
#4160 - info - SHOW TABLES LIKE 'ac_project_objects'
#4161 - info - DROP TABLE `ac_project_objects`
#4162 - info - SHOW TABLES LIKE 'ac_project_templates'
#4163 - info - SHOW TABLES LIKE 'ac_project_templates'
#4164 - info - DROP TABLE `ac_project_templates`
#4165 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4166 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4167 - info - DROP TABLE `ac_project_object_templates`
#4168 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4169 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4170 - info - DROP TABLE `ac_shared_object_profiles`
#4171 - info - SHOW TABLES LIKE 'ac_file_versions'
#4172 - info - SHOW TABLES LIKE 'ac_file_versions'
#4173 - info - DROP TABLE `ac_file_versions`
#4174 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4175 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4176 - info - DROP TABLE `ac_text_document_versions`
#4177 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4178 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4179 - info - DROP TABLE `ac_public_task_forms`
#4180 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4181 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4182 - info - DROP TABLE `ac_related_tasks`
#4183 - info - SHOW TABLES LIKE 'ac_task_segments'
#4184 - info - SHOW TABLES LIKE 'ac_task_segments'
#4185 - info - DROP TABLE `ac_task_segments`
#4186 - info - SHOW TABLES LIKE 'ac_status_updates'
#4187 - info - SHOW TABLES LIKE 'ac_status_updates'
#4188 - info - DROP TABLE `ac_status_updates`
#4189 - info - SHOW TABLES LIKE 'ac_documents'
#4190 - info - SHOW TABLES LIKE 'ac_documents'
#4191 - info - DROP TABLE `ac_documents`
#4192 - info - SHOW TABLES LIKE 'ac_time_records'
#4193 - info - SHOW TABLES LIKE 'ac_time_records'
#4194 - info - DROP TABLE `ac_time_records`
#4195 - info - SHOW TABLES LIKE 'ac_job_types'
#4196 - info - SHOW TABLES LIKE 'ac_job_types'
#4197 - info - DROP TABLE `ac_job_types`
#4198 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4199 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4200 - info - DROP TABLE `ac_project_hourly_rates`
#4201 - info - SHOW TABLES LIKE 'ac_expenses'
#4202 - info - SHOW TABLES LIKE 'ac_expenses'
#4203 - info - DROP TABLE `ac_expenses`
#4204 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4205 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4206 - info - DROP TABLE `ac_expense_categories`
#4207 - info - SHOW TABLES LIKE 'ac_estimates'
#4208 - info - SHOW TABLES LIKE 'ac_estimates'
#4209 - info - DROP TABLE `ac_estimates`
#4210 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4211 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4212 - info - DROP TABLE `ac_invoice_objects`
#4213 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4214 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4215 - info - DROP TABLE `ac_invoice_object_items`
#4216 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4217 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4218 - info - DROP TABLE `ac_invoice_item_templates`
#4219 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4220 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4221 - info - DROP TABLE `ac_invoice_note_templates`
#4222 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4223 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4224 - info - DROP TABLE `ac_invoice_related_records`
#4225 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4226 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4227 - info - DROP TABLE `ac_tax_rates`
#4228 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4229 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4230 - info - DROP TABLE `ac_notebook_pages`
#4231 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4232 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4233 - info - DROP TABLE `ac_notebook_page_versions`
#4234 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4235 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4236 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4237 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4238 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4239 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4240 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4241 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4242 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4243 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4244 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4245 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4246 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4247 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4248 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4249 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4250 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4251 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4252 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4253 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4254 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4255 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4256 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4257 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4258 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4259 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4260 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4261 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4262 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4263 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4264 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4265 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4266 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4267 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4268 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4269 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4270 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4271 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4272 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4273 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4274 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4275 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4276 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4277 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4278 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4279 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4280 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4281 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4282 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4283 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4284 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4285 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4286 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4287 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4288 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4289 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4290 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4291 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4292 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4293 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4294 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4295 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4296 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4297 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4298 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4299 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4300 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4301 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4302 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4303 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4304 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4305 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4306 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4307 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4308 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4309 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4310 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4311 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4312 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4313 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4314 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4315 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4316 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4317 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4318 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4319 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4345 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4346 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4347 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4348 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4349 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4350 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4355 - info - BEGIN WORK
#4356 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4357 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4358 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4359 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4360 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4361 - info - COMMIT
#4362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4386 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4387 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4388 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4389 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4390 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4391 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4392 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4393 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4394 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4395 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4396 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4397 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4398 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4399 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4400 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4401 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4402 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395659;')
#4416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4417 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4420 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4421 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4422 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4423 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4424 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4425 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4428 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4429 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4430 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4432 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4440 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4441 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#4445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#4446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#4447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#4448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#4449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#4450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#4451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#4452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#4453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#4454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#4455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#4456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#4457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#4458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#4459 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#4460 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#4461 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#4462 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#4463 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:59', '1')
#4464 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4465 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4466 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4467 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#4469 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#4471 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#4473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#4474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#4475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#4476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#4477 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#4478 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#4479 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#4480 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#4482 - info - BEGIN WORK
#4483 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#4484 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#4485 - info - COMMIT
#4486 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#4487 - info - BEGIN WORK
#4488 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4489 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#4490 - info - COMMIT
#4491 - info - BEGIN WORK
#4492 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4493 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#4494 - info - COMMIT
#4495 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4496 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4497 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#4498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#4499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#4500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#4501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#4502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#4503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#4504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#4505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#4506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#4507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#4508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#4509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#4510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#4511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#4512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#4513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#4514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#4515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#4516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#4517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#4518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#4519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#4520 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#4521 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#4522 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#4523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#4524 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#4525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#4526 - info - SHOW TABLES LIKE 'ac_job_types'
#4527 - info - SELECT COUNT(id) FROM ac_job_types
#4528 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4529 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#4530 - info - BEGIN WORK
#4531 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#4532 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#4533 - info - COMMIT
#4534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#4535 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4536 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4537 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#4538 - info - SELECT COUNT(name) FROM ac_modules
#4539 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#4540 - info - SELECT name FROM ac_modules
#4541 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#4542 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#4543 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#4544 - info - Cache hit 'config_values'
#4545 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#4546 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#4547 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#4548 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#4549 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#4550 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#4551 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#4552 - info - BEGIN WORK
#4553 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#4554 - info - Cache hit 'config_values'
#4555 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#4556 - info - UPDATE ac_config_options SET value = 'i:1387395659;' WHERE name = 'search_initialized_on'
#4557 - info - COMMIT
#4558 - info - Cache miss 'models/users/1'
#4559 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#4560 - info - Cache hit 'models/users/1'
#4561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('testing_user_model', 'system', 'N;')
#4562 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'testing_user_model'
#4563 - info - BEGIN WORK
#4564 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#4565 - info - Cache miss 'models/users/1/config_options'
#4566 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'testing_user_model'
#4567 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4568 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('testing_user_model', 'User', '1', 'i:123;')
#4569 - info - COMMIT
#4570 - info - Cache hit 'models/users/1/config_options'
#4571 - info - SELECT value FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4572 - info - SELECT * FROM ac_config_option_values WHERE name = 'testing_user_model'
#4573 - info - SHOW TABLES LIKE 'ac_config_options'
#4574 - info - SHOW TABLES LIKE 'ac_config_options'
#4575 - info - DROP TABLE `ac_config_options`
#4576 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4577 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4578 - info - DROP TABLE `ac_config_option_values`
#4579 - info - SHOW TABLES LIKE 'ac_modules'
#4580 - info - SHOW TABLES LIKE 'ac_modules'
#4581 - info - DROP TABLE `ac_modules`
#4582 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4583 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4584 - info - DROP TABLE `ac_executed_model_migrations`
#4585 - info - SHOW TABLES LIKE 'ac_update_history'
#4586 - info - SHOW TABLES LIKE 'ac_update_history'
#4587 - info - DROP TABLE `ac_update_history`
#4588 - info - SHOW TABLES LIKE 'ac_access_logs'
#4589 - info - SHOW TABLES LIKE 'ac_access_logs'
#4590 - info - DROP TABLE `ac_access_logs`
#4591 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4592 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4593 - info - DROP TABLE `ac_access_logs_archive`
#4594 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4595 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4596 - info - DROP TABLE `ac_object_contexts`
#4597 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4598 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4599 - info - DROP TABLE `ac_routing_cache`
#4600 - info - SHOW TABLES LIKE 'ac_currencies'
#4601 - info - SHOW TABLES LIKE 'ac_currencies'
#4602 - info - DROP TABLE `ac_currencies`
#4603 - info - SHOW TABLES LIKE 'ac_day_offs'
#4604 - info - SHOW TABLES LIKE 'ac_day_offs'
#4605 - info - DROP TABLE `ac_day_offs`
#4606 - info - SHOW TABLES LIKE 'ac_languages'
#4607 - info - SHOW TABLES LIKE 'ac_languages'
#4608 - info - DROP TABLE `ac_languages`
#4609 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4610 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4611 - info - DROP TABLE `ac_language_phrases`
#4612 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4613 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4614 - info - DROP TABLE `ac_language_phrase_translations`
#4615 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4616 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4617 - info - DROP TABLE `ac_api_client_subscriptions`
#4618 - info - SHOW TABLES LIKE 'ac_users'
#4619 - info - SHOW TABLES LIKE 'ac_users'
#4620 - info - DROP TABLE `ac_users`
#4621 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4622 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4623 - info - DROP TABLE `ac_user_addresses`
#4624 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4625 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4626 - info - DROP TABLE `ac_user_sessions`
#4627 - info - SHOW TABLES LIKE 'ac_security_logs'
#4628 - info - SHOW TABLES LIKE 'ac_security_logs'
#4629 - info - DROP TABLE `ac_security_logs`
#4630 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4631 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4632 - info - DROP TABLE `ac_api_token_logs`
#4633 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4634 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4635 - info - DROP TABLE `ac_activity_logs`
#4636 - info - SHOW TABLES LIKE 'ac_data_filters'
#4637 - info - SHOW TABLES LIKE 'ac_data_filters'
#4638 - info - DROP TABLE `ac_data_filters`
#4639 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4640 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4641 - info - DROP TABLE `ac_modification_logs`
#4642 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4643 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4644 - info - DROP TABLE `ac_modification_log_values`
#4645 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4646 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4647 - info - DROP TABLE `ac_mailing_activity_logs`
#4648 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4649 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4650 - info - DROP TABLE `ac_outgoing_messages`
#4651 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4652 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4653 - info - DROP TABLE `ac_incoming_mail_attachments`
#4654 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4655 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4656 - info - DROP TABLE `ac_incoming_mail_filters`
#4657 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4658 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4659 - info - DROP TABLE `ac_incoming_mailboxes`
#4660 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4661 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4662 - info - DROP TABLE `ac_incoming_mails`
#4663 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4664 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4665 - info - DROP TABLE `ac_homescreen_tabs`
#4666 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4667 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4668 - info - DROP TABLE `ac_homescreen_widgets`
#4669 - info - SHOW TABLES LIKE 'ac_announcements'
#4670 - info - SHOW TABLES LIKE 'ac_announcements'
#4671 - info - DROP TABLE `ac_announcements`
#4672 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4673 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4674 - info - DROP TABLE `ac_announcement_target_ids`
#4675 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4676 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4677 - info - DROP TABLE `ac_announcement_dismissals`
#4678 - info - SHOW TABLES LIKE 'ac_attachments'
#4679 - info - SHOW TABLES LIKE 'ac_attachments'
#4680 - info - DROP TABLE `ac_attachments`
#4681 - info - SHOW TABLES LIKE 'ac_notifications'
#4682 - info - SHOW TABLES LIKE 'ac_notifications'
#4683 - info - DROP TABLE `ac_notifications`
#4684 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4685 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4686 - info - DROP TABLE `ac_notification_recipients`
#4687 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4688 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4689 - info - DROP TABLE `ac_subscriptions`
#4690 - info - SHOW TABLES LIKE 'ac_comments'
#4691 - info - SHOW TABLES LIKE 'ac_comments'
#4692 - info - DROP TABLE `ac_comments`
#4693 - info - SHOW TABLES LIKE 'ac_categories'
#4694 - info - SHOW TABLES LIKE 'ac_categories'
#4695 - info - DROP TABLE `ac_categories`
#4696 - info - SHOW TABLES LIKE 'ac_labels'
#4697 - info - SHOW TABLES LIKE 'ac_labels'
#4698 - info - DROP TABLE `ac_labels`
#4699 - info - SHOW TABLES LIKE 'ac_assignments'
#4700 - info - SHOW TABLES LIKE 'ac_assignments'
#4701 - info - DROP TABLE `ac_assignments`
#4702 - info - SHOW TABLES LIKE 'ac_subtasks'
#4703 - info - SHOW TABLES LIKE 'ac_subtasks'
#4704 - info - DROP TABLE `ac_subtasks`
#4705 - info - SHOW TABLES LIKE 'ac_favorites'
#4706 - info - SHOW TABLES LIKE 'ac_favorites'
#4707 - info - DROP TABLE `ac_favorites`
#4708 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4709 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4710 - info - DROP TABLE `ac_code_snippets`
#4711 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4712 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4713 - info - DROP TABLE `ac_payment_gateways`
#4714 - info - SHOW TABLES LIKE 'ac_payments'
#4715 - info - SHOW TABLES LIKE 'ac_payments'
#4716 - info - DROP TABLE `ac_payments`
#4717 - info - SHOW TABLES LIKE 'ac_reminders'
#4718 - info - SHOW TABLES LIKE 'ac_reminders'
#4719 - info - DROP TABLE `ac_reminders`
#4720 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4721 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4722 - info - DROP TABLE `ac_reminder_users`
#4723 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4724 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4725 - info - DROP TABLE `ac_custom_fields`
#4726 - info - SHOW TABLES LIKE 'ac_calendars'
#4727 - info - SHOW TABLES LIKE 'ac_calendars'
#4728 - info - DROP TABLE `ac_calendars`
#4729 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4730 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4731 - info - DROP TABLE `ac_calendar_events`
#4732 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4733 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4734 - info - DROP TABLE `ac_calendar_users`
#4735 - info - SHOW TABLES LIKE 'ac_data_sources'
#4736 - info - SHOW TABLES LIKE 'ac_data_sources'
#4737 - info - DROP TABLE `ac_data_sources`
#4738 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4739 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4740 - info - DROP TABLE `ac_data_source_mappings`
#4741 - info - SHOW TABLES LIKE 'ac_companies'
#4742 - info - SHOW TABLES LIKE 'ac_companies'
#4743 - info - DROP TABLE `ac_companies`
#4744 - info - SHOW TABLES LIKE 'ac_projects'
#4745 - info - SHOW TABLES LIKE 'ac_projects'
#4746 - info - DROP TABLE `ac_projects`
#4747 - info - SHOW TABLES LIKE 'ac_project_roles'
#4748 - info - SHOW TABLES LIKE 'ac_project_roles'
#4749 - info - DROP TABLE `ac_project_roles`
#4750 - info - SHOW TABLES LIKE 'ac_project_users'
#4751 - info - SHOW TABLES LIKE 'ac_project_users'
#4752 - info - DROP TABLE `ac_project_users`
#4753 - info - SHOW TABLES LIKE 'ac_project_requests'
#4754 - info - SHOW TABLES LIKE 'ac_project_requests'
#4755 - info - DROP TABLE `ac_project_requests`
#4756 - info - SHOW TABLES LIKE 'ac_project_objects'
#4757 - info - SHOW TABLES LIKE 'ac_project_objects'
#4758 - info - DROP TABLE `ac_project_objects`
#4759 - info - SHOW TABLES LIKE 'ac_project_templates'
#4760 - info - SHOW TABLES LIKE 'ac_project_templates'
#4761 - info - DROP TABLE `ac_project_templates`
#4762 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4763 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4764 - info - DROP TABLE `ac_project_object_templates`
#4765 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4766 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4767 - info - DROP TABLE `ac_shared_object_profiles`
#4768 - info - SHOW TABLES LIKE 'ac_file_versions'
#4769 - info - SHOW TABLES LIKE 'ac_file_versions'
#4770 - info - DROP TABLE `ac_file_versions`
#4771 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4772 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4773 - info - DROP TABLE `ac_text_document_versions`
#4774 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4775 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4776 - info - DROP TABLE `ac_public_task_forms`
#4777 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4778 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4779 - info - DROP TABLE `ac_related_tasks`
#4780 - info - SHOW TABLES LIKE 'ac_task_segments'
#4781 - info - SHOW TABLES LIKE 'ac_task_segments'
#4782 - info - DROP TABLE `ac_task_segments`
#4783 - info - SHOW TABLES LIKE 'ac_status_updates'
#4784 - info - SHOW TABLES LIKE 'ac_status_updates'
#4785 - info - DROP TABLE `ac_status_updates`
#4786 - info - SHOW TABLES LIKE 'ac_documents'
#4787 - info - SHOW TABLES LIKE 'ac_documents'
#4788 - info - DROP TABLE `ac_documents`
#4789 - info - SHOW TABLES LIKE 'ac_time_records'
#4790 - info - SHOW TABLES LIKE 'ac_time_records'
#4791 - info - DROP TABLE `ac_time_records`
#4792 - info - SHOW TABLES LIKE 'ac_job_types'
#4793 - info - SHOW TABLES LIKE 'ac_job_types'
#4794 - info - DROP TABLE `ac_job_types`
#4795 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4796 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4797 - info - DROP TABLE `ac_project_hourly_rates`
#4798 - info - SHOW TABLES LIKE 'ac_expenses'
#4799 - info - SHOW TABLES LIKE 'ac_expenses'
#4800 - info - DROP TABLE `ac_expenses`
#4801 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4802 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4803 - info - DROP TABLE `ac_expense_categories`
#4804 - info - SHOW TABLES LIKE 'ac_estimates'
#4805 - info - SHOW TABLES LIKE 'ac_estimates'
#4806 - info - DROP TABLE `ac_estimates`
#4807 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4808 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4809 - info - DROP TABLE `ac_invoice_objects`
#4810 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4811 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4812 - info - DROP TABLE `ac_invoice_object_items`
#4813 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4814 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4815 - info - DROP TABLE `ac_invoice_item_templates`
#4816 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4817 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4818 - info - DROP TABLE `ac_invoice_note_templates`
#4819 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4820 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4821 - info - DROP TABLE `ac_invoice_related_records`
#4822 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4823 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4824 - info - DROP TABLE `ac_tax_rates`
#4825 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4826 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4827 - info - DROP TABLE `ac_notebook_pages`
#4828 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4829 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4830 - info - DROP TABLE `ac_notebook_page_versions`
#4831 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4832 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4833 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4834 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4835 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4836 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4837 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4838 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4839 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4840 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4841 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4842 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4843 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4844 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4845 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4846 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4847 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4848 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4849 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4850 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4851 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4852 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4853 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4854 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4855 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4856 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4857 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4858 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4859 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4860 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4861 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4862 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4863 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4864 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4865 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4866 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4867 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4868 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4869 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4870 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4871 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4872 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4873 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4874 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4875 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4876 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4877 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4878 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4879 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4880 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4881 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4882 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4883 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4884 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4885 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4886 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4887 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4888 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4889 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4890 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4891 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4892 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4893 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4894 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4895 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4896 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4897 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4898 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4899 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4900 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4901 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4902 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4903 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4904 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4905 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4906 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4907 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4908 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4909 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4910 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4911 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4912 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4913 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4914 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4915 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4916 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4917 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4918 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4919 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4920 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4921 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4922 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4923 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4924 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4925 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4926 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4931 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4932 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4933 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4934 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4935 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4952 - info - BEGIN WORK
#4953 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4954 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4955 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4956 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4957 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4958 - info - COMMIT
#4959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4963 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4964 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4965 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4966 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4967 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4986 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4987 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4988 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4989 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4990 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4991 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4992 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4993 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4994 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4995 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4996 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4997 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4998 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4999 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#5000 - info - Event 'on_shutdown' triggered

caching

#1 - info - APC cache backend loaded
#2 - info - File system cache backend loaded
#3 - info - File system cache backend loaded
#4 - info - File system cache backend loaded

sql

#1 - info - SET NAMES 'utf8'
#2 - info - SET SESSION character_set_database = 'utf8'
#3 - info - SHOW TABLES LIKE 'ac_config_options'
#4 - info - SHOW TABLES LIKE 'ac_config_options'
#5 - info - DROP TABLE `ac_config_options`
#6 - info - SHOW TABLES LIKE 'ac_config_option_values'
#7 - info - SHOW TABLES LIKE 'ac_config_option_values'
#8 - info - DROP TABLE `ac_config_option_values`
#9 - info - SHOW TABLES LIKE 'ac_modules'
#10 - info - SHOW TABLES LIKE 'ac_modules'
#11 - info - DROP TABLE `ac_modules`
#12 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#13 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#14 - info - DROP TABLE `ac_executed_model_migrations`
#15 - info - SHOW TABLES LIKE 'ac_update_history'
#16 - info - SHOW TABLES LIKE 'ac_update_history'
#17 - info - DROP TABLE `ac_update_history`
#18 - info - SHOW TABLES LIKE 'ac_access_logs'
#19 - info - SHOW TABLES LIKE 'ac_access_logs'
#20 - info - DROP TABLE `ac_access_logs`
#21 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#22 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#23 - info - DROP TABLE `ac_access_logs_archive`
#24 - info - SHOW TABLES LIKE 'ac_object_contexts'
#25 - info - SHOW TABLES LIKE 'ac_object_contexts'
#26 - info - DROP TABLE `ac_object_contexts`
#27 - info - SHOW TABLES LIKE 'ac_routing_cache'
#28 - info - SHOW TABLES LIKE 'ac_routing_cache'
#29 - info - DROP TABLE `ac_routing_cache`
#30 - info - SHOW TABLES LIKE 'ac_currencies'
#31 - info - SHOW TABLES LIKE 'ac_currencies'
#32 - info - DROP TABLE `ac_currencies`
#33 - info - SHOW TABLES LIKE 'ac_day_offs'
#34 - info - SHOW TABLES LIKE 'ac_day_offs'
#35 - info - DROP TABLE `ac_day_offs`
#36 - info - SHOW TABLES LIKE 'ac_languages'
#37 - info - SHOW TABLES LIKE 'ac_languages'
#38 - info - DROP TABLE `ac_languages`
#39 - info - SHOW TABLES LIKE 'ac_language_phrases'
#40 - info - SHOW TABLES LIKE 'ac_language_phrases'
#41 - info - DROP TABLE `ac_language_phrases`
#42 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#43 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#44 - info - DROP TABLE `ac_language_phrase_translations`
#45 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#46 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#47 - info - DROP TABLE `ac_api_client_subscriptions`
#48 - info - SHOW TABLES LIKE 'ac_users'
#49 - info - SHOW TABLES LIKE 'ac_users'
#50 - info - DROP TABLE `ac_users`
#51 - info - SHOW TABLES LIKE 'ac_user_addresses'
#52 - info - SHOW TABLES LIKE 'ac_user_addresses'
#53 - info - DROP TABLE `ac_user_addresses`
#54 - info - SHOW TABLES LIKE 'ac_user_sessions'
#55 - info - SHOW TABLES LIKE 'ac_user_sessions'
#56 - info - DROP TABLE `ac_user_sessions`
#57 - info - SHOW TABLES LIKE 'ac_security_logs'
#58 - info - SHOW TABLES LIKE 'ac_security_logs'
#59 - info - DROP TABLE `ac_security_logs`
#60 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#61 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#62 - info - DROP TABLE `ac_api_token_logs`
#63 - info - SHOW TABLES LIKE 'ac_activity_logs'
#64 - info - SHOW TABLES LIKE 'ac_activity_logs'
#65 - info - DROP TABLE `ac_activity_logs`
#66 - info - SHOW TABLES LIKE 'ac_data_filters'
#67 - info - SHOW TABLES LIKE 'ac_data_filters'
#68 - info - DROP TABLE `ac_data_filters`
#69 - info - SHOW TABLES LIKE 'ac_modification_logs'
#70 - info - SHOW TABLES LIKE 'ac_modification_logs'
#71 - info - DROP TABLE `ac_modification_logs`
#72 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#73 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#74 - info - DROP TABLE `ac_modification_log_values`
#75 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#76 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#77 - info - DROP TABLE `ac_mailing_activity_logs`
#78 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#79 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#80 - info - DROP TABLE `ac_outgoing_messages`
#81 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#82 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#83 - info - DROP TABLE `ac_incoming_mail_attachments`
#84 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#85 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#86 - info - DROP TABLE `ac_incoming_mail_filters`
#87 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#88 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#89 - info - DROP TABLE `ac_incoming_mailboxes`
#90 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#91 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#92 - info - DROP TABLE `ac_incoming_mails`
#93 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#94 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#95 - info - DROP TABLE `ac_homescreen_tabs`
#96 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#97 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#98 - info - DROP TABLE `ac_homescreen_widgets`
#99 - info - SHOW TABLES LIKE 'ac_announcements'
#100 - info - SHOW TABLES LIKE 'ac_announcements'
#101 - info - DROP TABLE `ac_announcements`
#102 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#103 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#104 - info - DROP TABLE `ac_announcement_target_ids`
#105 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#106 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#107 - info - DROP TABLE `ac_announcement_dismissals`
#108 - info - SHOW TABLES LIKE 'ac_attachments'
#109 - info - SHOW TABLES LIKE 'ac_attachments'
#110 - info - DROP TABLE `ac_attachments`
#111 - info - SHOW TABLES LIKE 'ac_notifications'
#112 - info - SHOW TABLES LIKE 'ac_notifications'
#113 - info - DROP TABLE `ac_notifications`
#114 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#115 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#116 - info - DROP TABLE `ac_notification_recipients`
#117 - info - SHOW TABLES LIKE 'ac_subscriptions'
#118 - info - SHOW TABLES LIKE 'ac_subscriptions'
#119 - info - DROP TABLE `ac_subscriptions`
#120 - info - SHOW TABLES LIKE 'ac_comments'
#121 - info - SHOW TABLES LIKE 'ac_comments'
#122 - info - DROP TABLE `ac_comments`
#123 - info - SHOW TABLES LIKE 'ac_categories'
#124 - info - SHOW TABLES LIKE 'ac_categories'
#125 - info - DROP TABLE `ac_categories`
#126 - info - SHOW TABLES LIKE 'ac_labels'
#127 - info - SHOW TABLES LIKE 'ac_labels'
#128 - info - DROP TABLE `ac_labels`
#129 - info - SHOW TABLES LIKE 'ac_assignments'
#130 - info - SHOW TABLES LIKE 'ac_assignments'
#131 - info - DROP TABLE `ac_assignments`
#132 - info - SHOW TABLES LIKE 'ac_subtasks'
#133 - info - SHOW TABLES LIKE 'ac_subtasks'
#134 - info - DROP TABLE `ac_subtasks`
#135 - info - SHOW TABLES LIKE 'ac_favorites'
#136 - info - SHOW TABLES LIKE 'ac_favorites'
#137 - info - DROP TABLE `ac_favorites`
#138 - info - SHOW TABLES LIKE 'ac_code_snippets'
#139 - info - SHOW TABLES LIKE 'ac_code_snippets'
#140 - info - DROP TABLE `ac_code_snippets`
#141 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#142 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#143 - info - DROP TABLE `ac_payment_gateways`
#144 - info - SHOW TABLES LIKE 'ac_payments'
#145 - info - SHOW TABLES LIKE 'ac_payments'
#146 - info - DROP TABLE `ac_payments`
#147 - info - SHOW TABLES LIKE 'ac_reminders'
#148 - info - SHOW TABLES LIKE 'ac_reminders'
#149 - info - DROP TABLE `ac_reminders`
#150 - info - SHOW TABLES LIKE 'ac_reminder_users'
#151 - info - SHOW TABLES LIKE 'ac_reminder_users'
#152 - info - DROP TABLE `ac_reminder_users`
#153 - info - SHOW TABLES LIKE 'ac_custom_fields'
#154 - info - SHOW TABLES LIKE 'ac_custom_fields'
#155 - info - DROP TABLE `ac_custom_fields`
#156 - info - SHOW TABLES LIKE 'ac_calendars'
#157 - info - SHOW TABLES LIKE 'ac_calendars'
#158 - info - DROP TABLE `ac_calendars`
#159 - info - SHOW TABLES LIKE 'ac_calendar_events'
#160 - info - SHOW TABLES LIKE 'ac_calendar_events'
#161 - info - DROP TABLE `ac_calendar_events`
#162 - info - SHOW TABLES LIKE 'ac_calendar_users'
#163 - info - SHOW TABLES LIKE 'ac_calendar_users'
#164 - info - DROP TABLE `ac_calendar_users`
#165 - info - SHOW TABLES LIKE 'ac_data_sources'
#166 - info - SHOW TABLES LIKE 'ac_data_sources'
#167 - info - DROP TABLE `ac_data_sources`
#168 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#169 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#170 - info - DROP TABLE `ac_data_source_mappings`
#171 - info - SHOW TABLES LIKE 'ac_companies'
#172 - info - SHOW TABLES LIKE 'ac_companies'
#173 - info - DROP TABLE `ac_companies`
#174 - info - SHOW TABLES LIKE 'ac_projects'
#175 - info - SHOW TABLES LIKE 'ac_projects'
#176 - info - DROP TABLE `ac_projects`
#177 - info - SHOW TABLES LIKE 'ac_project_roles'
#178 - info - SHOW TABLES LIKE 'ac_project_roles'
#179 - info - DROP TABLE `ac_project_roles`
#180 - info - SHOW TABLES LIKE 'ac_project_users'
#181 - info - SHOW TABLES LIKE 'ac_project_users'
#182 - info - DROP TABLE `ac_project_users`
#183 - info - SHOW TABLES LIKE 'ac_project_requests'
#184 - info - SHOW TABLES LIKE 'ac_project_requests'
#185 - info - DROP TABLE `ac_project_requests`
#186 - info - SHOW TABLES LIKE 'ac_project_objects'
#187 - info - SHOW TABLES LIKE 'ac_project_objects'
#188 - info - DROP TABLE `ac_project_objects`
#189 - info - SHOW TABLES LIKE 'ac_project_templates'
#190 - info - SHOW TABLES LIKE 'ac_project_templates'
#191 - info - DROP TABLE `ac_project_templates`
#192 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#193 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#194 - info - DROP TABLE `ac_project_object_templates`
#195 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#196 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#197 - info - DROP TABLE `ac_shared_object_profiles`
#198 - info - SHOW TABLES LIKE 'ac_file_versions'
#199 - info - SHOW TABLES LIKE 'ac_file_versions'
#200 - info - DROP TABLE `ac_file_versions`
#201 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#202 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#203 - info - DROP TABLE `ac_text_document_versions`
#204 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#205 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#206 - info - DROP TABLE `ac_public_task_forms`
#207 - info - SHOW TABLES LIKE 'ac_related_tasks'
#208 - info - SHOW TABLES LIKE 'ac_related_tasks'
#209 - info - DROP TABLE `ac_related_tasks`
#210 - info - SHOW TABLES LIKE 'ac_task_segments'
#211 - info - SHOW TABLES LIKE 'ac_task_segments'
#212 - info - DROP TABLE `ac_task_segments`
#213 - info - SHOW TABLES LIKE 'ac_status_updates'
#214 - info - SHOW TABLES LIKE 'ac_status_updates'
#215 - info - DROP TABLE `ac_status_updates`
#216 - info - SHOW TABLES LIKE 'ac_documents'
#217 - info - SHOW TABLES LIKE 'ac_documents'
#218 - info - DROP TABLE `ac_documents`
#219 - info - SHOW TABLES LIKE 'ac_time_records'
#220 - info - SHOW TABLES LIKE 'ac_time_records'
#221 - info - DROP TABLE `ac_time_records`
#222 - info - SHOW TABLES LIKE 'ac_job_types'
#223 - info - SHOW TABLES LIKE 'ac_job_types'
#224 - info - DROP TABLE `ac_job_types`
#225 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#226 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#227 - info - DROP TABLE `ac_project_hourly_rates`
#228 - info - SHOW TABLES LIKE 'ac_expenses'
#229 - info - SHOW TABLES LIKE 'ac_expenses'
#230 - info - DROP TABLE `ac_expenses`
#231 - info - SHOW TABLES LIKE 'ac_expense_categories'
#232 - info - SHOW TABLES LIKE 'ac_expense_categories'
#233 - info - DROP TABLE `ac_expense_categories`
#234 - info - SHOW TABLES LIKE 'ac_estimates'
#235 - info - SHOW TABLES LIKE 'ac_estimates'
#236 - info - DROP TABLE `ac_estimates`
#237 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#238 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#239 - info - DROP TABLE `ac_invoice_objects`
#240 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#241 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#242 - info - DROP TABLE `ac_invoice_object_items`
#243 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#244 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#245 - info - DROP TABLE `ac_invoice_item_templates`
#246 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#247 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#248 - info - DROP TABLE `ac_invoice_note_templates`
#249 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#250 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#251 - info - DROP TABLE `ac_invoice_related_records`
#252 - info - SHOW TABLES LIKE 'ac_tax_rates'
#253 - info - SHOW TABLES LIKE 'ac_tax_rates'
#254 - info - DROP TABLE `ac_tax_rates`
#255 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#256 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#257 - info - DROP TABLE `ac_notebook_pages`
#258 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#259 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#260 - info - DROP TABLE `ac_notebook_page_versions`
#261 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#262 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#263 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#264 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#265 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#266 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#267 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#268 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#269 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#270 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#271 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#272 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#273 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#274 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#275 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#276 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#277 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#278 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#279 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#280 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#281 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#282 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#283 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#284 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#285 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#286 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#287 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#288 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#289 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#290 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#291 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#292 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#293 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#294 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#295 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#296 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#297 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#298 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#299 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#300 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#301 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#302 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#303 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#304 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#305 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#306 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#307 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#308 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#309 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#310 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#311 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#312 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#313 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#314 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#315 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#316 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#317 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#318 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#319 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#320 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#321 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#322 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#323 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#324 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#325 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#326 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#327 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#328 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#329 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#330 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#331 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#332 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#333 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#334 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#335 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#336 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#337 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#338 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#339 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#340 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#341 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#342 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#343 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#344 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#345 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#346 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#347 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#348 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#349 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#350 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#382 - info - BEGIN WORK
#383 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#384 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#385 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#386 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#387 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#388 - info - COMMIT
#389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#390 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#416 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#417 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#418 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#419 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#420 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#421 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#422 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#423 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#424 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#425 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#426 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#427 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#428 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#429 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395654;')
#443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#455 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#456 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#457 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#459 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#467 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#468 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#484 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#486 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#487 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#488 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#489 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#490 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:54', '1')
#491 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#492 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#493 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#494 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#496 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#498 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#504 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#505 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#506 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#507 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#509 - info - BEGIN WORK
#510 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#511 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#512 - info - COMMIT
#513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#514 - info - BEGIN WORK
#515 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#516 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#517 - info - COMMIT
#518 - info - BEGIN WORK
#519 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#520 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#521 - info - COMMIT
#522 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#523 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#524 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#553 - info - SHOW TABLES LIKE 'ac_job_types'
#554 - info - SELECT COUNT(id) FROM ac_job_types
#555 - info - SHOW TABLES LIKE 'ac_tax_rates'
#556 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#557 - info - BEGIN WORK
#558 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#559 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#560 - info - COMMIT
#561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#562 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#563 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#564 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#565 - info - SELECT COUNT(name) FROM ac_modules
#566 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#567 - info - SELECT name FROM ac_modules
#568 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#569 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#570 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#571 - info - SELECT name, is_enabled FROM ac_modules WHERE name != 'system' ORDER BY position
#572 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#573 - info - BEGIN WORK
#574 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#575 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#576 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'File', '2013-12-18 19:40:54')
#577 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#578 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#579 - info - COMMIT
#580 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#581 - info - BEGIN WORK
#582 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#583 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'New name') AND (id <> '1')
#584 - info - UPDATE ac_test_data_objects SET name = 'New name', updated_on = '2013-12-18 19:40:54' WHERE id = '1'
#585 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#586 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#587 - info - COMMIT
#588 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#589 - info - BEGIN WORK
#590 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#591 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#592 - info - COMMIT
#593 - info - DROP TABLE IF EXISTS ac_test_data_objects
#594 - info - SHOW TABLES LIKE 'ac_config_options'
#595 - info - SHOW TABLES LIKE 'ac_config_options'
#596 - info - DROP TABLE `ac_config_options`
#597 - info - SHOW TABLES LIKE 'ac_config_option_values'
#598 - info - SHOW TABLES LIKE 'ac_config_option_values'
#599 - info - DROP TABLE `ac_config_option_values`
#600 - info - SHOW TABLES LIKE 'ac_modules'
#601 - info - SHOW TABLES LIKE 'ac_modules'
#602 - info - DROP TABLE `ac_modules`
#603 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#604 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#605 - info - DROP TABLE `ac_executed_model_migrations`
#606 - info - SHOW TABLES LIKE 'ac_update_history'
#607 - info - SHOW TABLES LIKE 'ac_update_history'
#608 - info - DROP TABLE `ac_update_history`
#609 - info - SHOW TABLES LIKE 'ac_access_logs'
#610 - info - SHOW TABLES LIKE 'ac_access_logs'
#611 - info - DROP TABLE `ac_access_logs`
#612 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#613 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#614 - info - DROP TABLE `ac_access_logs_archive`
#615 - info - SHOW TABLES LIKE 'ac_object_contexts'
#616 - info - SHOW TABLES LIKE 'ac_object_contexts'
#617 - info - DROP TABLE `ac_object_contexts`
#618 - info - SHOW TABLES LIKE 'ac_routing_cache'
#619 - info - SHOW TABLES LIKE 'ac_routing_cache'
#620 - info - DROP TABLE `ac_routing_cache`
#621 - info - SHOW TABLES LIKE 'ac_currencies'
#622 - info - SHOW TABLES LIKE 'ac_currencies'
#623 - info - DROP TABLE `ac_currencies`
#624 - info - SHOW TABLES LIKE 'ac_day_offs'
#625 - info - SHOW TABLES LIKE 'ac_day_offs'
#626 - info - DROP TABLE `ac_day_offs`
#627 - info - SHOW TABLES LIKE 'ac_languages'
#628 - info - SHOW TABLES LIKE 'ac_languages'
#629 - info - DROP TABLE `ac_languages`
#630 - info - SHOW TABLES LIKE 'ac_language_phrases'
#631 - info - SHOW TABLES LIKE 'ac_language_phrases'
#632 - info - DROP TABLE `ac_language_phrases`
#633 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#634 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#635 - info - DROP TABLE `ac_language_phrase_translations`
#636 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#637 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#638 - info - DROP TABLE `ac_api_client_subscriptions`
#639 - info - SHOW TABLES LIKE 'ac_users'
#640 - info - SHOW TABLES LIKE 'ac_users'
#641 - info - DROP TABLE `ac_users`
#642 - info - SHOW TABLES LIKE 'ac_user_addresses'
#643 - info - SHOW TABLES LIKE 'ac_user_addresses'
#644 - info - DROP TABLE `ac_user_addresses`
#645 - info - SHOW TABLES LIKE 'ac_user_sessions'
#646 - info - SHOW TABLES LIKE 'ac_user_sessions'
#647 - info - DROP TABLE `ac_user_sessions`
#648 - info - SHOW TABLES LIKE 'ac_security_logs'
#649 - info - SHOW TABLES LIKE 'ac_security_logs'
#650 - info - DROP TABLE `ac_security_logs`
#651 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#652 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#653 - info - DROP TABLE `ac_api_token_logs`
#654 - info - SHOW TABLES LIKE 'ac_activity_logs'
#655 - info - SHOW TABLES LIKE 'ac_activity_logs'
#656 - info - DROP TABLE `ac_activity_logs`
#657 - info - SHOW TABLES LIKE 'ac_data_filters'
#658 - info - SHOW TABLES LIKE 'ac_data_filters'
#659 - info - DROP TABLE `ac_data_filters`
#660 - info - SHOW TABLES LIKE 'ac_modification_logs'
#661 - info - SHOW TABLES LIKE 'ac_modification_logs'
#662 - info - DROP TABLE `ac_modification_logs`
#663 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#664 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#665 - info - DROP TABLE `ac_modification_log_values`
#666 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#667 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#668 - info - DROP TABLE `ac_mailing_activity_logs`
#669 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#670 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#671 - info - DROP TABLE `ac_outgoing_messages`
#672 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#673 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#674 - info - DROP TABLE `ac_incoming_mail_attachments`
#675 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#676 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#677 - info - DROP TABLE `ac_incoming_mail_filters`
#678 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#679 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#680 - info - DROP TABLE `ac_incoming_mailboxes`
#681 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#682 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#683 - info - DROP TABLE `ac_incoming_mails`
#684 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#685 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#686 - info - DROP TABLE `ac_homescreen_tabs`
#687 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#688 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#689 - info - DROP TABLE `ac_homescreen_widgets`
#690 - info - SHOW TABLES LIKE 'ac_announcements'
#691 - info - SHOW TABLES LIKE 'ac_announcements'
#692 - info - DROP TABLE `ac_announcements`
#693 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#694 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#695 - info - DROP TABLE `ac_announcement_target_ids`
#696 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#697 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#698 - info - DROP TABLE `ac_announcement_dismissals`
#699 - info - SHOW TABLES LIKE 'ac_attachments'
#700 - info - SHOW TABLES LIKE 'ac_attachments'
#701 - info - DROP TABLE `ac_attachments`
#702 - info - SHOW TABLES LIKE 'ac_notifications'
#703 - info - SHOW TABLES LIKE 'ac_notifications'
#704 - info - DROP TABLE `ac_notifications`
#705 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#706 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#707 - info - DROP TABLE `ac_notification_recipients`
#708 - info - SHOW TABLES LIKE 'ac_subscriptions'
#709 - info - SHOW TABLES LIKE 'ac_subscriptions'
#710 - info - DROP TABLE `ac_subscriptions`
#711 - info - SHOW TABLES LIKE 'ac_comments'
#712 - info - SHOW TABLES LIKE 'ac_comments'
#713 - info - DROP TABLE `ac_comments`
#714 - info - SHOW TABLES LIKE 'ac_categories'
#715 - info - SHOW TABLES LIKE 'ac_categories'
#716 - info - DROP TABLE `ac_categories`
#717 - info - SHOW TABLES LIKE 'ac_labels'
#718 - info - SHOW TABLES LIKE 'ac_labels'
#719 - info - DROP TABLE `ac_labels`
#720 - info - SHOW TABLES LIKE 'ac_assignments'
#721 - info - SHOW TABLES LIKE 'ac_assignments'
#722 - info - DROP TABLE `ac_assignments`
#723 - info - SHOW TABLES LIKE 'ac_subtasks'
#724 - info - SHOW TABLES LIKE 'ac_subtasks'
#725 - info - DROP TABLE `ac_subtasks`
#726 - info - SHOW TABLES LIKE 'ac_favorites'
#727 - info - SHOW TABLES LIKE 'ac_favorites'
#728 - info - DROP TABLE `ac_favorites`
#729 - info - SHOW TABLES LIKE 'ac_code_snippets'
#730 - info - SHOW TABLES LIKE 'ac_code_snippets'
#731 - info - DROP TABLE `ac_code_snippets`
#732 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#733 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#734 - info - DROP TABLE `ac_payment_gateways`
#735 - info - SHOW TABLES LIKE 'ac_payments'
#736 - info - SHOW TABLES LIKE 'ac_payments'
#737 - info - DROP TABLE `ac_payments`
#738 - info - SHOW TABLES LIKE 'ac_reminders'
#739 - info - SHOW TABLES LIKE 'ac_reminders'
#740 - info - DROP TABLE `ac_reminders`
#741 - info - SHOW TABLES LIKE 'ac_reminder_users'
#742 - info - SHOW TABLES LIKE 'ac_reminder_users'
#743 - info - DROP TABLE `ac_reminder_users`
#744 - info - SHOW TABLES LIKE 'ac_custom_fields'
#745 - info - SHOW TABLES LIKE 'ac_custom_fields'
#746 - info - DROP TABLE `ac_custom_fields`
#747 - info - SHOW TABLES LIKE 'ac_calendars'
#748 - info - SHOW TABLES LIKE 'ac_calendars'
#749 - info - DROP TABLE `ac_calendars`
#750 - info - SHOW TABLES LIKE 'ac_calendar_events'
#751 - info - SHOW TABLES LIKE 'ac_calendar_events'
#752 - info - DROP TABLE `ac_calendar_events`
#753 - info - SHOW TABLES LIKE 'ac_calendar_users'
#754 - info - SHOW TABLES LIKE 'ac_calendar_users'
#755 - info - DROP TABLE `ac_calendar_users`
#756 - info - SHOW TABLES LIKE 'ac_data_sources'
#757 - info - SHOW TABLES LIKE 'ac_data_sources'
#758 - info - DROP TABLE `ac_data_sources`
#759 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#760 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#761 - info - DROP TABLE `ac_data_source_mappings`
#762 - info - SHOW TABLES LIKE 'ac_companies'
#763 - info - SHOW TABLES LIKE 'ac_companies'
#764 - info - DROP TABLE `ac_companies`
#765 - info - SHOW TABLES LIKE 'ac_projects'
#766 - info - SHOW TABLES LIKE 'ac_projects'
#767 - info - DROP TABLE `ac_projects`
#768 - info - SHOW TABLES LIKE 'ac_project_roles'
#769 - info - SHOW TABLES LIKE 'ac_project_roles'
#770 - info - DROP TABLE `ac_project_roles`
#771 - info - SHOW TABLES LIKE 'ac_project_users'
#772 - info - SHOW TABLES LIKE 'ac_project_users'
#773 - info - DROP TABLE `ac_project_users`
#774 - info - SHOW TABLES LIKE 'ac_project_requests'
#775 - info - SHOW TABLES LIKE 'ac_project_requests'
#776 - info - DROP TABLE `ac_project_requests`
#777 - info - SHOW TABLES LIKE 'ac_project_objects'
#778 - info - SHOW TABLES LIKE 'ac_project_objects'
#779 - info - DROP TABLE `ac_project_objects`
#780 - info - SHOW TABLES LIKE 'ac_project_templates'
#781 - info - SHOW TABLES LIKE 'ac_project_templates'
#782 - info - DROP TABLE `ac_project_templates`
#783 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#784 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#785 - info - DROP TABLE `ac_project_object_templates`
#786 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#787 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#788 - info - DROP TABLE `ac_shared_object_profiles`
#789 - info - SHOW TABLES LIKE 'ac_file_versions'
#790 - info - SHOW TABLES LIKE 'ac_file_versions'
#791 - info - DROP TABLE `ac_file_versions`
#792 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#793 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#794 - info - DROP TABLE `ac_text_document_versions`
#795 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#796 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#797 - info - DROP TABLE `ac_public_task_forms`
#798 - info - SHOW TABLES LIKE 'ac_related_tasks'
#799 - info - SHOW TABLES LIKE 'ac_related_tasks'
#800 - info - DROP TABLE `ac_related_tasks`
#801 - info - SHOW TABLES LIKE 'ac_task_segments'
#802 - info - SHOW TABLES LIKE 'ac_task_segments'
#803 - info - DROP TABLE `ac_task_segments`
#804 - info - SHOW TABLES LIKE 'ac_status_updates'
#805 - info - SHOW TABLES LIKE 'ac_status_updates'
#806 - info - DROP TABLE `ac_status_updates`
#807 - info - SHOW TABLES LIKE 'ac_documents'
#808 - info - SHOW TABLES LIKE 'ac_documents'
#809 - info - DROP TABLE `ac_documents`
#810 - info - SHOW TABLES LIKE 'ac_time_records'
#811 - info - SHOW TABLES LIKE 'ac_time_records'
#812 - info - DROP TABLE `ac_time_records`
#813 - info - SHOW TABLES LIKE 'ac_job_types'
#814 - info - SHOW TABLES LIKE 'ac_job_types'
#815 - info - DROP TABLE `ac_job_types`
#816 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#817 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#818 - info - DROP TABLE `ac_project_hourly_rates`
#819 - info - SHOW TABLES LIKE 'ac_expenses'
#820 - info - SHOW TABLES LIKE 'ac_expenses'
#821 - info - DROP TABLE `ac_expenses`
#822 - info - SHOW TABLES LIKE 'ac_expense_categories'
#823 - info - SHOW TABLES LIKE 'ac_expense_categories'
#824 - info - DROP TABLE `ac_expense_categories`
#825 - info - SHOW TABLES LIKE 'ac_estimates'
#826 - info - SHOW TABLES LIKE 'ac_estimates'
#827 - info - DROP TABLE `ac_estimates`
#828 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#829 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#830 - info - DROP TABLE `ac_invoice_objects`
#831 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#832 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#833 - info - DROP TABLE `ac_invoice_object_items`
#834 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#835 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#836 - info - DROP TABLE `ac_invoice_item_templates`
#837 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#838 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#839 - info - DROP TABLE `ac_invoice_note_templates`
#840 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#841 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#842 - info - DROP TABLE `ac_invoice_related_records`
#843 - info - SHOW TABLES LIKE 'ac_tax_rates'
#844 - info - SHOW TABLES LIKE 'ac_tax_rates'
#845 - info - DROP TABLE `ac_tax_rates`
#846 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#847 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#848 - info - DROP TABLE `ac_notebook_pages`
#849 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#850 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#851 - info - DROP TABLE `ac_notebook_page_versions`
#852 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#853 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#854 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#855 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#856 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#857 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#858 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#859 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#860 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#861 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#862 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#863 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#864 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#865 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#866 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#867 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#868 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#869 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#870 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#871 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#872 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#873 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#874 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#875 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#876 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#877 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#878 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#879 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#880 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#881 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#882 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#883 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#884 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#885 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#886 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#887 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#888 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#889 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#890 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#891 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#892 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#893 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#894 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#895 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#896 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#897 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#898 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#899 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#900 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#901 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#902 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#903 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#904 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#905 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#906 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#907 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#908 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#909 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#910 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#911 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#912 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#913 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#914 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#915 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#916 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#917 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#918 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#919 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#920 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#921 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#922 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#923 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#924 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#925 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#926 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#927 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#928 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#929 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#930 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#931 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#932 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#933 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#934 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#935 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#936 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#937 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#952 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#953 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#954 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#955 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#956 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#957 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#958 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#963 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#964 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#965 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#966 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#967 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#973 - info - BEGIN WORK
#974 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#975 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#976 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#977 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#978 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#979 - info - COMMIT
#980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1005 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1006 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1007 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1008 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1009 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1010 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1011 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1012 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1013 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1014 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1015 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1016 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1017 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1018 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1019 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1020 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395655;')
#1034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1036 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1042 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1043 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1044 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1045 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1046 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1047 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1048 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1049 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1050 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1051 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1052 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1053 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1054 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1056 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1058 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1059 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1077 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1078 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1079 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1080 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1081 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:55', '1')
#1082 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1083 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1084 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1085 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1086 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1087 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1089 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1090 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1091 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1093 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1094 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1095 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1096 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1097 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1098 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1100 - info - BEGIN WORK
#1101 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1102 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1103 - info - COMMIT
#1104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1105 - info - BEGIN WORK
#1106 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1107 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1108 - info - COMMIT
#1109 - info - BEGIN WORK
#1110 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1111 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1112 - info - COMMIT
#1113 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1114 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1115 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1117 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1119 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1121 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1122 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1124 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1125 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1126 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1127 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1128 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1129 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1135 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1137 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1144 - info - SHOW TABLES LIKE 'ac_job_types'
#1145 - info - SELECT COUNT(id) FROM ac_job_types
#1146 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1147 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1148 - info - BEGIN WORK
#1149 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1150 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1151 - info - COMMIT
#1152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1153 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1154 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1155 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1156 - info - SELECT COUNT(name) FROM ac_modules
#1157 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1158 - info - SELECT name FROM ac_modules
#1159 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1160 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1161 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1162 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1163 - info - SELECT value FROM ac_config_options WHERE name = 'search_provider'
#1164 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1165 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1166 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1167 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1168 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1169 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1170 - info - BEGIN WORK
#1171 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1172 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1173 - info - UPDATE ac_config_options SET value = 'i:1387395655;' WHERE name = 'search_initialized_on'
#1174 - info - COMMIT
#1175 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1176 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1177 - info - SHOW TABLES LIKE 'ac_%'
#1178 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1179 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1180 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1181 - info - SHOW TABLES LIKE 'ac_%'
#1182 - info - DROP TABLE ac_test_table
#1183 - info - SHOW TABLES LIKE 'ac_config_options'
#1184 - info - SHOW TABLES LIKE 'ac_config_options'
#1185 - info - DROP TABLE `ac_config_options`
#1186 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1187 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1188 - info - DROP TABLE `ac_config_option_values`
#1189 - info - SHOW TABLES LIKE 'ac_modules'
#1190 - info - SHOW TABLES LIKE 'ac_modules'
#1191 - info - DROP TABLE `ac_modules`
#1192 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1193 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1194 - info - DROP TABLE `ac_executed_model_migrations`
#1195 - info - SHOW TABLES LIKE 'ac_update_history'
#1196 - info - SHOW TABLES LIKE 'ac_update_history'
#1197 - info - DROP TABLE `ac_update_history`
#1198 - info - SHOW TABLES LIKE 'ac_access_logs'
#1199 - info - SHOW TABLES LIKE 'ac_access_logs'
#1200 - info - DROP TABLE `ac_access_logs`
#1201 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1202 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1203 - info - DROP TABLE `ac_access_logs_archive`
#1204 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1205 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1206 - info - DROP TABLE `ac_object_contexts`
#1207 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1208 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1209 - info - DROP TABLE `ac_routing_cache`
#1210 - info - SHOW TABLES LIKE 'ac_currencies'
#1211 - info - SHOW TABLES LIKE 'ac_currencies'
#1212 - info - DROP TABLE `ac_currencies`
#1213 - info - SHOW TABLES LIKE 'ac_day_offs'
#1214 - info - SHOW TABLES LIKE 'ac_day_offs'
#1215 - info - DROP TABLE `ac_day_offs`
#1216 - info - SHOW TABLES LIKE 'ac_languages'
#1217 - info - SHOW TABLES LIKE 'ac_languages'
#1218 - info - DROP TABLE `ac_languages`
#1219 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1220 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1221 - info - DROP TABLE `ac_language_phrases`
#1222 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1223 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1224 - info - DROP TABLE `ac_language_phrase_translations`
#1225 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1226 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1227 - info - DROP TABLE `ac_api_client_subscriptions`
#1228 - info - SHOW TABLES LIKE 'ac_users'
#1229 - info - SHOW TABLES LIKE 'ac_users'
#1230 - info - DROP TABLE `ac_users`
#1231 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1232 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1233 - info - DROP TABLE `ac_user_addresses`
#1234 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1235 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1236 - info - DROP TABLE `ac_user_sessions`
#1237 - info - SHOW TABLES LIKE 'ac_security_logs'
#1238 - info - SHOW TABLES LIKE 'ac_security_logs'
#1239 - info - DROP TABLE `ac_security_logs`
#1240 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1241 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1242 - info - DROP TABLE `ac_api_token_logs`
#1243 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1244 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1245 - info - DROP TABLE `ac_activity_logs`
#1246 - info - SHOW TABLES LIKE 'ac_data_filters'
#1247 - info - SHOW TABLES LIKE 'ac_data_filters'
#1248 - info - DROP TABLE `ac_data_filters`
#1249 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1250 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1251 - info - DROP TABLE `ac_modification_logs`
#1252 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1253 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1254 - info - DROP TABLE `ac_modification_log_values`
#1255 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1256 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1257 - info - DROP TABLE `ac_mailing_activity_logs`
#1258 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1259 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1260 - info - DROP TABLE `ac_outgoing_messages`
#1261 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1262 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1263 - info - DROP TABLE `ac_incoming_mail_attachments`
#1264 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1265 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1266 - info - DROP TABLE `ac_incoming_mail_filters`
#1267 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1268 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1269 - info - DROP TABLE `ac_incoming_mailboxes`
#1270 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1271 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1272 - info - DROP TABLE `ac_incoming_mails`
#1273 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1274 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1275 - info - DROP TABLE `ac_homescreen_tabs`
#1276 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1277 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1278 - info - DROP TABLE `ac_homescreen_widgets`
#1279 - info - SHOW TABLES LIKE 'ac_announcements'
#1280 - info - SHOW TABLES LIKE 'ac_announcements'
#1281 - info - DROP TABLE `ac_announcements`
#1282 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1283 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1284 - info - DROP TABLE `ac_announcement_target_ids`
#1285 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1286 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1287 - info - DROP TABLE `ac_announcement_dismissals`
#1288 - info - SHOW TABLES LIKE 'ac_attachments'
#1289 - info - SHOW TABLES LIKE 'ac_attachments'
#1290 - info - DROP TABLE `ac_attachments`
#1291 - info - SHOW TABLES LIKE 'ac_notifications'
#1292 - info - SHOW TABLES LIKE 'ac_notifications'
#1293 - info - DROP TABLE `ac_notifications`
#1294 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1295 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1296 - info - DROP TABLE `ac_notification_recipients`
#1297 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1298 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1299 - info - DROP TABLE `ac_subscriptions`
#1300 - info - SHOW TABLES LIKE 'ac_comments'
#1301 - info - SHOW TABLES LIKE 'ac_comments'
#1302 - info - DROP TABLE `ac_comments`
#1303 - info - SHOW TABLES LIKE 'ac_categories'
#1304 - info - SHOW TABLES LIKE 'ac_categories'
#1305 - info - DROP TABLE `ac_categories`
#1306 - info - SHOW TABLES LIKE 'ac_labels'
#1307 - info - SHOW TABLES LIKE 'ac_labels'
#1308 - info - DROP TABLE `ac_labels`
#1309 - info - SHOW TABLES LIKE 'ac_assignments'
#1310 - info - SHOW TABLES LIKE 'ac_assignments'
#1311 - info - DROP TABLE `ac_assignments`
#1312 - info - SHOW TABLES LIKE 'ac_subtasks'
#1313 - info - SHOW TABLES LIKE 'ac_subtasks'
#1314 - info - DROP TABLE `ac_subtasks`
#1315 - info - SHOW TABLES LIKE 'ac_favorites'
#1316 - info - SHOW TABLES LIKE 'ac_favorites'
#1317 - info - DROP TABLE `ac_favorites`
#1318 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1319 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1320 - info - DROP TABLE `ac_code_snippets`
#1321 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1322 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1323 - info - DROP TABLE `ac_payment_gateways`
#1324 - info - SHOW TABLES LIKE 'ac_payments'
#1325 - info - SHOW TABLES LIKE 'ac_payments'
#1326 - info - DROP TABLE `ac_payments`
#1327 - info - SHOW TABLES LIKE 'ac_reminders'
#1328 - info - SHOW TABLES LIKE 'ac_reminders'
#1329 - info - DROP TABLE `ac_reminders`
#1330 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1331 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1332 - info - DROP TABLE `ac_reminder_users`
#1333 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1334 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1335 - info - DROP TABLE `ac_custom_fields`
#1336 - info - SHOW TABLES LIKE 'ac_calendars'
#1337 - info - SHOW TABLES LIKE 'ac_calendars'
#1338 - info - DROP TABLE `ac_calendars`
#1339 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1340 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1341 - info - DROP TABLE `ac_calendar_events`
#1342 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1343 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1344 - info - DROP TABLE `ac_calendar_users`
#1345 - info - SHOW TABLES LIKE 'ac_data_sources'
#1346 - info - SHOW TABLES LIKE 'ac_data_sources'
#1347 - info - DROP TABLE `ac_data_sources`
#1348 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1349 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1350 - info - DROP TABLE `ac_data_source_mappings`
#1351 - info - SHOW TABLES LIKE 'ac_companies'
#1352 - info - SHOW TABLES LIKE 'ac_companies'
#1353 - info - DROP TABLE `ac_companies`
#1354 - info - SHOW TABLES LIKE 'ac_projects'
#1355 - info - SHOW TABLES LIKE 'ac_projects'
#1356 - info - DROP TABLE `ac_projects`
#1357 - info - SHOW TABLES LIKE 'ac_project_roles'
#1358 - info - SHOW TABLES LIKE 'ac_project_roles'
#1359 - info - DROP TABLE `ac_project_roles`
#1360 - info - SHOW TABLES LIKE 'ac_project_users'
#1361 - info - SHOW TABLES LIKE 'ac_project_users'
#1362 - info - DROP TABLE `ac_project_users`
#1363 - info - SHOW TABLES LIKE 'ac_project_requests'
#1364 - info - SHOW TABLES LIKE 'ac_project_requests'
#1365 - info - DROP TABLE `ac_project_requests`
#1366 - info - SHOW TABLES LIKE 'ac_project_objects'
#1367 - info - SHOW TABLES LIKE 'ac_project_objects'
#1368 - info - DROP TABLE `ac_project_objects`
#1369 - info - SHOW TABLES LIKE 'ac_project_templates'
#1370 - info - SHOW TABLES LIKE 'ac_project_templates'
#1371 - info - DROP TABLE `ac_project_templates`
#1372 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1373 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1374 - info - DROP TABLE `ac_project_object_templates`
#1375 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1376 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1377 - info - DROP TABLE `ac_shared_object_profiles`
#1378 - info - SHOW TABLES LIKE 'ac_file_versions'
#1379 - info - SHOW TABLES LIKE 'ac_file_versions'
#1380 - info - DROP TABLE `ac_file_versions`
#1381 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1382 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1383 - info - DROP TABLE `ac_text_document_versions`
#1384 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1385 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1386 - info - DROP TABLE `ac_public_task_forms`
#1387 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1388 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1389 - info - DROP TABLE `ac_related_tasks`
#1390 - info - SHOW TABLES LIKE 'ac_task_segments'
#1391 - info - SHOW TABLES LIKE 'ac_task_segments'
#1392 - info - DROP TABLE `ac_task_segments`
#1393 - info - SHOW TABLES LIKE 'ac_status_updates'
#1394 - info - SHOW TABLES LIKE 'ac_status_updates'
#1395 - info - DROP TABLE `ac_status_updates`
#1396 - info - SHOW TABLES LIKE 'ac_documents'
#1397 - info - SHOW TABLES LIKE 'ac_documents'
#1398 - info - DROP TABLE `ac_documents`
#1399 - info - SHOW TABLES LIKE 'ac_time_records'
#1400 - info - SHOW TABLES LIKE 'ac_time_records'
#1401 - info - DROP TABLE `ac_time_records`
#1402 - info - SHOW TABLES LIKE 'ac_job_types'
#1403 - info - SHOW TABLES LIKE 'ac_job_types'
#1404 - info - DROP TABLE `ac_job_types`
#1405 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1406 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1407 - info - DROP TABLE `ac_project_hourly_rates`
#1408 - info - SHOW TABLES LIKE 'ac_expenses'
#1409 - info - SHOW TABLES LIKE 'ac_expenses'
#1410 - info - DROP TABLE `ac_expenses`
#1411 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1412 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1413 - info - DROP TABLE `ac_expense_categories`
#1414 - info - SHOW TABLES LIKE 'ac_estimates'
#1415 - info - SHOW TABLES LIKE 'ac_estimates'
#1416 - info - DROP TABLE `ac_estimates`
#1417 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1418 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1419 - info - DROP TABLE `ac_invoice_objects`
#1420 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1421 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1422 - info - DROP TABLE `ac_invoice_object_items`
#1423 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1424 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1425 - info - DROP TABLE `ac_invoice_item_templates`
#1426 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1427 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1428 - info - DROP TABLE `ac_invoice_note_templates`
#1429 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1430 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1431 - info - DROP TABLE `ac_invoice_related_records`
#1432 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1433 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1434 - info - DROP TABLE `ac_tax_rates`
#1435 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1436 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1437 - info - DROP TABLE `ac_notebook_pages`
#1438 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1439 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1440 - info - DROP TABLE `ac_notebook_page_versions`
#1441 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1442 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1443 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1444 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1445 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1446 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1447 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1448 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1449 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1450 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1451 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1452 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1453 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1454 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1455 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1456 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1457 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1458 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1459 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1460 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1461 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1462 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1463 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1464 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1465 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1466 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1467 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1468 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1469 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1470 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1471 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1472 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1473 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1474 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1475 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1476 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1477 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1478 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1479 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1480 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1481 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1482 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1483 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1484 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1485 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1486 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1487 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1488 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1489 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1490 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1491 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1492 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1493 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1494 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1495 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1496 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1497 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1498 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1499 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1500 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1501 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1502 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1503 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1504 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1505 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1506 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1507 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1508 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1509 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1510 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1511 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1512 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1513 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1514 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1515 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1516 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1517 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1518 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1519 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1520 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1521 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1522 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1523 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1524 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1525 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1526 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#1528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#1529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#1530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#1531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#1532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#1533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#1534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#1535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#1536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#1537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#1538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#1539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#1540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#1541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#1542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#1543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#1544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#1545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#1546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#1547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#1548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1554 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1557 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1560 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1562 - info - BEGIN WORK
#1563 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1564 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1565 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1566 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1567 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1568 - info - COMMIT
#1569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1571 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1572 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1596 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1597 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1598 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1599 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1600 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1601 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1602 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1603 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1604 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1605 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1606 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1607 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1608 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1609 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1610 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1612 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1613 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1614 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1615 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1616 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395656;')
#1623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1635 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1636 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1637 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1639 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1647 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1648 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1650 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1651 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1652 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1653 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1654 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1655 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1656 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1657 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1658 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1660 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1661 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1662 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1666 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1667 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1668 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1669 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1670 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:56', '1')
#1671 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1672 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1673 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1674 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1676 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1678 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1684 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1685 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1686 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1687 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1689 - info - BEGIN WORK
#1690 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1691 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1692 - info - COMMIT
#1693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1694 - info - BEGIN WORK
#1695 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1696 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1697 - info - COMMIT
#1698 - info - BEGIN WORK
#1699 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1700 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1701 - info - COMMIT
#1702 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1703 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1704 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1705 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1708 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1709 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1710 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1711 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1712 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1716 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1718 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1733 - info - SHOW TABLES LIKE 'ac_job_types'
#1734 - info - SELECT COUNT(id) FROM ac_job_types
#1735 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1736 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1737 - info - BEGIN WORK
#1738 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1739 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1740 - info - COMMIT
#1741 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1742 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1743 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1744 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1745 - info - SELECT COUNT(name) FROM ac_modules
#1746 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1747 - info - SELECT name FROM ac_modules
#1748 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1749 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1750 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1751 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1752 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1753 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1754 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1755 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1756 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1757 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1758 - info - BEGIN WORK
#1759 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1760 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1761 - info - UPDATE ac_config_options SET value = 'i:1387395656;' WHERE name = 'search_initialized_on'
#1762 - info - COMMIT
#1763 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1764 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1765 - info - SELECT COUNT(*) FROM ac_test_table
#1766 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1767 - info - DROP TABLE `ac_test_table_migrate_test`
#1768 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1769 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1770 - info - INSERT INTO ac_test_table_migrate_test (name) VALUES ('Test Migration')
#1771 - info - SHOW TABLES LIKE 'ac_test_table_O0OA67j7mr'
#1772 - info - RENAME TABLE ac_test_table TO ac_test_table_O0OA67j7mr, ac_test_table_migrate_test TO ac_test_table
#1773 - info - DROP TABLE ac_test_table_O0OA67j7mr
#1774 - info - SELECT COUNT(*) FROM ac_test_table
#1775 - info - DROP TABLE ac_test_table
#1776 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_date' AND parent_type = 'User' AND parent_id = '1'
#1777 - info - SELECT value FROM ac_config_options WHERE name = 'format_date'
#1778 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_timezone' AND parent_type = 'User' AND parent_id = '1'
#1779 - info - SELECT value FROM ac_config_options WHERE name = 'time_timezone'
#1780 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_dst' AND parent_type = 'User' AND parent_id = '1'
#1781 - info - SELECT value FROM ac_config_options WHERE name = 'time_dst'
#1782 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_time' AND parent_type = 'User' AND parent_id = '1'
#1783 - info - SELECT value FROM ac_config_options WHERE name = 'format_time'
#1784 - info - CREATE TABLE ac_test_db_result_to_json (
        id int(11) NOT NULL auto_increment,
        string_field varchar(255) default NULL,
        int_field int(11) default NULL,
        other float default NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
#1785 - info - SHOW TABLES LIKE 'ac_%'
#1786 - info - INSERT INTO ac_test_db_result_to_json (id,string_field,int_field,other) VALUES (1,'A',5,3.2), (2,'Another record',18,NULL);
#1787 - info - SELECT * FROM ac_test_db_result_to_json
#1788 - info - DROP TABLE ac_test_db_result_to_json
#1789 - info - SHOW TABLES LIKE 'ac_%'
#1790 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1791 - info - BEGIN WORK
#1792 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1793 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 1'
#1794 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 1', 'TestDataObject', '2013-12-18 19:40:56')
#1795 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1796 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1797 - info - COMMIT
#1798 - info - BEGIN WORK
#1799 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1800 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 2'
#1801 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 2', 'TestDataObject', '2013-12-18 19:40:56')
#1802 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1803 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1804 - info - COMMIT
#1805 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1806 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1807 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1808 - info - BEGIN WORK
#1809 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1810 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#1811 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'TestDataObject', '2013-12-18 19:40:56')
#1812 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1813 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1814 - info - COMMIT
#1815 - info - BEGIN WORK
#1816 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1817 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1818 - info - COMMIT
#1819 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1820 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1821 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1822 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1823 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object name', 'Object description')
#1824 - info - SELECT id, name, description, type, created_on, updated_on FROM ac_test_data_objects WHERE id = '1'  LIMIT 0, 1
#1825 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1826 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1827 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object #1', 'Description #1'), ('Object #2', 'Description #2'), ('Object #3', 'TestDataObject')
#1828 - info - SELECT * FROM ac_test_data_objects
#1829 - info - SELECT * FROM ac_test_data_objects ORDER BY name
#1830 - info - SELECT * FROM ac_test_data_objects WHERE name = 'Object #3'
#1831 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1832 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1833 - info - BEGIN WORK
#1834 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1835 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1836 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 19:40:56')
#1837 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1838 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1839 - info - COMMIT
#1840 - info - BEGIN WORK
#1841 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1842 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1843 - info - COMMIT
#1844 - info - BEGIN WORK
#1845 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1846 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1847 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on, id) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 19:40:56', '1')
#1848 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1849 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1850 - info - COMMIT
#1851 - info - SELECT * FROM ac_test_data_objects WHERE id = '1'    LIMIT 0, 1
#1852 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1853 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1854 - info - BEGIN WORK
#1855 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1856 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1857 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('First name', 'TestDataObject', '2013-12-18 19:40:56')
#1858 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1859 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1860 - info - COMMIT
#1861 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1862 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1863 - info - BEGIN WORK
#1864 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1865 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New name'
#1866 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New name', 'TestDataObject', '2013-12-18 19:40:56')
#1867 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1868 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1869 - info - COMMIT
#1870 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1871 - info - BEGIN WORK
#1872 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1873 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'Something something') AND (id <> '1')
#1874 - info - UPDATE ac_test_data_objects SET name = 'Something something', updated_on = '2013-12-18 19:40:56' WHERE id = '1'
#1875 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1876 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1877 - info - COMMIT
#1878 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1879 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1880 - info - BEGIN WORK
#1881 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1882 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'My name'
#1883 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('My name', 'TestDataObject', '2013-12-18 19:40:56')
#1884 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1885 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1886 - info - COMMIT
#1887 - info - BEGIN WORK
#1888 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1889 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'My name') AND (id <> '1')
#1890 - info - SELECT count(*) AS 'row_count' FROM ac_test_data_objects WHERE id = '1'
#1891 - info - UPDATE ac_test_data_objects SET id = '12', updated_on = '2013-12-18 19:40:56' WHERE id = '1'
#1892 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1893 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1894 - info - COMMIT
#1895 - info - SELECT * FROM ac_test_data_objects WHERE id = '12' LIMIT 0, 1
#1896 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1897 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1898 - info - BEGIN WORK
#1899 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1900 - info - ROLLBACK
#1901 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#1902 - info - BEGIN WORK
#1903 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1904 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#1905 - info - INSERT INTO ac_test_data_objects (type, created_on, name) VALUES ('TestDataObject', '2013-12-18 19:40:56', 'Unique name')
#1906 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1907 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1908 - info - COMMIT
#1909 - info - BEGIN WORK
#1910 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1911 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#1912 - info - ROLLBACK
#1913 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#1914 - info - BEGIN WORK
#1915 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1916 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New, better name'
#1917 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New, better name', 'TestDataObject', '2013-12-18 19:40:56')
#1918 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1919 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1920 - info - COMMIT
#1921 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1922 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1923 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1924 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1925 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1926 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1927 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1928 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1929 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1930 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1931 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1932 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1933 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1934 - info - SHOW TABLES LIKE 'ac_config_options'
#1935 - info - SHOW TABLES LIKE 'ac_config_options'
#1936 - info - DROP TABLE `ac_config_options`
#1937 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1938 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1939 - info - DROP TABLE `ac_config_option_values`
#1940 - info - SHOW TABLES LIKE 'ac_modules'
#1941 - info - SHOW TABLES LIKE 'ac_modules'
#1942 - info - DROP TABLE `ac_modules`
#1943 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1944 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1945 - info - DROP TABLE `ac_executed_model_migrations`
#1946 - info - SHOW TABLES LIKE 'ac_update_history'
#1947 - info - SHOW TABLES LIKE 'ac_update_history'
#1948 - info - DROP TABLE `ac_update_history`
#1949 - info - SHOW TABLES LIKE 'ac_access_logs'
#1950 - info - SHOW TABLES LIKE 'ac_access_logs'
#1951 - info - DROP TABLE `ac_access_logs`
#1952 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1953 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1954 - info - DROP TABLE `ac_access_logs_archive`
#1955 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1956 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1957 - info - DROP TABLE `ac_object_contexts`
#1958 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1959 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1960 - info - DROP TABLE `ac_routing_cache`
#1961 - info - SHOW TABLES LIKE 'ac_currencies'
#1962 - info - SHOW TABLES LIKE 'ac_currencies'
#1963 - info - DROP TABLE `ac_currencies`
#1964 - info - SHOW TABLES LIKE 'ac_day_offs'
#1965 - info - SHOW TABLES LIKE 'ac_day_offs'
#1966 - info - DROP TABLE `ac_day_offs`
#1967 - info - SHOW TABLES LIKE 'ac_languages'
#1968 - info - SHOW TABLES LIKE 'ac_languages'
#1969 - info - DROP TABLE `ac_languages`
#1970 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1971 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1972 - info - DROP TABLE `ac_language_phrases`
#1973 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1974 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1975 - info - DROP TABLE `ac_language_phrase_translations`
#1976 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1977 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1978 - info - DROP TABLE `ac_api_client_subscriptions`
#1979 - info - SHOW TABLES LIKE 'ac_users'
#1980 - info - SHOW TABLES LIKE 'ac_users'
#1981 - info - DROP TABLE `ac_users`
#1982 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1983 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1984 - info - DROP TABLE `ac_user_addresses`
#1985 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1986 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1987 - info - DROP TABLE `ac_user_sessions`
#1988 - info - SHOW TABLES LIKE 'ac_security_logs'
#1989 - info - SHOW TABLES LIKE 'ac_security_logs'
#1990 - info - DROP TABLE `ac_security_logs`
#1991 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1992 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1993 - info - DROP TABLE `ac_api_token_logs`
#1994 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1995 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1996 - info - DROP TABLE `ac_activity_logs`
#1997 - info - SHOW TABLES LIKE 'ac_data_filters'
#1998 - info - SHOW TABLES LIKE 'ac_data_filters'
#1999 - info - DROP TABLE `ac_data_filters`
#2000 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2001 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2002 - info - DROP TABLE `ac_modification_logs`
#2003 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2004 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2005 - info - DROP TABLE `ac_modification_log_values`
#2006 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2007 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2008 - info - DROP TABLE `ac_mailing_activity_logs`
#2009 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2010 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2011 - info - DROP TABLE `ac_outgoing_messages`
#2012 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2013 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2014 - info - DROP TABLE `ac_incoming_mail_attachments`
#2015 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2016 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2017 - info - DROP TABLE `ac_incoming_mail_filters`
#2018 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2019 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2020 - info - DROP TABLE `ac_incoming_mailboxes`
#2021 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2022 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2023 - info - DROP TABLE `ac_incoming_mails`
#2024 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2025 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2026 - info - DROP TABLE `ac_homescreen_tabs`
#2027 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2028 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2029 - info - DROP TABLE `ac_homescreen_widgets`
#2030 - info - SHOW TABLES LIKE 'ac_announcements'
#2031 - info - SHOW TABLES LIKE 'ac_announcements'
#2032 - info - DROP TABLE `ac_announcements`
#2033 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2034 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2035 - info - DROP TABLE `ac_announcement_target_ids`
#2036 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2037 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2038 - info - DROP TABLE `ac_announcement_dismissals`
#2039 - info - SHOW TABLES LIKE 'ac_attachments'
#2040 - info - SHOW TABLES LIKE 'ac_attachments'
#2041 - info - DROP TABLE `ac_attachments`
#2042 - info - SHOW TABLES LIKE 'ac_notifications'
#2043 - info - SHOW TABLES LIKE 'ac_notifications'
#2044 - info - DROP TABLE `ac_notifications`
#2045 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2046 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2047 - info - DROP TABLE `ac_notification_recipients`
#2048 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2049 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2050 - info - DROP TABLE `ac_subscriptions`
#2051 - info - SHOW TABLES LIKE 'ac_comments'
#2052 - info - SHOW TABLES LIKE 'ac_comments'
#2053 - info - DROP TABLE `ac_comments`
#2054 - info - SHOW TABLES LIKE 'ac_categories'
#2055 - info - SHOW TABLES LIKE 'ac_categories'
#2056 - info - DROP TABLE `ac_categories`
#2057 - info - SHOW TABLES LIKE 'ac_labels'
#2058 - info - SHOW TABLES LIKE 'ac_labels'
#2059 - info - DROP TABLE `ac_labels`
#2060 - info - SHOW TABLES LIKE 'ac_assignments'
#2061 - info - SHOW TABLES LIKE 'ac_assignments'
#2062 - info - DROP TABLE `ac_assignments`
#2063 - info - SHOW TABLES LIKE 'ac_subtasks'
#2064 - info - SHOW TABLES LIKE 'ac_subtasks'
#2065 - info - DROP TABLE `ac_subtasks`
#2066 - info - SHOW TABLES LIKE 'ac_favorites'
#2067 - info - SHOW TABLES LIKE 'ac_favorites'
#2068 - info - DROP TABLE `ac_favorites`
#2069 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2070 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2071 - info - DROP TABLE `ac_code_snippets`
#2072 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2073 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2074 - info - DROP TABLE `ac_payment_gateways`
#2075 - info - SHOW TABLES LIKE 'ac_payments'
#2076 - info - SHOW TABLES LIKE 'ac_payments'
#2077 - info - DROP TABLE `ac_payments`
#2078 - info - SHOW TABLES LIKE 'ac_reminders'
#2079 - info - SHOW TABLES LIKE 'ac_reminders'
#2080 - info - DROP TABLE `ac_reminders`
#2081 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2082 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2083 - info - DROP TABLE `ac_reminder_users`
#2084 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2085 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2086 - info - DROP TABLE `ac_custom_fields`
#2087 - info - SHOW TABLES LIKE 'ac_calendars'
#2088 - info - SHOW TABLES LIKE 'ac_calendars'
#2089 - info - DROP TABLE `ac_calendars`
#2090 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2091 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2092 - info - DROP TABLE `ac_calendar_events`
#2093 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2094 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2095 - info - DROP TABLE `ac_calendar_users`
#2096 - info - SHOW TABLES LIKE 'ac_data_sources'
#2097 - info - SHOW TABLES LIKE 'ac_data_sources'
#2098 - info - DROP TABLE `ac_data_sources`
#2099 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2100 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2101 - info - DROP TABLE `ac_data_source_mappings`
#2102 - info - SHOW TABLES LIKE 'ac_companies'
#2103 - info - SHOW TABLES LIKE 'ac_companies'
#2104 - info - DROP TABLE `ac_companies`
#2105 - info - SHOW TABLES LIKE 'ac_projects'
#2106 - info - SHOW TABLES LIKE 'ac_projects'
#2107 - info - DROP TABLE `ac_projects`
#2108 - info - SHOW TABLES LIKE 'ac_project_roles'
#2109 - info - SHOW TABLES LIKE 'ac_project_roles'
#2110 - info - DROP TABLE `ac_project_roles`
#2111 - info - SHOW TABLES LIKE 'ac_project_users'
#2112 - info - SHOW TABLES LIKE 'ac_project_users'
#2113 - info - DROP TABLE `ac_project_users`
#2114 - info - SHOW TABLES LIKE 'ac_project_requests'
#2115 - info - SHOW TABLES LIKE 'ac_project_requests'
#2116 - info - DROP TABLE `ac_project_requests`
#2117 - info - SHOW TABLES LIKE 'ac_project_objects'
#2118 - info - SHOW TABLES LIKE 'ac_project_objects'
#2119 - info - DROP TABLE `ac_project_objects`
#2120 - info - SHOW TABLES LIKE 'ac_project_templates'
#2121 - info - SHOW TABLES LIKE 'ac_project_templates'
#2122 - info - DROP TABLE `ac_project_templates`
#2123 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2124 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2125 - info - DROP TABLE `ac_project_object_templates`
#2126 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2127 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2128 - info - DROP TABLE `ac_shared_object_profiles`
#2129 - info - SHOW TABLES LIKE 'ac_file_versions'
#2130 - info - SHOW TABLES LIKE 'ac_file_versions'
#2131 - info - DROP TABLE `ac_file_versions`
#2132 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2133 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2134 - info - DROP TABLE `ac_text_document_versions`
#2135 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2136 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2137 - info - DROP TABLE `ac_public_task_forms`
#2138 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2139 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2140 - info - DROP TABLE `ac_related_tasks`
#2141 - info - SHOW TABLES LIKE 'ac_task_segments'
#2142 - info - SHOW TABLES LIKE 'ac_task_segments'
#2143 - info - DROP TABLE `ac_task_segments`
#2144 - info - SHOW TABLES LIKE 'ac_status_updates'
#2145 - info - SHOW TABLES LIKE 'ac_status_updates'
#2146 - info - DROP TABLE `ac_status_updates`
#2147 - info - SHOW TABLES LIKE 'ac_documents'
#2148 - info - SHOW TABLES LIKE 'ac_documents'
#2149 - info - DROP TABLE `ac_documents`
#2150 - info - SHOW TABLES LIKE 'ac_time_records'
#2151 - info - SHOW TABLES LIKE 'ac_time_records'
#2152 - info - DROP TABLE `ac_time_records`
#2153 - info - SHOW TABLES LIKE 'ac_job_types'
#2154 - info - SHOW TABLES LIKE 'ac_job_types'
#2155 - info - DROP TABLE `ac_job_types`
#2156 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2157 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2158 - info - DROP TABLE `ac_project_hourly_rates`
#2159 - info - SHOW TABLES LIKE 'ac_expenses'
#2160 - info - SHOW TABLES LIKE 'ac_expenses'
#2161 - info - DROP TABLE `ac_expenses`
#2162 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2163 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2164 - info - DROP TABLE `ac_expense_categories`
#2165 - info - SHOW TABLES LIKE 'ac_estimates'
#2166 - info - SHOW TABLES LIKE 'ac_estimates'
#2167 - info - DROP TABLE `ac_estimates`
#2168 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2169 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2170 - info - DROP TABLE `ac_invoice_objects`
#2171 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2172 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2173 - info - DROP TABLE `ac_invoice_object_items`
#2174 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2175 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2176 - info - DROP TABLE `ac_invoice_item_templates`
#2177 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2178 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2179 - info - DROP TABLE `ac_invoice_note_templates`
#2180 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2181 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2182 - info - DROP TABLE `ac_invoice_related_records`
#2183 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2184 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2185 - info - DROP TABLE `ac_tax_rates`
#2186 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2187 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2188 - info - DROP TABLE `ac_notebook_pages`
#2189 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2190 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2191 - info - DROP TABLE `ac_notebook_page_versions`
#2192 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2193 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2194 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2195 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2196 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2197 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2198 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2199 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2200 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2201 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2202 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2203 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2204 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2205 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2206 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2207 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2208 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2209 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2210 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2211 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2212 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2213 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2214 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2215 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2216 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2217 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2218 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2219 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2220 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2221 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2222 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2223 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2224 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2225 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2226 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2227 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2228 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2229 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2230 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2231 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2232 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2233 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2234 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2235 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2236 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2237 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2238 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2239 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2240 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2241 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2242 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2243 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2244 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2245 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2246 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2247 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2248 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2249 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2250 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2251 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2252 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2253 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2254 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2255 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2256 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2257 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2258 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2259 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2260 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2261 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2262 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2263 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2264 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2265 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2266 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2267 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2268 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2269 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2270 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2271 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2272 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2273 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2274 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2275 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2276 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2277 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2278 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2279 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2280 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2281 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2282 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2283 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2284 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2285 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2286 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2287 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2288 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2289 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2290 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2291 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2292 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2293 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2294 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2295 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2297 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2298 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2299 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2300 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2301 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2302 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2303 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2304 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2305 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2306 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2307 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2308 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2309 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2310 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2311 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2313 - info - BEGIN WORK
#2314 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2315 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2316 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2317 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2318 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2319 - info - COMMIT
#2320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2345 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2346 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2347 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2348 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2349 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2350 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2351 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2352 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2353 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2354 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2355 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2356 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2357 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2358 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2359 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2360 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395657;')
#2374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2386 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2387 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2388 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2390 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2398 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2399 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#2405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#2406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#2407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#2408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#2409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#2410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#2411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#2412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#2413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#2414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#2415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#2416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#2417 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#2418 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#2419 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#2420 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#2421 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:57', '1')
#2422 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2423 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2424 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2425 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#2427 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#2429 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#2431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#2432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#2433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#2434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#2435 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#2436 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#2437 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#2438 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#2440 - info - BEGIN WORK
#2441 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#2442 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#2443 - info - COMMIT
#2444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#2445 - info - BEGIN WORK
#2446 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2447 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#2448 - info - COMMIT
#2449 - info - BEGIN WORK
#2450 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2451 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#2452 - info - COMMIT
#2453 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2454 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2455 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#2456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#2457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#2458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#2459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#2460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#2461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#2462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#2463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#2464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#2465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#2466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#2467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#2468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#2469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#2470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#2471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#2472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#2473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#2474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#2475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#2476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#2477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#2478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#2479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#2480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#2481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#2482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#2483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#2484 - info - SHOW TABLES LIKE 'ac_job_types'
#2485 - info - SELECT COUNT(id) FROM ac_job_types
#2486 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2487 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#2488 - info - BEGIN WORK
#2489 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#2490 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#2491 - info - COMMIT
#2492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#2493 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2494 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2495 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#2496 - info - SELECT COUNT(name) FROM ac_modules
#2497 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#2498 - info - SELECT name FROM ac_modules
#2499 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#2500 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#2501 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#2502 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#2503 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#2504 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#2505 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#2506 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#2507 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#2508 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#2509 - info - BEGIN WORK
#2510 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#2511 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#2512 - info - UPDATE ac_config_options SET value = 'i:1387395657;' WHERE name = 'search_initialized_on'
#2513 - info - COMMIT
#2514 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#2515 - info - SELECT COUNT(*) FROM  ac_config_options
#2516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'i:12;')
#2517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 2', 'N;')
#2518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 's:9:\"something\";')
#2519 - info - SELECT COUNT(*) FROM  ac_config_options
#2520 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2521 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2522 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2523 - info - BEGIN WORK
#2524 - info - Transaction level increased to 1. Message: Begin Work: Removing config option
#2525 - info - DELETE FROM ac_config_options WHERE name = 'Option 2'
#2526 - info - DELETE FROM ac_config_option_values WHERE name = 'Option 2'
#2527 - info - COMMIT
#2528 - info - SELECT COUNT(*) FROM  ac_config_options
#2529 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2530 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2531 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2532 - info - BEGIN WORK
#2533 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#2534 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#2535 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 3')
#2536 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3')
#2537 - info - COMMIT
#2538 - info - SELECT COUNT(*) FROM  ac_config_options
#2539 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2540 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2541 - info - SHOW TABLES LIKE 'ac_config_options'
#2542 - info - SHOW TABLES LIKE 'ac_config_options'
#2543 - info - DROP TABLE `ac_config_options`
#2544 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2545 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2546 - info - DROP TABLE `ac_config_option_values`
#2547 - info - SHOW TABLES LIKE 'ac_modules'
#2548 - info - SHOW TABLES LIKE 'ac_modules'
#2549 - info - DROP TABLE `ac_modules`
#2550 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2551 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2552 - info - DROP TABLE `ac_executed_model_migrations`
#2553 - info - SHOW TABLES LIKE 'ac_update_history'
#2554 - info - SHOW TABLES LIKE 'ac_update_history'
#2555 - info - DROP TABLE `ac_update_history`
#2556 - info - SHOW TABLES LIKE 'ac_access_logs'
#2557 - info - SHOW TABLES LIKE 'ac_access_logs'
#2558 - info - DROP TABLE `ac_access_logs`
#2559 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2560 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2561 - info - DROP TABLE `ac_access_logs_archive`
#2562 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2563 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2564 - info - DROP TABLE `ac_object_contexts`
#2565 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2566 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2567 - info - DROP TABLE `ac_routing_cache`
#2568 - info - SHOW TABLES LIKE 'ac_currencies'
#2569 - info - SHOW TABLES LIKE 'ac_currencies'
#2570 - info - DROP TABLE `ac_currencies`
#2571 - info - SHOW TABLES LIKE 'ac_day_offs'
#2572 - info - SHOW TABLES LIKE 'ac_day_offs'
#2573 - info - DROP TABLE `ac_day_offs`
#2574 - info - SHOW TABLES LIKE 'ac_languages'
#2575 - info - SHOW TABLES LIKE 'ac_languages'
#2576 - info - DROP TABLE `ac_languages`
#2577 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2578 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2579 - info - DROP TABLE `ac_language_phrases`
#2580 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2581 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2582 - info - DROP TABLE `ac_language_phrase_translations`
#2583 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2584 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2585 - info - DROP TABLE `ac_api_client_subscriptions`
#2586 - info - SHOW TABLES LIKE 'ac_users'
#2587 - info - SHOW TABLES LIKE 'ac_users'
#2588 - info - DROP TABLE `ac_users`
#2589 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2590 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2591 - info - DROP TABLE `ac_user_addresses`
#2592 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2593 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2594 - info - DROP TABLE `ac_user_sessions`
#2595 - info - SHOW TABLES LIKE 'ac_security_logs'
#2596 - info - SHOW TABLES LIKE 'ac_security_logs'
#2597 - info - DROP TABLE `ac_security_logs`
#2598 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2599 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2600 - info - DROP TABLE `ac_api_token_logs`
#2601 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2602 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2603 - info - DROP TABLE `ac_activity_logs`
#2604 - info - SHOW TABLES LIKE 'ac_data_filters'
#2605 - info - SHOW TABLES LIKE 'ac_data_filters'
#2606 - info - DROP TABLE `ac_data_filters`
#2607 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2608 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2609 - info - DROP TABLE `ac_modification_logs`
#2610 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2611 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2612 - info - DROP TABLE `ac_modification_log_values`
#2613 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2614 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2615 - info - DROP TABLE `ac_mailing_activity_logs`
#2616 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2617 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2618 - info - DROP TABLE `ac_outgoing_messages`
#2619 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2620 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2621 - info - DROP TABLE `ac_incoming_mail_attachments`
#2622 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2623 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2624 - info - DROP TABLE `ac_incoming_mail_filters`
#2625 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2626 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2627 - info - DROP TABLE `ac_incoming_mailboxes`
#2628 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2629 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2630 - info - DROP TABLE `ac_incoming_mails`
#2631 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2632 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2633 - info - DROP TABLE `ac_homescreen_tabs`
#2634 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2635 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2636 - info - DROP TABLE `ac_homescreen_widgets`
#2637 - info - SHOW TABLES LIKE 'ac_announcements'
#2638 - info - SHOW TABLES LIKE 'ac_announcements'
#2639 - info - DROP TABLE `ac_announcements`
#2640 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2641 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2642 - info - DROP TABLE `ac_announcement_target_ids`
#2643 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2644 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2645 - info - DROP TABLE `ac_announcement_dismissals`
#2646 - info - SHOW TABLES LIKE 'ac_attachments'
#2647 - info - SHOW TABLES LIKE 'ac_attachments'
#2648 - info - DROP TABLE `ac_attachments`
#2649 - info - SHOW TABLES LIKE 'ac_notifications'
#2650 - info - SHOW TABLES LIKE 'ac_notifications'
#2651 - info - DROP TABLE `ac_notifications`
#2652 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2653 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2654 - info - DROP TABLE `ac_notification_recipients`
#2655 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2656 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2657 - info - DROP TABLE `ac_subscriptions`
#2658 - info - SHOW TABLES LIKE 'ac_comments'
#2659 - info - SHOW TABLES LIKE 'ac_comments'
#2660 - info - DROP TABLE `ac_comments`
#2661 - info - SHOW TABLES LIKE 'ac_categories'
#2662 - info - SHOW TABLES LIKE 'ac_categories'
#2663 - info - DROP TABLE `ac_categories`
#2664 - info - SHOW TABLES LIKE 'ac_labels'
#2665 - info - SHOW TABLES LIKE 'ac_labels'
#2666 - info - DROP TABLE `ac_labels`
#2667 - info - SHOW TABLES LIKE 'ac_assignments'
#2668 - info - SHOW TABLES LIKE 'ac_assignments'
#2669 - info - DROP TABLE `ac_assignments`
#2670 - info - SHOW TABLES LIKE 'ac_subtasks'
#2671 - info - SHOW TABLES LIKE 'ac_subtasks'
#2672 - info - DROP TABLE `ac_subtasks`
#2673 - info - SHOW TABLES LIKE 'ac_favorites'
#2674 - info - SHOW TABLES LIKE 'ac_favorites'
#2675 - info - DROP TABLE `ac_favorites`
#2676 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2677 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2678 - info - DROP TABLE `ac_code_snippets`
#2679 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2680 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2681 - info - DROP TABLE `ac_payment_gateways`
#2682 - info - SHOW TABLES LIKE 'ac_payments'
#2683 - info - SHOW TABLES LIKE 'ac_payments'
#2684 - info - DROP TABLE `ac_payments`
#2685 - info - SHOW TABLES LIKE 'ac_reminders'
#2686 - info - SHOW TABLES LIKE 'ac_reminders'
#2687 - info - DROP TABLE `ac_reminders`
#2688 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2689 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2690 - info - DROP TABLE `ac_reminder_users`
#2691 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2692 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2693 - info - DROP TABLE `ac_custom_fields`
#2694 - info - SHOW TABLES LIKE 'ac_calendars'
#2695 - info - SHOW TABLES LIKE 'ac_calendars'
#2696 - info - DROP TABLE `ac_calendars`
#2697 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2698 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2699 - info - DROP TABLE `ac_calendar_events`
#2700 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2701 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2702 - info - DROP TABLE `ac_calendar_users`
#2703 - info - SHOW TABLES LIKE 'ac_data_sources'
#2704 - info - SHOW TABLES LIKE 'ac_data_sources'
#2705 - info - DROP TABLE `ac_data_sources`
#2706 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2707 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2708 - info - DROP TABLE `ac_data_source_mappings`
#2709 - info - SHOW TABLES LIKE 'ac_companies'
#2710 - info - SHOW TABLES LIKE 'ac_companies'
#2711 - info - DROP TABLE `ac_companies`
#2712 - info - SHOW TABLES LIKE 'ac_projects'
#2713 - info - SHOW TABLES LIKE 'ac_projects'
#2714 - info - DROP TABLE `ac_projects`
#2715 - info - SHOW TABLES LIKE 'ac_project_roles'
#2716 - info - SHOW TABLES LIKE 'ac_project_roles'
#2717 - info - DROP TABLE `ac_project_roles`
#2718 - info - SHOW TABLES LIKE 'ac_project_users'
#2719 - info - SHOW TABLES LIKE 'ac_project_users'
#2720 - info - DROP TABLE `ac_project_users`
#2721 - info - SHOW TABLES LIKE 'ac_project_requests'
#2722 - info - SHOW TABLES LIKE 'ac_project_requests'
#2723 - info - DROP TABLE `ac_project_requests`
#2724 - info - SHOW TABLES LIKE 'ac_project_objects'
#2725 - info - SHOW TABLES LIKE 'ac_project_objects'
#2726 - info - DROP TABLE `ac_project_objects`
#2727 - info - SHOW TABLES LIKE 'ac_project_templates'
#2728 - info - SHOW TABLES LIKE 'ac_project_templates'
#2729 - info - DROP TABLE `ac_project_templates`
#2730 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2731 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2732 - info - DROP TABLE `ac_project_object_templates`
#2733 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2734 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2735 - info - DROP TABLE `ac_shared_object_profiles`
#2736 - info - SHOW TABLES LIKE 'ac_file_versions'
#2737 - info - SHOW TABLES LIKE 'ac_file_versions'
#2738 - info - DROP TABLE `ac_file_versions`
#2739 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2740 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2741 - info - DROP TABLE `ac_text_document_versions`
#2742 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2743 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2744 - info - DROP TABLE `ac_public_task_forms`
#2745 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2746 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2747 - info - DROP TABLE `ac_related_tasks`
#2748 - info - SHOW TABLES LIKE 'ac_task_segments'
#2749 - info - SHOW TABLES LIKE 'ac_task_segments'
#2750 - info - DROP TABLE `ac_task_segments`
#2751 - info - SHOW TABLES LIKE 'ac_status_updates'
#2752 - info - SHOW TABLES LIKE 'ac_status_updates'
#2753 - info - DROP TABLE `ac_status_updates`
#2754 - info - SHOW TABLES LIKE 'ac_documents'
#2755 - info - SHOW TABLES LIKE 'ac_documents'
#2756 - info - DROP TABLE `ac_documents`
#2757 - info - SHOW TABLES LIKE 'ac_time_records'
#2758 - info - SHOW TABLES LIKE 'ac_time_records'
#2759 - info - DROP TABLE `ac_time_records`
#2760 - info - SHOW TABLES LIKE 'ac_job_types'
#2761 - info - SHOW TABLES LIKE 'ac_job_types'
#2762 - info - DROP TABLE `ac_job_types`
#2763 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2764 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2765 - info - DROP TABLE `ac_project_hourly_rates`
#2766 - info - SHOW TABLES LIKE 'ac_expenses'
#2767 - info - SHOW TABLES LIKE 'ac_expenses'
#2768 - info - DROP TABLE `ac_expenses`
#2769 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2770 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2771 - info - DROP TABLE `ac_expense_categories`
#2772 - info - SHOW TABLES LIKE 'ac_estimates'
#2773 - info - SHOW TABLES LIKE 'ac_estimates'
#2774 - info - DROP TABLE `ac_estimates`
#2775 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2776 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2777 - info - DROP TABLE `ac_invoice_objects`
#2778 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2779 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2780 - info - DROP TABLE `ac_invoice_object_items`
#2781 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2782 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2783 - info - DROP TABLE `ac_invoice_item_templates`
#2784 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2785 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2786 - info - DROP TABLE `ac_invoice_note_templates`
#2787 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2788 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2789 - info - DROP TABLE `ac_invoice_related_records`
#2790 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2791 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2792 - info - DROP TABLE `ac_tax_rates`
#2793 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2794 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2795 - info - DROP TABLE `ac_notebook_pages`
#2796 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2797 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2798 - info - DROP TABLE `ac_notebook_page_versions`
#2799 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2800 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2801 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2802 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2803 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2804 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2805 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2806 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2807 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2808 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2809 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2810 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2811 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2812 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2813 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2814 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2815 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2816 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2817 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2818 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2819 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2820 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2821 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2822 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2823 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2824 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2825 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2826 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2827 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2828 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2829 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2830 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2831 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2832 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2833 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2834 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2835 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2836 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2837 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2838 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2839 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2840 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2841 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2842 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2843 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2844 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2845 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2846 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2847 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2848 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2849 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2850 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2851 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2852 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2853 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2854 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2855 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2856 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2857 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2858 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2859 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2860 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2861 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2862 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2863 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2864 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2865 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2866 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2867 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2868 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2869 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2870 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2871 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2872 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2873 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2874 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2875 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2876 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2877 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2878 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2879 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2880 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2881 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2882 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2883 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2884 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2885 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2886 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2887 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2888 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2889 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2890 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2891 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2892 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2893 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2894 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2895 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2896 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2897 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2898 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2899 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2900 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2901 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2902 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2903 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2904 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2905 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2906 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2907 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2908 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2909 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2910 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2911 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2912 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2913 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2914 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2915 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2916 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2917 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2918 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2919 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2920 - info - BEGIN WORK
#2921 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2922 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2923 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2924 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2925 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2926 - info - COMMIT
#2927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2931 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2932 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2933 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2934 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2935 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2952 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2953 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2954 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2955 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2956 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2957 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2958 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2959 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2960 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2961 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2962 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2963 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2964 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2965 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2966 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2967 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395657;')
#2981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2993 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2994 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2995 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2997 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3005 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3006 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3007 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3008 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3009 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3010 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3011 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3012 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3013 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3014 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3015 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3016 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3017 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3018 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3019 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3020 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3024 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3025 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3026 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3027 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3028 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:57', '1')
#3029 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3030 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3031 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3032 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3034 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3036 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3042 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3043 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3044 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3045 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3046 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3047 - info - BEGIN WORK
#3048 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3049 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3050 - info - COMMIT
#3051 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3052 - info - BEGIN WORK
#3053 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3054 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3055 - info - COMMIT
#3056 - info - BEGIN WORK
#3057 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3058 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3059 - info - COMMIT
#3060 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3061 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3062 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3082 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3083 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3084 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3085 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3086 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3087 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3090 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3091 - info - SHOW TABLES LIKE 'ac_job_types'
#3092 - info - SELECT COUNT(id) FROM ac_job_types
#3093 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3094 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3095 - info - BEGIN WORK
#3096 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3097 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3098 - info - COMMIT
#3099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3100 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3101 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3102 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3103 - info - SELECT COUNT(name) FROM ac_modules
#3104 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3105 - info - SELECT name FROM ac_modules
#3106 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3107 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3108 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3109 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3110 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3111 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3112 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3113 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3114 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3115 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3116 - info - BEGIN WORK
#3117 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3118 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3119 - info - UPDATE ac_config_options SET value = 'i:1387395657;' WHERE name = 'search_initialized_on'
#3120 - info - COMMIT
#3121 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3122 - info - SELECT COUNT(*) FROM  ac_config_options
#3123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'N;')
#3124 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 1', 'N;')
#3125 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 'N;')
#3126 - info - SELECT COUNT(*) FROM ac_config_options
#3127 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3128 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3129 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3130 - info - BEGIN WORK
#3131 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3132 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3133 - info - UPDATE ac_config_options SET value = 's:7:\"Value 1\";' WHERE name = 'Option 1'
#3134 - info - COMMIT
#3135 - info - BEGIN WORK
#3136 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3137 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3138 - info - UPDATE ac_config_options SET value = 's:7:\"Value 2\";' WHERE name = 'Option 2'
#3139 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3140 - info - UPDATE ac_config_options SET value = 's:7:\"Value 3\";' WHERE name = 'Option 3'
#3141 - info - COMMIT
#3142 - info - BEGIN WORK
#3143 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#3144 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#3145 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3146 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3147 - info - COMMIT
#3148 - info - SELECT COUNT(*) FROM ac_config_options
#3149 - info - SHOW TABLES LIKE 'ac_config_options'
#3150 - info - SHOW TABLES LIKE 'ac_config_options'
#3151 - info - DROP TABLE `ac_config_options`
#3152 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3153 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3154 - info - DROP TABLE `ac_config_option_values`
#3155 - info - SHOW TABLES LIKE 'ac_modules'
#3156 - info - SHOW TABLES LIKE 'ac_modules'
#3157 - info - DROP TABLE `ac_modules`
#3158 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3159 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3160 - info - DROP TABLE `ac_executed_model_migrations`
#3161 - info - SHOW TABLES LIKE 'ac_update_history'
#3162 - info - SHOW TABLES LIKE 'ac_update_history'
#3163 - info - DROP TABLE `ac_update_history`
#3164 - info - SHOW TABLES LIKE 'ac_access_logs'
#3165 - info - SHOW TABLES LIKE 'ac_access_logs'
#3166 - info - DROP TABLE `ac_access_logs`
#3167 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3168 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3169 - info - DROP TABLE `ac_access_logs_archive`
#3170 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3171 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3172 - info - DROP TABLE `ac_object_contexts`
#3173 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3174 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3175 - info - DROP TABLE `ac_routing_cache`
#3176 - info - SHOW TABLES LIKE 'ac_currencies'
#3177 - info - SHOW TABLES LIKE 'ac_currencies'
#3178 - info - DROP TABLE `ac_currencies`
#3179 - info - SHOW TABLES LIKE 'ac_day_offs'
#3180 - info - SHOW TABLES LIKE 'ac_day_offs'
#3181 - info - DROP TABLE `ac_day_offs`
#3182 - info - SHOW TABLES LIKE 'ac_languages'
#3183 - info - SHOW TABLES LIKE 'ac_languages'
#3184 - info - DROP TABLE `ac_languages`
#3185 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3186 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3187 - info - DROP TABLE `ac_language_phrases`
#3188 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3189 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3190 - info - DROP TABLE `ac_language_phrase_translations`
#3191 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3192 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3193 - info - DROP TABLE `ac_api_client_subscriptions`
#3194 - info - SHOW TABLES LIKE 'ac_users'
#3195 - info - SHOW TABLES LIKE 'ac_users'
#3196 - info - DROP TABLE `ac_users`
#3197 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3198 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3199 - info - DROP TABLE `ac_user_addresses`
#3200 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3201 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3202 - info - DROP TABLE `ac_user_sessions`
#3203 - info - SHOW TABLES LIKE 'ac_security_logs'
#3204 - info - SHOW TABLES LIKE 'ac_security_logs'
#3205 - info - DROP TABLE `ac_security_logs`
#3206 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3207 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3208 - info - DROP TABLE `ac_api_token_logs`
#3209 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3210 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3211 - info - DROP TABLE `ac_activity_logs`
#3212 - info - SHOW TABLES LIKE 'ac_data_filters'
#3213 - info - SHOW TABLES LIKE 'ac_data_filters'
#3214 - info - DROP TABLE `ac_data_filters`
#3215 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3216 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3217 - info - DROP TABLE `ac_modification_logs`
#3218 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3219 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3220 - info - DROP TABLE `ac_modification_log_values`
#3221 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3222 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3223 - info - DROP TABLE `ac_mailing_activity_logs`
#3224 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3225 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3226 - info - DROP TABLE `ac_outgoing_messages`
#3227 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3228 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3229 - info - DROP TABLE `ac_incoming_mail_attachments`
#3230 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3231 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3232 - info - DROP TABLE `ac_incoming_mail_filters`
#3233 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3234 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3235 - info - DROP TABLE `ac_incoming_mailboxes`
#3236 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3237 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3238 - info - DROP TABLE `ac_incoming_mails`
#3239 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3240 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3241 - info - DROP TABLE `ac_homescreen_tabs`
#3242 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3243 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3244 - info - DROP TABLE `ac_homescreen_widgets`
#3245 - info - SHOW TABLES LIKE 'ac_announcements'
#3246 - info - SHOW TABLES LIKE 'ac_announcements'
#3247 - info - DROP TABLE `ac_announcements`
#3248 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3249 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3250 - info - DROP TABLE `ac_announcement_target_ids`
#3251 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3252 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3253 - info - DROP TABLE `ac_announcement_dismissals`
#3254 - info - SHOW TABLES LIKE 'ac_attachments'
#3255 - info - SHOW TABLES LIKE 'ac_attachments'
#3256 - info - DROP TABLE `ac_attachments`
#3257 - info - SHOW TABLES LIKE 'ac_notifications'
#3258 - info - SHOW TABLES LIKE 'ac_notifications'
#3259 - info - DROP TABLE `ac_notifications`
#3260 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3261 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3262 - info - DROP TABLE `ac_notification_recipients`
#3263 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3264 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3265 - info - DROP TABLE `ac_subscriptions`
#3266 - info - SHOW TABLES LIKE 'ac_comments'
#3267 - info - SHOW TABLES LIKE 'ac_comments'
#3268 - info - DROP TABLE `ac_comments`
#3269 - info - SHOW TABLES LIKE 'ac_categories'
#3270 - info - SHOW TABLES LIKE 'ac_categories'
#3271 - info - DROP TABLE `ac_categories`
#3272 - info - SHOW TABLES LIKE 'ac_labels'
#3273 - info - SHOW TABLES LIKE 'ac_labels'
#3274 - info - DROP TABLE `ac_labels`
#3275 - info - SHOW TABLES LIKE 'ac_assignments'
#3276 - info - SHOW TABLES LIKE 'ac_assignments'
#3277 - info - DROP TABLE `ac_assignments`
#3278 - info - SHOW TABLES LIKE 'ac_subtasks'
#3279 - info - SHOW TABLES LIKE 'ac_subtasks'
#3280 - info - DROP TABLE `ac_subtasks`
#3281 - info - SHOW TABLES LIKE 'ac_favorites'
#3282 - info - SHOW TABLES LIKE 'ac_favorites'
#3283 - info - DROP TABLE `ac_favorites`
#3284 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3285 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3286 - info - DROP TABLE `ac_code_snippets`
#3287 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3288 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3289 - info - DROP TABLE `ac_payment_gateways`
#3290 - info - SHOW TABLES LIKE 'ac_payments'
#3291 - info - SHOW TABLES LIKE 'ac_payments'
#3292 - info - DROP TABLE `ac_payments`
#3293 - info - SHOW TABLES LIKE 'ac_reminders'
#3294 - info - SHOW TABLES LIKE 'ac_reminders'
#3295 - info - DROP TABLE `ac_reminders`
#3296 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3297 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3298 - info - DROP TABLE `ac_reminder_users`
#3299 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3300 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3301 - info - DROP TABLE `ac_custom_fields`
#3302 - info - SHOW TABLES LIKE 'ac_calendars'
#3303 - info - SHOW TABLES LIKE 'ac_calendars'
#3304 - info - DROP TABLE `ac_calendars`
#3305 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3306 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3307 - info - DROP TABLE `ac_calendar_events`
#3308 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3309 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3310 - info - DROP TABLE `ac_calendar_users`
#3311 - info - SHOW TABLES LIKE 'ac_data_sources'
#3312 - info - SHOW TABLES LIKE 'ac_data_sources'
#3313 - info - DROP TABLE `ac_data_sources`
#3314 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3315 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3316 - info - DROP TABLE `ac_data_source_mappings`
#3317 - info - SHOW TABLES LIKE 'ac_companies'
#3318 - info - SHOW TABLES LIKE 'ac_companies'
#3319 - info - DROP TABLE `ac_companies`
#3320 - info - SHOW TABLES LIKE 'ac_projects'
#3321 - info - SHOW TABLES LIKE 'ac_projects'
#3322 - info - DROP TABLE `ac_projects`
#3323 - info - SHOW TABLES LIKE 'ac_project_roles'
#3324 - info - SHOW TABLES LIKE 'ac_project_roles'
#3325 - info - DROP TABLE `ac_project_roles`
#3326 - info - SHOW TABLES LIKE 'ac_project_users'
#3327 - info - SHOW TABLES LIKE 'ac_project_users'
#3328 - info - DROP TABLE `ac_project_users`
#3329 - info - SHOW TABLES LIKE 'ac_project_requests'
#3330 - info - SHOW TABLES LIKE 'ac_project_requests'
#3331 - info - DROP TABLE `ac_project_requests`
#3332 - info - SHOW TABLES LIKE 'ac_project_objects'
#3333 - info - SHOW TABLES LIKE 'ac_project_objects'
#3334 - info - DROP TABLE `ac_project_objects`
#3335 - info - SHOW TABLES LIKE 'ac_project_templates'
#3336 - info - SHOW TABLES LIKE 'ac_project_templates'
#3337 - info - DROP TABLE `ac_project_templates`
#3338 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3339 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3340 - info - DROP TABLE `ac_project_object_templates`
#3341 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3342 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3343 - info - DROP TABLE `ac_shared_object_profiles`
#3344 - info - SHOW TABLES LIKE 'ac_file_versions'
#3345 - info - SHOW TABLES LIKE 'ac_file_versions'
#3346 - info - DROP TABLE `ac_file_versions`
#3347 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3348 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3349 - info - DROP TABLE `ac_text_document_versions`
#3350 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3351 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3352 - info - DROP TABLE `ac_public_task_forms`
#3353 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3354 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3355 - info - DROP TABLE `ac_related_tasks`
#3356 - info - SHOW TABLES LIKE 'ac_task_segments'
#3357 - info - SHOW TABLES LIKE 'ac_task_segments'
#3358 - info - DROP TABLE `ac_task_segments`
#3359 - info - SHOW TABLES LIKE 'ac_status_updates'
#3360 - info - SHOW TABLES LIKE 'ac_status_updates'
#3361 - info - DROP TABLE `ac_status_updates`
#3362 - info - SHOW TABLES LIKE 'ac_documents'
#3363 - info - SHOW TABLES LIKE 'ac_documents'
#3364 - info - DROP TABLE `ac_documents`
#3365 - info - SHOW TABLES LIKE 'ac_time_records'
#3366 - info - SHOW TABLES LIKE 'ac_time_records'
#3367 - info - DROP TABLE `ac_time_records`
#3368 - info - SHOW TABLES LIKE 'ac_job_types'
#3369 - info - SHOW TABLES LIKE 'ac_job_types'
#3370 - info - DROP TABLE `ac_job_types`
#3371 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3372 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3373 - info - DROP TABLE `ac_project_hourly_rates`
#3374 - info - SHOW TABLES LIKE 'ac_expenses'
#3375 - info - SHOW TABLES LIKE 'ac_expenses'
#3376 - info - DROP TABLE `ac_expenses`
#3377 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3378 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3379 - info - DROP TABLE `ac_expense_categories`
#3380 - info - SHOW TABLES LIKE 'ac_estimates'
#3381 - info - SHOW TABLES LIKE 'ac_estimates'
#3382 - info - DROP TABLE `ac_estimates`
#3383 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3384 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3385 - info - DROP TABLE `ac_invoice_objects`
#3386 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3387 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3388 - info - DROP TABLE `ac_invoice_object_items`
#3389 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3390 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3391 - info - DROP TABLE `ac_invoice_item_templates`
#3392 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3393 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3394 - info - DROP TABLE `ac_invoice_note_templates`
#3395 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3396 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3397 - info - DROP TABLE `ac_invoice_related_records`
#3398 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3399 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3400 - info - DROP TABLE `ac_tax_rates`
#3401 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3402 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3403 - info - DROP TABLE `ac_notebook_pages`
#3404 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3405 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3406 - info - DROP TABLE `ac_notebook_page_versions`
#3407 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3408 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3409 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3410 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3411 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3412 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3413 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3414 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3415 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3416 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3417 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3418 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3419 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3420 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3421 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3422 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3423 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3424 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3425 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3426 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3427 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3428 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3429 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3430 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3431 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3432 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3433 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3434 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3435 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3436 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3437 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3438 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3439 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3440 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3441 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3442 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3443 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3444 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3445 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3446 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3447 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3448 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3449 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3450 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3451 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3452 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3453 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3454 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3455 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3456 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3457 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3458 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3459 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3460 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3461 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3462 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3463 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3464 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3465 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3466 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3467 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3468 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3469 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3470 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3471 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3472 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3473 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3474 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3475 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3476 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3477 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3478 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3479 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3480 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3481 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3482 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3483 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3484 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3485 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3486 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3487 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3488 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3489 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3490 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3491 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3492 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3520 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3521 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3522 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3524 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3528 - info - BEGIN WORK
#3529 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3530 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3531 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3532 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3533 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3534 - info - COMMIT
#3535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3554 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3557 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3560 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3562 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3563 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3564 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3565 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3566 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3567 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3568 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3569 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3570 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3571 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3572 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3573 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3574 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3575 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395658;')
#3589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3596 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3601 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3602 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3603 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3604 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3605 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3607 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3608 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3609 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3610 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3612 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3613 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3614 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3615 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3616 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3632 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3633 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3634 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3635 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3636 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:58', '1')
#3637 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3638 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3639 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3640 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3642 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3644 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3647 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3648 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3650 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3651 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3652 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3653 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3654 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3655 - info - BEGIN WORK
#3656 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3657 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3658 - info - COMMIT
#3659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3660 - info - BEGIN WORK
#3661 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3662 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3663 - info - COMMIT
#3664 - info - BEGIN WORK
#3665 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3666 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3667 - info - COMMIT
#3668 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3669 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3670 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3697 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3698 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3699 - info - SHOW TABLES LIKE 'ac_job_types'
#3700 - info - SELECT COUNT(id) FROM ac_job_types
#3701 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3702 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3703 - info - BEGIN WORK
#3704 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3705 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3706 - info - COMMIT
#3707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3708 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3709 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3710 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3711 - info - SELECT COUNT(name) FROM ac_modules
#3712 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3713 - info - SELECT name FROM ac_modules
#3714 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3715 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3716 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3717 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3718 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3719 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3720 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3721 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3722 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3723 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3724 - info - BEGIN WORK
#3725 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3726 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3727 - info - UPDATE ac_config_options SET value = 'i:1387395658;' WHERE name = 'search_initialized_on'
#3728 - info - COMMIT
#3729 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3730 - info - SELECT COUNT(*) FROM  ac_config_options
#3731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'system', 'i:1983;')
#3732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'system', 's:10:\"Google.com\";')
#3733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'system', 'a:6:{i:0;s:8:\"Belgrade\";i:1;s:6:\"Zagreb\";i:2;s:9:\"Ljubljana\";i:3;s:8:\"Sarajevo\";i:4;s:9:\"Podgorica\";i:5;s:7:\"Skoplje\";}')
#3734 - info - SELECT COUNT(*) FROM ac_config_options
#3735 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3736 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3737 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3738 - info - BEGIN WORK
#3739 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3740 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3741 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3742 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '1', 's:7:\"Value 1\";')
#3743 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3744 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3745 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '1', 's:7:\"Value 3\";')
#3746 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3747 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3748 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 2', 'TestConfigOptionsObject1', '1', 's:7:\"Value 2\";')
#3749 - info - COMMIT
#3750 - info - BEGIN WORK
#3751 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3752 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3753 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3754 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '2', 's:25:\"Value 1 for second object\";')
#3755 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3756 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3757 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '2', 's:7:\"Value 3\";')
#3758 - info - COMMIT
#3759 - info - BEGIN WORK
#3760 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3761 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3762 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject2' AND parent_id = '1'
#3763 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject2', '1', 'i:1;')
#3764 - info - COMMIT
#3765 - info - SELECT COUNT(*) FROM ac_config_option_values
#3766 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3767 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject2'
#3768 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3769 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3770 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3771 - info - DELETE FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3772 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3773 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3774 - info - BEGIN WORK
#3775 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3776 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3777 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3778 - info - UPDATE ac_config_option_values SET value = 's:9:\"Yahoo.com\";' WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3779 - info - COMMIT
#3780 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3781 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3782 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3783 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 2') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3784 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3785 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3786 - info - SHOW TABLES LIKE 'ac_config_options'
#3787 - info - SHOW TABLES LIKE 'ac_config_options'
#3788 - info - DROP TABLE `ac_config_options`
#3789 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3790 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3791 - info - DROP TABLE `ac_config_option_values`
#3792 - info - SHOW TABLES LIKE 'ac_modules'
#3793 - info - SHOW TABLES LIKE 'ac_modules'
#3794 - info - DROP TABLE `ac_modules`
#3795 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3796 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3797 - info - DROP TABLE `ac_executed_model_migrations`
#3798 - info - SHOW TABLES LIKE 'ac_update_history'
#3799 - info - SHOW TABLES LIKE 'ac_update_history'
#3800 - info - DROP TABLE `ac_update_history`
#3801 - info - SHOW TABLES LIKE 'ac_access_logs'
#3802 - info - SHOW TABLES LIKE 'ac_access_logs'
#3803 - info - DROP TABLE `ac_access_logs`
#3804 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3805 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3806 - info - DROP TABLE `ac_access_logs_archive`
#3807 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3808 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3809 - info - DROP TABLE `ac_object_contexts`
#3810 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3811 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3812 - info - DROP TABLE `ac_routing_cache`
#3813 - info - SHOW TABLES LIKE 'ac_currencies'
#3814 - info - SHOW TABLES LIKE 'ac_currencies'
#3815 - info - DROP TABLE `ac_currencies`
#3816 - info - SHOW TABLES LIKE 'ac_day_offs'
#3817 - info - SHOW TABLES LIKE 'ac_day_offs'
#3818 - info - DROP TABLE `ac_day_offs`
#3819 - info - SHOW TABLES LIKE 'ac_languages'
#3820 - info - SHOW TABLES LIKE 'ac_languages'
#3821 - info - DROP TABLE `ac_languages`
#3822 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3823 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3824 - info - DROP TABLE `ac_language_phrases`
#3825 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3826 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3827 - info - DROP TABLE `ac_language_phrase_translations`
#3828 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3829 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3830 - info - DROP TABLE `ac_api_client_subscriptions`
#3831 - info - SHOW TABLES LIKE 'ac_users'
#3832 - info - SHOW TABLES LIKE 'ac_users'
#3833 - info - DROP TABLE `ac_users`
#3834 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3835 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3836 - info - DROP TABLE `ac_user_addresses`
#3837 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3838 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3839 - info - DROP TABLE `ac_user_sessions`
#3840 - info - SHOW TABLES LIKE 'ac_security_logs'
#3841 - info - SHOW TABLES LIKE 'ac_security_logs'
#3842 - info - DROP TABLE `ac_security_logs`
#3843 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3844 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3845 - info - DROP TABLE `ac_api_token_logs`
#3846 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3847 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3848 - info - DROP TABLE `ac_activity_logs`
#3849 - info - SHOW TABLES LIKE 'ac_data_filters'
#3850 - info - SHOW TABLES LIKE 'ac_data_filters'
#3851 - info - DROP TABLE `ac_data_filters`
#3852 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3853 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3854 - info - DROP TABLE `ac_modification_logs`
#3855 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3856 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3857 - info - DROP TABLE `ac_modification_log_values`
#3858 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3859 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3860 - info - DROP TABLE `ac_mailing_activity_logs`
#3861 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3862 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3863 - info - DROP TABLE `ac_outgoing_messages`
#3864 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3865 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3866 - info - DROP TABLE `ac_incoming_mail_attachments`
#3867 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3868 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3869 - info - DROP TABLE `ac_incoming_mail_filters`
#3870 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3871 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3872 - info - DROP TABLE `ac_incoming_mailboxes`
#3873 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3874 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3875 - info - DROP TABLE `ac_incoming_mails`
#3876 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3877 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3878 - info - DROP TABLE `ac_homescreen_tabs`
#3879 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3880 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3881 - info - DROP TABLE `ac_homescreen_widgets`
#3882 - info - SHOW TABLES LIKE 'ac_announcements'
#3883 - info - SHOW TABLES LIKE 'ac_announcements'
#3884 - info - DROP TABLE `ac_announcements`
#3885 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3886 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3887 - info - DROP TABLE `ac_announcement_target_ids`
#3888 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3889 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3890 - info - DROP TABLE `ac_announcement_dismissals`
#3891 - info - SHOW TABLES LIKE 'ac_attachments'
#3892 - info - SHOW TABLES LIKE 'ac_attachments'
#3893 - info - DROP TABLE `ac_attachments`
#3894 - info - SHOW TABLES LIKE 'ac_notifications'
#3895 - info - SHOW TABLES LIKE 'ac_notifications'
#3896 - info - DROP TABLE `ac_notifications`
#3897 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3898 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3899 - info - DROP TABLE `ac_notification_recipients`
#3900 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3901 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3902 - info - DROP TABLE `ac_subscriptions`
#3903 - info - SHOW TABLES LIKE 'ac_comments'
#3904 - info - SHOW TABLES LIKE 'ac_comments'
#3905 - info - DROP TABLE `ac_comments`
#3906 - info - SHOW TABLES LIKE 'ac_categories'
#3907 - info - SHOW TABLES LIKE 'ac_categories'
#3908 - info - DROP TABLE `ac_categories`
#3909 - info - SHOW TABLES LIKE 'ac_labels'
#3910 - info - SHOW TABLES LIKE 'ac_labels'
#3911 - info - DROP TABLE `ac_labels`
#3912 - info - SHOW TABLES LIKE 'ac_assignments'
#3913 - info - SHOW TABLES LIKE 'ac_assignments'
#3914 - info - DROP TABLE `ac_assignments`
#3915 - info - SHOW TABLES LIKE 'ac_subtasks'
#3916 - info - SHOW TABLES LIKE 'ac_subtasks'
#3917 - info - DROP TABLE `ac_subtasks`
#3918 - info - SHOW TABLES LIKE 'ac_favorites'
#3919 - info - SHOW TABLES LIKE 'ac_favorites'
#3920 - info - DROP TABLE `ac_favorites`
#3921 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3922 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3923 - info - DROP TABLE `ac_code_snippets`
#3924 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3925 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3926 - info - DROP TABLE `ac_payment_gateways`
#3927 - info - SHOW TABLES LIKE 'ac_payments'
#3928 - info - SHOW TABLES LIKE 'ac_payments'
#3929 - info - DROP TABLE `ac_payments`
#3930 - info - SHOW TABLES LIKE 'ac_reminders'
#3931 - info - SHOW TABLES LIKE 'ac_reminders'
#3932 - info - DROP TABLE `ac_reminders`
#3933 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3934 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3935 - info - DROP TABLE `ac_reminder_users`
#3936 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3937 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3938 - info - DROP TABLE `ac_custom_fields`
#3939 - info - SHOW TABLES LIKE 'ac_calendars'
#3940 - info - SHOW TABLES LIKE 'ac_calendars'
#3941 - info - DROP TABLE `ac_calendars`
#3942 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3943 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3944 - info - DROP TABLE `ac_calendar_events`
#3945 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3946 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3947 - info - DROP TABLE `ac_calendar_users`
#3948 - info - SHOW TABLES LIKE 'ac_data_sources'
#3949 - info - SHOW TABLES LIKE 'ac_data_sources'
#3950 - info - DROP TABLE `ac_data_sources`
#3951 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3952 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3953 - info - DROP TABLE `ac_data_source_mappings`
#3954 - info - SHOW TABLES LIKE 'ac_companies'
#3955 - info - SHOW TABLES LIKE 'ac_companies'
#3956 - info - DROP TABLE `ac_companies`
#3957 - info - SHOW TABLES LIKE 'ac_projects'
#3958 - info - SHOW TABLES LIKE 'ac_projects'
#3959 - info - DROP TABLE `ac_projects`
#3960 - info - SHOW TABLES LIKE 'ac_project_roles'
#3961 - info - SHOW TABLES LIKE 'ac_project_roles'
#3962 - info - DROP TABLE `ac_project_roles`
#3963 - info - SHOW TABLES LIKE 'ac_project_users'
#3964 - info - SHOW TABLES LIKE 'ac_project_users'
#3965 - info - DROP TABLE `ac_project_users`
#3966 - info - SHOW TABLES LIKE 'ac_project_requests'
#3967 - info - SHOW TABLES LIKE 'ac_project_requests'
#3968 - info - DROP TABLE `ac_project_requests`
#3969 - info - SHOW TABLES LIKE 'ac_project_objects'
#3970 - info - SHOW TABLES LIKE 'ac_project_objects'
#3971 - info - DROP TABLE `ac_project_objects`
#3972 - info - SHOW TABLES LIKE 'ac_project_templates'
#3973 - info - SHOW TABLES LIKE 'ac_project_templates'
#3974 - info - DROP TABLE `ac_project_templates`
#3975 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3976 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3977 - info - DROP TABLE `ac_project_object_templates`
#3978 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3979 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3980 - info - DROP TABLE `ac_shared_object_profiles`
#3981 - info - SHOW TABLES LIKE 'ac_file_versions'
#3982 - info - SHOW TABLES LIKE 'ac_file_versions'
#3983 - info - DROP TABLE `ac_file_versions`
#3984 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3985 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3986 - info - DROP TABLE `ac_text_document_versions`
#3987 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3988 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3989 - info - DROP TABLE `ac_public_task_forms`
#3990 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3991 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3992 - info - DROP TABLE `ac_related_tasks`
#3993 - info - SHOW TABLES LIKE 'ac_task_segments'
#3994 - info - SHOW TABLES LIKE 'ac_task_segments'
#3995 - info - DROP TABLE `ac_task_segments`
#3996 - info - SHOW TABLES LIKE 'ac_status_updates'
#3997 - info - SHOW TABLES LIKE 'ac_status_updates'
#3998 - info - DROP TABLE `ac_status_updates`
#3999 - info - SHOW TABLES LIKE 'ac_documents'
#4000 - info - SHOW TABLES LIKE 'ac_documents'
#4001 - info - DROP TABLE `ac_documents`
#4002 - info - SHOW TABLES LIKE 'ac_time_records'
#4003 - info - SHOW TABLES LIKE 'ac_time_records'
#4004 - info - DROP TABLE `ac_time_records`
#4005 - info - SHOW TABLES LIKE 'ac_job_types'
#4006 - info - SHOW TABLES LIKE 'ac_job_types'
#4007 - info - DROP TABLE `ac_job_types`
#4008 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4009 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4010 - info - DROP TABLE `ac_project_hourly_rates`
#4011 - info - SHOW TABLES LIKE 'ac_expenses'
#4012 - info - SHOW TABLES LIKE 'ac_expenses'
#4013 - info - DROP TABLE `ac_expenses`
#4014 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4015 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4016 - info - DROP TABLE `ac_expense_categories`
#4017 - info - SHOW TABLES LIKE 'ac_estimates'
#4018 - info - SHOW TABLES LIKE 'ac_estimates'
#4019 - info - DROP TABLE `ac_estimates`
#4020 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4021 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4022 - info - DROP TABLE `ac_invoice_objects`
#4023 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4024 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4025 - info - DROP TABLE `ac_invoice_object_items`
#4026 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4027 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4028 - info - DROP TABLE `ac_invoice_item_templates`
#4029 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4030 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4031 - info - DROP TABLE `ac_invoice_note_templates`
#4032 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4033 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4034 - info - DROP TABLE `ac_invoice_related_records`
#4035 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4036 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4037 - info - DROP TABLE `ac_tax_rates`
#4038 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4039 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4040 - info - DROP TABLE `ac_notebook_pages`
#4041 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4042 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4043 - info - DROP TABLE `ac_notebook_page_versions`
#4044 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4045 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4046 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4047 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4048 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4049 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4050 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4051 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4052 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4053 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4054 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4055 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4056 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4057 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4058 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4059 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4060 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4061 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4062 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4063 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4064 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4065 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4066 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4067 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4068 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4069 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4070 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4071 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4072 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4073 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4074 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4075 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4076 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4077 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4078 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4079 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4080 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4081 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4082 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4083 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4084 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4085 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4086 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4087 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4088 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4089 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4090 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4091 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4092 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4093 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4094 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4095 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4096 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4097 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4098 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4099 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4100 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4101 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4102 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4103 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4104 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4105 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4106 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4107 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4108 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4109 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4110 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4111 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4112 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4113 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4114 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4115 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4116 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4117 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4118 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4119 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4120 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4121 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4122 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4123 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4124 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4125 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4126 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4127 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4128 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4129 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4135 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4137 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4145 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4146 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4147 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4148 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4149 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4151 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4153 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4154 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4155 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4156 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4157 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4158 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4159 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4160 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4162 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4163 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4164 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4165 - info - BEGIN WORK
#4166 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4167 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4168 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4169 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4170 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4171 - info - COMMIT
#4172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4175 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4176 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4177 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4178 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4180 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4181 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4182 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4183 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4184 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4185 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4186 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4187 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4188 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4189 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4190 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4191 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4192 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4193 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4194 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4195 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4196 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4197 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4198 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4199 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4200 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4201 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4202 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4203 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4204 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4205 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4206 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4207 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4208 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4209 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4210 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4211 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4212 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4213 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4214 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4215 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4216 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4217 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4218 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4219 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4220 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4221 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4222 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4223 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4224 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4225 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395659;')
#4226 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4227 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4228 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4229 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4230 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4231 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4232 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4233 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4234 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4235 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4236 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4237 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4238 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4239 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4240 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4241 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4242 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4243 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4244 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4245 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4246 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4247 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4248 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4249 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4250 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4251 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4252 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4253 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4254 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#4255 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#4256 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#4257 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#4258 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#4259 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#4260 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#4261 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#4262 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#4263 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#4264 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#4265 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#4266 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#4267 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#4268 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#4269 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#4270 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#4271 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#4272 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#4273 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:40:59', '1')
#4274 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4275 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4276 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4277 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4278 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#4279 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4280 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#4281 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4282 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#4283 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#4284 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#4285 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#4286 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#4287 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#4288 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#4289 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#4290 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4291 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#4292 - info - BEGIN WORK
#4293 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#4294 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#4295 - info - COMMIT
#4296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#4297 - info - BEGIN WORK
#4298 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4299 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#4300 - info - COMMIT
#4301 - info - BEGIN WORK
#4302 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4303 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#4304 - info - COMMIT
#4305 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4306 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4307 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#4308 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#4309 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#4310 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#4311 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#4312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#4313 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#4314 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#4315 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#4316 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#4317 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#4318 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#4319 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#4320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#4321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#4322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#4323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#4324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#4325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#4326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#4327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#4328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#4329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#4330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#4331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#4332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#4333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#4334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#4335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#4336 - info - SHOW TABLES LIKE 'ac_job_types'
#4337 - info - SELECT COUNT(id) FROM ac_job_types
#4338 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4339 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#4340 - info - BEGIN WORK
#4341 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#4342 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#4343 - info - COMMIT
#4344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#4345 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4346 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4347 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#4348 - info - SELECT COUNT(name) FROM ac_modules
#4349 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#4350 - info - SELECT name FROM ac_modules
#4351 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#4352 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#4353 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#4354 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#4355 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#4356 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#4357 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#4358 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#4359 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#4360 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#4361 - info - BEGIN WORK
#4362 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#4363 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#4364 - info - UPDATE ac_config_options SET value = 'i:1387395659;' WHERE name = 'search_initialized_on'
#4365 - info - COMMIT
#4366 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#4367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('testing_user_model', 'system', 'N;')
#4368 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'testing_user_model'
#4369 - info - BEGIN WORK
#4370 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#4371 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'testing_user_model'
#4372 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4373 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('testing_user_model', 'User', '1', 'i:123;')
#4374 - info - COMMIT
#4375 - info - SELECT value FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4376 - info - SELECT * FROM ac_config_option_values WHERE name = 'testing_user_model'
#4377 - info - SHOW TABLES LIKE 'ac_config_options'
#4378 - info - SHOW TABLES LIKE 'ac_config_options'
#4379 - info - DROP TABLE `ac_config_options`
#4380 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4381 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4382 - info - DROP TABLE `ac_config_option_values`
#4383 - info - SHOW TABLES LIKE 'ac_modules'
#4384 - info - SHOW TABLES LIKE 'ac_modules'
#4385 - info - DROP TABLE `ac_modules`
#4386 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4387 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4388 - info - DROP TABLE `ac_executed_model_migrations`
#4389 - info - SHOW TABLES LIKE 'ac_update_history'
#4390 - info - SHOW TABLES LIKE 'ac_update_history'
#4391 - info - DROP TABLE `ac_update_history`
#4392 - info - SHOW TABLES LIKE 'ac_access_logs'
#4393 - info - SHOW TABLES LIKE 'ac_access_logs'
#4394 - info - DROP TABLE `ac_access_logs`
#4395 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4396 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4397 - info - DROP TABLE `ac_access_logs_archive`
#4398 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4399 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4400 - info - DROP TABLE `ac_object_contexts`
#4401 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4402 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4403 - info - DROP TABLE `ac_routing_cache`
#4404 - info - SHOW TABLES LIKE 'ac_currencies'
#4405 - info - SHOW TABLES LIKE 'ac_currencies'
#4406 - info - DROP TABLE `ac_currencies`
#4407 - info - SHOW TABLES LIKE 'ac_day_offs'
#4408 - info - SHOW TABLES LIKE 'ac_day_offs'
#4409 - info - DROP TABLE `ac_day_offs`
#4410 - info - SHOW TABLES LIKE 'ac_languages'
#4411 - info - SHOW TABLES LIKE 'ac_languages'
#4412 - info - DROP TABLE `ac_languages`
#4413 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4414 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4415 - info - DROP TABLE `ac_language_phrases`
#4416 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4417 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4418 - info - DROP TABLE `ac_language_phrase_translations`
#4419 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4420 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4421 - info - DROP TABLE `ac_api_client_subscriptions`
#4422 - info - SHOW TABLES LIKE 'ac_users'
#4423 - info - SHOW TABLES LIKE 'ac_users'
#4424 - info - DROP TABLE `ac_users`
#4425 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4426 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4427 - info - DROP TABLE `ac_user_addresses`
#4428 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4429 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4430 - info - DROP TABLE `ac_user_sessions`
#4431 - info - SHOW TABLES LIKE 'ac_security_logs'
#4432 - info - SHOW TABLES LIKE 'ac_security_logs'
#4433 - info - DROP TABLE `ac_security_logs`
#4434 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4435 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4436 - info - DROP TABLE `ac_api_token_logs`
#4437 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4438 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4439 - info - DROP TABLE `ac_activity_logs`
#4440 - info - SHOW TABLES LIKE 'ac_data_filters'
#4441 - info - SHOW TABLES LIKE 'ac_data_filters'
#4442 - info - DROP TABLE `ac_data_filters`
#4443 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4444 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4445 - info - DROP TABLE `ac_modification_logs`
#4446 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4447 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4448 - info - DROP TABLE `ac_modification_log_values`
#4449 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4450 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4451 - info - DROP TABLE `ac_mailing_activity_logs`
#4452 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4453 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4454 - info - DROP TABLE `ac_outgoing_messages`
#4455 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4456 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4457 - info - DROP TABLE `ac_incoming_mail_attachments`
#4458 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4459 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4460 - info - DROP TABLE `ac_incoming_mail_filters`
#4461 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4462 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4463 - info - DROP TABLE `ac_incoming_mailboxes`
#4464 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4465 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4466 - info - DROP TABLE `ac_incoming_mails`
#4467 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4468 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4469 - info - DROP TABLE `ac_homescreen_tabs`
#4470 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4471 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4472 - info - DROP TABLE `ac_homescreen_widgets`
#4473 - info - SHOW TABLES LIKE 'ac_announcements'
#4474 - info - SHOW TABLES LIKE 'ac_announcements'
#4475 - info - DROP TABLE `ac_announcements`
#4476 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4477 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4478 - info - DROP TABLE `ac_announcement_target_ids`
#4479 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4480 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4481 - info - DROP TABLE `ac_announcement_dismissals`
#4482 - info - SHOW TABLES LIKE 'ac_attachments'
#4483 - info - SHOW TABLES LIKE 'ac_attachments'
#4484 - info - DROP TABLE `ac_attachments`
#4485 - info - SHOW TABLES LIKE 'ac_notifications'
#4486 - info - SHOW TABLES LIKE 'ac_notifications'
#4487 - info - DROP TABLE `ac_notifications`
#4488 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4489 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4490 - info - DROP TABLE `ac_notification_recipients`
#4491 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4492 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4493 - info - DROP TABLE `ac_subscriptions`
#4494 - info - SHOW TABLES LIKE 'ac_comments'
#4495 - info - SHOW TABLES LIKE 'ac_comments'
#4496 - info - DROP TABLE `ac_comments`
#4497 - info - SHOW TABLES LIKE 'ac_categories'
#4498 - info - SHOW TABLES LIKE 'ac_categories'
#4499 - info - DROP TABLE `ac_categories`
#4500 - info - SHOW TABLES LIKE 'ac_labels'
#4501 - info - SHOW TABLES LIKE 'ac_labels'
#4502 - info - DROP TABLE `ac_labels`
#4503 - info - SHOW TABLES LIKE 'ac_assignments'
#4504 - info - SHOW TABLES LIKE 'ac_assignments'
#4505 - info - DROP TABLE `ac_assignments`
#4506 - info - SHOW TABLES LIKE 'ac_subtasks'
#4507 - info - SHOW TABLES LIKE 'ac_subtasks'
#4508 - info - DROP TABLE `ac_subtasks`
#4509 - info - SHOW TABLES LIKE 'ac_favorites'
#4510 - info - SHOW TABLES LIKE 'ac_favorites'
#4511 - info - DROP TABLE `ac_favorites`
#4512 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4513 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4514 - info - DROP TABLE `ac_code_snippets`
#4515 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4516 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4517 - info - DROP TABLE `ac_payment_gateways`
#4518 - info - SHOW TABLES LIKE 'ac_payments'
#4519 - info - SHOW TABLES LIKE 'ac_payments'
#4520 - info - DROP TABLE `ac_payments`
#4521 - info - SHOW TABLES LIKE 'ac_reminders'
#4522 - info - SHOW TABLES LIKE 'ac_reminders'
#4523 - info - DROP TABLE `ac_reminders`
#4524 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4525 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4526 - info - DROP TABLE `ac_reminder_users`
#4527 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4528 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4529 - info - DROP TABLE `ac_custom_fields`
#4530 - info - SHOW TABLES LIKE 'ac_calendars'
#4531 - info - SHOW TABLES LIKE 'ac_calendars'
#4532 - info - DROP TABLE `ac_calendars`
#4533 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4534 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4535 - info - DROP TABLE `ac_calendar_events`
#4536 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4537 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4538 - info - DROP TABLE `ac_calendar_users`
#4539 - info - SHOW TABLES LIKE 'ac_data_sources'
#4540 - info - SHOW TABLES LIKE 'ac_data_sources'
#4541 - info - DROP TABLE `ac_data_sources`
#4542 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4543 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4544 - info - DROP TABLE `ac_data_source_mappings`
#4545 - info - SHOW TABLES LIKE 'ac_companies'
#4546 - info - SHOW TABLES LIKE 'ac_companies'
#4547 - info - DROP TABLE `ac_companies`
#4548 - info - SHOW TABLES LIKE 'ac_projects'
#4549 - info - SHOW TABLES LIKE 'ac_projects'
#4550 - info - DROP TABLE `ac_projects`
#4551 - info - SHOW TABLES LIKE 'ac_project_roles'
#4552 - info - SHOW TABLES LIKE 'ac_project_roles'
#4553 - info - DROP TABLE `ac_project_roles`
#4554 - info - SHOW TABLES LIKE 'ac_project_users'
#4555 - info - SHOW TABLES LIKE 'ac_project_users'
#4556 - info - DROP TABLE `ac_project_users`
#4557 - info - SHOW TABLES LIKE 'ac_project_requests'
#4558 - info - SHOW TABLES LIKE 'ac_project_requests'
#4559 - info - DROP TABLE `ac_project_requests`
#4560 - info - SHOW TABLES LIKE 'ac_project_objects'
#4561 - info - SHOW TABLES LIKE 'ac_project_objects'
#4562 - info - DROP TABLE `ac_project_objects`
#4563 - info - SHOW TABLES LIKE 'ac_project_templates'
#4564 - info - SHOW TABLES LIKE 'ac_project_templates'
#4565 - info - DROP TABLE `ac_project_templates`
#4566 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4567 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4568 - info - DROP TABLE `ac_project_object_templates`
#4569 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4570 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4571 - info - DROP TABLE `ac_shared_object_profiles`
#4572 - info - SHOW TABLES LIKE 'ac_file_versions'
#4573 - info - SHOW TABLES LIKE 'ac_file_versions'
#4574 - info - DROP TABLE `ac_file_versions`
#4575 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4576 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4577 - info - DROP TABLE `ac_text_document_versions`
#4578 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4579 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4580 - info - DROP TABLE `ac_public_task_forms`
#4581 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4582 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4583 - info - DROP TABLE `ac_related_tasks`
#4584 - info - SHOW TABLES LIKE 'ac_task_segments'
#4585 - info - SHOW TABLES LIKE 'ac_task_segments'
#4586 - info - DROP TABLE `ac_task_segments`
#4587 - info - SHOW TABLES LIKE 'ac_status_updates'
#4588 - info - SHOW TABLES LIKE 'ac_status_updates'
#4589 - info - DROP TABLE `ac_status_updates`
#4590 - info - SHOW TABLES LIKE 'ac_documents'
#4591 - info - SHOW TABLES LIKE 'ac_documents'
#4592 - info - DROP TABLE `ac_documents`
#4593 - info - SHOW TABLES LIKE 'ac_time_records'
#4594 - info - SHOW TABLES LIKE 'ac_time_records'
#4595 - info - DROP TABLE `ac_time_records`
#4596 - info - SHOW TABLES LIKE 'ac_job_types'
#4597 - info - SHOW TABLES LIKE 'ac_job_types'
#4598 - info - DROP TABLE `ac_job_types`
#4599 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4600 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4601 - info - DROP TABLE `ac_project_hourly_rates`
#4602 - info - SHOW TABLES LIKE 'ac_expenses'
#4603 - info - SHOW TABLES LIKE 'ac_expenses'
#4604 - info - DROP TABLE `ac_expenses`
#4605 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4606 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4607 - info - DROP TABLE `ac_expense_categories`
#4608 - info - SHOW TABLES LIKE 'ac_estimates'
#4609 - info - SHOW TABLES LIKE 'ac_estimates'
#4610 - info - DROP TABLE `ac_estimates`
#4611 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4612 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4613 - info - DROP TABLE `ac_invoice_objects`
#4614 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4615 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4616 - info - DROP TABLE `ac_invoice_object_items`
#4617 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4618 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4619 - info - DROP TABLE `ac_invoice_item_templates`
#4620 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4621 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4622 - info - DROP TABLE `ac_invoice_note_templates`
#4623 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4624 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4625 - info - DROP TABLE `ac_invoice_related_records`
#4626 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4627 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4628 - info - DROP TABLE `ac_tax_rates`
#4629 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4630 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4631 - info - DROP TABLE `ac_notebook_pages`
#4632 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4633 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4634 - info - DROP TABLE `ac_notebook_page_versions`
#4635 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4636 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4637 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4638 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4639 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4640 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4641 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4642 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4643 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4644 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4645 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4646 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4647 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4648 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4649 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4650 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4651 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4652 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4653 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4654 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4655 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4656 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4657 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4658 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4659 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4660 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4661 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4662 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4663 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4664 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4665 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4666 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4667 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4668 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4669 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4670 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4671 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4672 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4673 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4674 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4675 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4676 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4677 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4678 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4679 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4680 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4681 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4682 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4683 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4684 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4685 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4686 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4687 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4688 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4689 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4690 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4691 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4692 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4693 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4694 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4695 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4696 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4697 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4698 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4699 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4700 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4701 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4702 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4703 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4704 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4705 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4706 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4707 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4708 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4709 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4710 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4711 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4712 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4713 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4714 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4715 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4716 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4717 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4718 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4719 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4720 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4734 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4735 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4736 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4737 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4738 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4739 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4740 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4741 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4742 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4743 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4744 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4745 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4746 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4747 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4748 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4749 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4750 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4751 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4752 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4753 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4754 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4756 - info - BEGIN WORK
#4757 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4758 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4759 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4760 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4761 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4762 - info - COMMIT
#4763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4772 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4773 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4774 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4775 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4776 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4777 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4778 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4779 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4780 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4781 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4782 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4783 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4784 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4785 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4786 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4787 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4788 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4789 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4790 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4791 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4792 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4793 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4794 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4795 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4796 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4797 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4798 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4799 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4800 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4801 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4802 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4803 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4804 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1

cache

#1 - info - Cache miss 'installed_non_system_modues'
#2 - info - Cache hit 'installed_non_system_modues'
#3 - info - Cache hit 'installed_non_system_modues'
#4 - info - Cache hit 'installed_non_system_modues'
#5 - info - Cache hit 'installed_non_system_modues'
#6 - info - Cache hit 'installed_non_system_modues'
#7 - info - Cache hit 'installed_non_system_modues'
#8 - info - Cache hit 'installed_non_system_modues'
#9 - info - Cache hit 'installed_non_system_modues'
#10 - info - Cache hit 'installed_non_system_modues'
#11 - info - Cache miss 'root_url'
#12 - info - Cache miss 'models/test_data_objects/1'
#13 - info - Cache hit 'models/test_data_objects/1'
#14 - info - Cache miss 'models/test_data_objects/1'
#15 - info - Cache miss 'something_to_get'
#16 - info - Cache hit 'something_to_get'
#17 - info - Cache miss 'something_to_get'
#18 - info - Cache miss 'config_values'
#19 - info - Cache hit 'config_values'
#20 - info - Cache hit 'config_values'
#21 - info - Cache hit 'config_values'
#22 - info - Cache miss 'models/users/1'
#23 - info - Cache miss 'config_values'
#24 - info - Cache hit 'config_values'
#25 - info - Cache miss 'models/users/1'
#26 - info - Cache hit 'models/users/1'
#27 - info - Cache hit 'models/users/1'
#28 - info - Cache miss 'models/users/1/config_options'
#29 - info - Cache miss 'config_values'
#30 - info - Cache hit 'models/users/1/config_options'
#31 - info - Cache hit 'config_values'
#32 - info - Cache hit 'models/users/1/config_options'
#33 - info - Cache hit 'config_values'
#34 - info - Cache hit 'models/users/1/config_options'
#35 - info - Cache hit 'config_values'
#36 - info - Cache hit 'models/users/1'
#37 - info - Cache hit 'models/users/1'
#38 - info - Cache hit 'models/users/1/config_options'
#39 - info - Cache hit 'models/users/1'
#40 - info - Cache hit 'models/users/1/config_options'
#41 - info - Cache hit 'models/users/1/config_options'
#42 - info - Cache hit 'models/users/1'
#43 - info - Cache hit 'models/users/1'
#44 - info - Cache miss 'models/test_data_objects/1'
#45 - info - Cache miss 'models/test_data_objects/1'
#46 - info - Cache miss 'models/test_data_objects/1'
#47 - info - Cache miss 'models/test_data_objects/12'
#48 - info - Cache hit 'config_values'
#49 - info - Cache hit 'config_values'
#50 - info - Cache miss 'models/users/1'
#51 - info - Cache miss 'config_values'
#52 - info - Cache hit 'config_values'
#53 - info - Cache miss 'models/users/1'
#54 - info - Cache miss 'config_values'
#55 - info - Cache hit 'config_values'
#56 - info - Cache hit 'config_values'
#57 - info - Cache hit 'config_values'
#58 - info - Cache hit 'config_values'
#59 - info - Cache hit 'config_values'
#60 - info - Cache miss 'config_values'
#61 - info - Cache hit 'config_values'
#62 - info - Cache miss 'models/users/1'
#63 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#64 - info - Cache miss 'models/test_config_options_object1s/2/config_options'
#65 - info - Cache miss 'models/test_config_options_object2s/1/config_options'
#66 - info - Cache miss 'config_values'
#67 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#68 - info - Cache hit 'models/test_config_options_object1s/1/config_options'
#69 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#70 - info - Cache hit 'config_values'
#71 - info - Cache hit 'config_values'
#72 - info - Cache hit 'config_values'
#73 - info - Cache miss 'models/users/1'
#74 - info - Cache hit 'models/users/1'
#75 - info - Cache miss 'models/users/1/config_options'
#76 - info - Cache miss 'models/users/1'

events

#1 - info - Event 'on_before_object_validation' triggered
#2 - info - Event 'on_after_object_validation' triggered
#3 - info - Event 'on_before_object_save' triggered
#4 - info - Event 'on_before_object_insert' triggered
#5 - info - Event 'on_object_inserted' triggered
#6 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#7 - info - Event 'on_after_object_save' triggered
#8 - info - Event 'on_before_object_validation' triggered
#9 - info - Event 'on_after_object_validation' triggered
#10 - info - Event 'on_before_object_save' triggered
#11 - info - Event 'on_before_object_update' triggered
#12 - info - Event 'on_object_updated' triggered
#13 - info - Event 'on_after_object_save' triggered
#14 - info - Event 'on_before_object_deleted' triggered
#15 - info - Event 'on_object_deleted' triggered
#16 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#17 - info - Event 'on_search_indices' triggered
#18 - info - Callback 'help_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#19 - info - Callback 'authentication_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#20 - info - Callback 'system_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#21 - info - Callback 'documents_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#22 - info - Event 'on_before_object_validation' triggered
#23 - info - Event 'on_after_object_validation' triggered
#24 - info - Event 'on_before_object_save' triggered
#25 - info - Event 'on_before_object_insert' triggered
#26 - info - Event 'on_object_inserted' triggered
#27 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#28 - info - Event 'on_after_object_save' triggered
#29 - info - Event 'on_before_object_validation' triggered
#30 - info - Event 'on_after_object_validation' triggered
#31 - info - Event 'on_before_object_save' triggered
#32 - info - Event 'on_before_object_insert' triggered
#33 - info - Event 'on_object_inserted' triggered
#34 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#35 - info - Event 'on_after_object_save' triggered
#36 - info - Event 'on_before_object_validation' triggered
#37 - info - Event 'on_after_object_validation' triggered
#38 - info - Event 'on_before_object_save' triggered
#39 - info - Event 'on_before_object_insert' triggered
#40 - info - Event 'on_object_inserted' triggered
#41 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#42 - info - Event 'on_after_object_save' triggered
#43 - info - Event 'on_before_object_deleted' triggered
#44 - info - Event 'on_object_deleted' triggered
#45 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#46 - info - Event 'on_before_object_validation' triggered
#47 - info - Event 'on_after_object_validation' triggered
#48 - info - Event 'on_before_object_save' triggered
#49 - info - Event 'on_before_object_insert' triggered
#50 - info - Event 'on_object_inserted' triggered
#51 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#52 - info - Event 'on_after_object_save' triggered
#53 - info - Event 'on_before_object_deleted' triggered
#54 - info - Event 'on_object_deleted' triggered
#55 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#56 - info - Event 'on_before_object_validation' triggered
#57 - info - Event 'on_after_object_validation' triggered
#58 - info - Event 'on_before_object_save' triggered
#59 - info - Event 'on_before_object_insert' triggered
#60 - info - Event 'on_object_inserted' triggered
#61 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#62 - info - Event 'on_after_object_save' triggered
#63 - info - Event 'on_before_object_validation' triggered
#64 - info - Event 'on_after_object_validation' triggered
#65 - info - Event 'on_before_object_save' triggered
#66 - info - Event 'on_before_object_insert' triggered
#67 - info - Event 'on_object_inserted' triggered
#68 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#69 - info - Event 'on_after_object_save' triggered
#70 - info - Event 'on_before_object_validation' triggered
#71 - info - Event 'on_after_object_validation' triggered
#72 - info - Event 'on_before_object_save' triggered
#73 - info - Event 'on_before_object_insert' triggered
#74 - info - Event 'on_object_inserted' triggered
#75 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#76 - info - Event 'on_after_object_save' triggered
#77 - info - Event 'on_before_object_validation' triggered
#78 - info - Event 'on_after_object_validation' triggered
#79 - info - Event 'on_before_object_save' triggered
#80 - info - Event 'on_before_object_update' triggered
#81 - info - Event 'on_object_updated' triggered
#82 - info - Event 'on_after_object_save' triggered
#83 - info - Event 'on_before_object_validation' triggered
#84 - info - Event 'on_after_object_validation' triggered
#85 - info - Event 'on_before_object_save' triggered
#86 - info - Event 'on_before_object_insert' triggered
#87 - info - Event 'on_object_inserted' triggered
#88 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#89 - info - Event 'on_after_object_save' triggered
#90 - info - Event 'on_before_object_validation' triggered
#91 - info - Event 'on_after_object_validation' triggered
#92 - info - Event 'on_before_object_save' triggered
#93 - info - Event 'on_before_object_update' triggered
#94 - info - Event 'on_object_updated' triggered
#95 - info - Event 'on_after_object_save' triggered
#96 - info - Event 'on_before_object_validation' triggered
#97 - info - Event 'on_after_object_validation' triggered
#98 - info - Event 'on_before_object_validation' triggered
#99 - info - Event 'on_after_object_validation' triggered
#100 - info - Event 'on_before_object_save' triggered
#101 - info - Event 'on_before_object_insert' triggered
#102 - info - Event 'on_object_inserted' triggered
#103 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#104 - info - Event 'on_after_object_save' triggered
#105 - info - Event 'on_before_object_validation' triggered
#106 - info - Event 'on_after_object_validation' triggered
#107 - info - Event 'on_before_object_validation' triggered
#108 - info - Event 'on_after_object_validation' triggered
#109 - info - Event 'on_before_object_save' triggered
#110 - info - Event 'on_before_object_insert' triggered
#111 - info - Event 'on_object_inserted' triggered
#112 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#113 - info - Event 'on_shutdown' triggered

======================================================

Logged on: Wednesday, 18-Dec-13 19:31:49 GMT
Memory usage: 122.5MB
Available groups: all, caching, sql, cache, events

all:

#1 - error - [Notice] Use of undefined constant WORK_PATH - assumed 'WORK_PATH' (in /Build/Workspaces/QA/angie/vendor/vcard/init.php on 12)
#2 - error - [Notice] Constant ANGIE_PATH already defined (in /Build/Workspaces/QA/activeCollab/instance/config/config.test.php on 7)
#3 - error - [Notice] Constant DB_CHARSET already defined (in /Build/Workspaces/QA/activeCollab/instance/config/config.test.php on 15)
#4 - info - APC cache backend loaded
#5 - info - SET NAMES 'utf8'
#6 - info - SET SESSION character_set_database = 'utf8'
#7 - info - SHOW TABLES LIKE 'ac_config_options'
#8 - info - SHOW TABLES LIKE 'ac_config_option_values'
#9 - info - SHOW TABLES LIKE 'ac_modules'
#10 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#11 - info - SHOW TABLES LIKE 'ac_update_history'
#12 - info - SHOW TABLES LIKE 'ac_access_logs'
#13 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#14 - info - SHOW TABLES LIKE 'ac_object_contexts'
#15 - info - SHOW TABLES LIKE 'ac_routing_cache'
#16 - info - SHOW TABLES LIKE 'ac_currencies'
#17 - info - SHOW TABLES LIKE 'ac_day_offs'
#18 - info - SHOW TABLES LIKE 'ac_languages'
#19 - info - SHOW TABLES LIKE 'ac_language_phrases'
#20 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#21 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#22 - info - SHOW TABLES LIKE 'ac_users'
#23 - info - SHOW TABLES LIKE 'ac_user_addresses'
#24 - info - SHOW TABLES LIKE 'ac_user_sessions'
#25 - info - SHOW TABLES LIKE 'ac_security_logs'
#26 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#27 - info - SHOW TABLES LIKE 'ac_activity_logs'
#28 - info - SHOW TABLES LIKE 'ac_data_filters'
#29 - info - SHOW TABLES LIKE 'ac_data_filters'
#30 - info - DROP TABLE `ac_data_filters`
#31 - info - SHOW TABLES LIKE 'ac_modification_logs'
#32 - info - SHOW TABLES LIKE 'ac_modification_logs'
#33 - info - DROP TABLE `ac_modification_logs`
#34 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#35 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#36 - info - DROP TABLE `ac_modification_log_values`
#37 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#38 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#39 - info - DROP TABLE `ac_mailing_activity_logs`
#40 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#41 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#42 - info - DROP TABLE `ac_outgoing_messages`
#43 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#44 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#45 - info - DROP TABLE `ac_incoming_mail_attachments`
#46 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#47 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#48 - info - DROP TABLE `ac_incoming_mail_filters`
#49 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#50 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#51 - info - DROP TABLE `ac_incoming_mailboxes`
#52 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#53 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#54 - info - DROP TABLE `ac_incoming_mails`
#55 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#56 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#57 - info - DROP TABLE `ac_homescreen_tabs`
#58 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#59 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#60 - info - DROP TABLE `ac_homescreen_widgets`
#61 - info - SHOW TABLES LIKE 'ac_announcements'
#62 - info - SHOW TABLES LIKE 'ac_announcements'
#63 - info - DROP TABLE `ac_announcements`
#64 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#65 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#66 - info - DROP TABLE `ac_announcement_target_ids`
#67 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#68 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#69 - info - DROP TABLE `ac_announcement_dismissals`
#70 - info - SHOW TABLES LIKE 'ac_attachments'
#71 - info - SHOW TABLES LIKE 'ac_attachments'
#72 - info - DROP TABLE `ac_attachments`
#73 - info - SHOW TABLES LIKE 'ac_notifications'
#74 - info - SHOW TABLES LIKE 'ac_notifications'
#75 - info - DROP TABLE `ac_notifications`
#76 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#77 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#78 - info - DROP TABLE `ac_notification_recipients`
#79 - info - SHOW TABLES LIKE 'ac_subscriptions'
#80 - info - SHOW TABLES LIKE 'ac_subscriptions'
#81 - info - DROP TABLE `ac_subscriptions`
#82 - info - SHOW TABLES LIKE 'ac_comments'
#83 - info - SHOW TABLES LIKE 'ac_comments'
#84 - info - DROP TABLE `ac_comments`
#85 - info - SHOW TABLES LIKE 'ac_categories'
#86 - info - SHOW TABLES LIKE 'ac_categories'
#87 - info - DROP TABLE `ac_categories`
#88 - info - SHOW TABLES LIKE 'ac_labels'
#89 - info - SHOW TABLES LIKE 'ac_labels'
#90 - info - DROP TABLE `ac_labels`
#91 - info - SHOW TABLES LIKE 'ac_assignments'
#92 - info - SHOW TABLES LIKE 'ac_assignments'
#93 - info - DROP TABLE `ac_assignments`
#94 - info - SHOW TABLES LIKE 'ac_subtasks'
#95 - info - SHOW TABLES LIKE 'ac_subtasks'
#96 - info - DROP TABLE `ac_subtasks`
#97 - info - SHOW TABLES LIKE 'ac_favorites'
#98 - info - SHOW TABLES LIKE 'ac_favorites'
#99 - info - DROP TABLE `ac_favorites`
#100 - info - SHOW TABLES LIKE 'ac_code_snippets'
#101 - info - SHOW TABLES LIKE 'ac_code_snippets'
#102 - info - DROP TABLE `ac_code_snippets`
#103 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#104 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#105 - info - DROP TABLE `ac_payment_gateways`
#106 - info - SHOW TABLES LIKE 'ac_payments'
#107 - info - SHOW TABLES LIKE 'ac_payments'
#108 - info - DROP TABLE `ac_payments`
#109 - info - SHOW TABLES LIKE 'ac_reminders'
#110 - info - SHOW TABLES LIKE 'ac_reminders'
#111 - info - DROP TABLE `ac_reminders`
#112 - info - SHOW TABLES LIKE 'ac_reminder_users'
#113 - info - SHOW TABLES LIKE 'ac_reminder_users'
#114 - info - DROP TABLE `ac_reminder_users`
#115 - info - SHOW TABLES LIKE 'ac_custom_fields'
#116 - info - SHOW TABLES LIKE 'ac_custom_fields'
#117 - info - DROP TABLE `ac_custom_fields`
#118 - info - SHOW TABLES LIKE 'ac_calendars'
#119 - info - SHOW TABLES LIKE 'ac_calendars'
#120 - info - DROP TABLE `ac_calendars`
#121 - info - SHOW TABLES LIKE 'ac_calendar_events'
#122 - info - SHOW TABLES LIKE 'ac_calendar_events'
#123 - info - DROP TABLE `ac_calendar_events`
#124 - info - SHOW TABLES LIKE 'ac_calendar_users'
#125 - info - SHOW TABLES LIKE 'ac_calendar_users'
#126 - info - DROP TABLE `ac_calendar_users`
#127 - info - SHOW TABLES LIKE 'ac_data_sources'
#128 - info - SHOW TABLES LIKE 'ac_data_sources'
#129 - info - DROP TABLE `ac_data_sources`
#130 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#131 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#132 - info - DROP TABLE `ac_data_source_mappings`
#133 - info - SHOW TABLES LIKE 'ac_companies'
#134 - info - SHOW TABLES LIKE 'ac_companies'
#135 - info - DROP TABLE `ac_companies`
#136 - info - SHOW TABLES LIKE 'ac_projects'
#137 - info - SHOW TABLES LIKE 'ac_projects'
#138 - info - DROP TABLE `ac_projects`
#139 - info - SHOW TABLES LIKE 'ac_project_roles'
#140 - info - SHOW TABLES LIKE 'ac_project_roles'
#141 - info - DROP TABLE `ac_project_roles`
#142 - info - SHOW TABLES LIKE 'ac_project_users'
#143 - info - SHOW TABLES LIKE 'ac_project_users'
#144 - info - DROP TABLE `ac_project_users`
#145 - info - SHOW TABLES LIKE 'ac_project_requests'
#146 - info - SHOW TABLES LIKE 'ac_project_requests'
#147 - info - DROP TABLE `ac_project_requests`
#148 - info - SHOW TABLES LIKE 'ac_project_objects'
#149 - info - SHOW TABLES LIKE 'ac_project_objects'
#150 - info - DROP TABLE `ac_project_objects`
#151 - info - SHOW TABLES LIKE 'ac_project_templates'
#152 - info - SHOW TABLES LIKE 'ac_project_templates'
#153 - info - DROP TABLE `ac_project_templates`
#154 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#155 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#156 - info - DROP TABLE `ac_project_object_templates`
#157 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#158 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#159 - info - DROP TABLE `ac_shared_object_profiles`
#160 - info - SHOW TABLES LIKE 'ac_file_versions'
#161 - info - SHOW TABLES LIKE 'ac_file_versions'
#162 - info - DROP TABLE `ac_file_versions`
#163 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#164 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#165 - info - DROP TABLE `ac_text_document_versions`
#166 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#167 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#168 - info - DROP TABLE `ac_public_task_forms`
#169 - info - SHOW TABLES LIKE 'ac_related_tasks'
#170 - info - SHOW TABLES LIKE 'ac_related_tasks'
#171 - info - DROP TABLE `ac_related_tasks`
#172 - info - SHOW TABLES LIKE 'ac_task_segments'
#173 - info - SHOW TABLES LIKE 'ac_task_segments'
#174 - info - DROP TABLE `ac_task_segments`
#175 - info - SHOW TABLES LIKE 'ac_status_updates'
#176 - info - SHOW TABLES LIKE 'ac_status_updates'
#177 - info - DROP TABLE `ac_status_updates`
#178 - info - SHOW TABLES LIKE 'ac_documents'
#179 - info - SHOW TABLES LIKE 'ac_documents'
#180 - info - DROP TABLE `ac_documents`
#181 - info - SHOW TABLES LIKE 'ac_time_records'
#182 - info - SHOW TABLES LIKE 'ac_time_records'
#183 - info - DROP TABLE `ac_time_records`
#184 - info - SHOW TABLES LIKE 'ac_job_types'
#185 - info - SHOW TABLES LIKE 'ac_job_types'
#186 - info - DROP TABLE `ac_job_types`
#187 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#188 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#189 - info - DROP TABLE `ac_project_hourly_rates`
#190 - info - SHOW TABLES LIKE 'ac_expenses'
#191 - info - SHOW TABLES LIKE 'ac_expenses'
#192 - info - DROP TABLE `ac_expenses`
#193 - info - SHOW TABLES LIKE 'ac_expense_categories'
#194 - info - SHOW TABLES LIKE 'ac_expense_categories'
#195 - info - DROP TABLE `ac_expense_categories`
#196 - info - SHOW TABLES LIKE 'ac_estimates'
#197 - info - SHOW TABLES LIKE 'ac_estimates'
#198 - info - DROP TABLE `ac_estimates`
#199 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#200 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#201 - info - DROP TABLE `ac_invoice_objects`
#202 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#203 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#204 - info - DROP TABLE `ac_invoice_object_items`
#205 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#206 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#207 - info - DROP TABLE `ac_invoice_item_templates`
#208 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#209 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#210 - info - DROP TABLE `ac_invoice_note_templates`
#211 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#212 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#213 - info - DROP TABLE `ac_invoice_related_records`
#214 - info - SHOW TABLES LIKE 'ac_tax_rates'
#215 - info - SHOW TABLES LIKE 'ac_tax_rates'
#216 - info - DROP TABLE `ac_tax_rates`
#217 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#218 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#219 - info - DROP TABLE `ac_notebook_pages`
#220 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#221 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#222 - info - DROP TABLE `ac_notebook_page_versions`
#223 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#224 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#225 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#226 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#227 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#228 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#229 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#230 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#231 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#232 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#233 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#234 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#235 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#236 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#237 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#238 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#239 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#240 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#241 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#242 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#243 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#244 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#245 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#246 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#247 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#248 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#249 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#250 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#251 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#252 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#253 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#254 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#255 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#256 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#257 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#258 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#259 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#260 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#261 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#262 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#263 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#264 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#265 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#266 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#267 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#268 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#269 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#270 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#271 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#272 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#273 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#274 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#275 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#276 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#277 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#278 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#279 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#280 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#281 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#282 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#283 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#284 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#285 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#286 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#287 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#288 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#289 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#290 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#291 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#292 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#293 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#294 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#295 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#296 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#297 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#298 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#299 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#300 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#301 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#302 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#303 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#304 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#305 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#306 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#307 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#308 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#309 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#310 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#311 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#313 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#314 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#315 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#316 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#317 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#318 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#319 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#344 - info - BEGIN WORK
#345 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#346 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#347 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#348 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#349 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#350 - info - COMMIT
#351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#378 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#379 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#380 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#381 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#382 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#383 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#384 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#385 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#386 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#387 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#388 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#389 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#390 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#391 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395006;')
#405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#417 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#418 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#419 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#420 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#421 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#422 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#423 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#424 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#425 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#429 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#430 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#448 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#449 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#450 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#451 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#452 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:06', '1')
#453 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#454 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#455 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#456 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#458 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#460 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#466 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#467 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#468 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#469 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#471 - info - BEGIN WORK
#472 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#473 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#474 - info - COMMIT
#475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#476 - info - BEGIN WORK
#477 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#478 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#479 - info - COMMIT
#480 - info - BEGIN WORK
#481 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#482 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#483 - info - COMMIT
#484 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#485 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#486 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#515 - info - SHOW TABLES LIKE 'ac_job_types'
#516 - info - SELECT COUNT(id) FROM ac_job_types
#517 - info - SHOW TABLES LIKE 'ac_tax_rates'
#518 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#519 - info - BEGIN WORK
#520 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#521 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#522 - info - COMMIT
#523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#524 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#525 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#526 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#527 - info - SELECT COUNT(name) FROM ac_modules
#528 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#529 - info - SELECT name FROM ac_modules
#530 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#531 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#532 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#533 - info - Cache miss 'installed_non_system_modues'
#534 - info - SELECT name, is_enabled FROM ac_modules WHERE name != 'system' ORDER BY position
#535 - info - Cache hit 'installed_non_system_modues'
#536 - info - Cache hit 'installed_non_system_modues'
#537 - info - Cache hit 'installed_non_system_modues'
#538 - info - Cache hit 'installed_non_system_modues'
#539 - info - Cache hit 'installed_non_system_modues'
#540 - info - Cache hit 'installed_non_system_modues'
#541 - info - Cache hit 'installed_non_system_modues'
#542 - info - Cache hit 'installed_non_system_modues'
#543 - info - Cache hit 'installed_non_system_modues'
#544 - info - Cache miss 'root_url'
#545 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#546 - info - File system cache backend loaded
#547 - info - BEGIN WORK
#548 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#549 - info - Event 'on_before_object_validation' triggered
#550 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#551 - info - Event 'on_after_object_validation' triggered
#552 - info - Event 'on_before_object_save' triggered
#553 - info - Event 'on_before_object_insert' triggered
#554 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'File', '2013-12-18 19:30:07')
#555 - info - Event 'on_object_inserted' triggered
#556 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#557 - info - Event 'on_after_object_save' triggered
#558 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#559 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#560 - info - COMMIT
#561 - info - Cache miss 'models/test_data_objects/1'
#562 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#563 - info - Cache hit 'models/test_data_objects/1'
#564 - info - BEGIN WORK
#565 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#566 - info - Event 'on_before_object_validation' triggered
#567 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'New name') AND (id <> '1')
#568 - info - Event 'on_after_object_validation' triggered
#569 - info - Event 'on_before_object_save' triggered
#570 - info - Event 'on_before_object_update' triggered
#571 - info - UPDATE ac_test_data_objects SET name = 'New name', updated_on = '2013-12-18 19:30:07' WHERE id = '1'
#572 - info - Event 'on_object_updated' triggered
#573 - info - Event 'on_after_object_save' triggered
#574 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#575 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#576 - info - COMMIT
#577 - info - Cache miss 'models/test_data_objects/1'
#578 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#579 - info - BEGIN WORK
#580 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#581 - info - Event 'on_before_object_deleted' triggered
#582 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#583 - info - Event 'on_object_deleted' triggered
#584 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#585 - info - COMMIT
#586 - info - DROP TABLE IF EXISTS ac_test_data_objects
#587 - info - File system cache backend loaded
#588 - info - Cache miss 'something_to_get'
#589 - info - Cache hit 'something_to_get'
#590 - info - File system cache backend loaded
#591 - info - Cache miss 'something_to_get'
#592 - info - SHOW TABLES LIKE 'ac_config_options'
#593 - info - SHOW TABLES LIKE 'ac_config_options'
#594 - info - DROP TABLE `ac_config_options`
#595 - info - SHOW TABLES LIKE 'ac_config_option_values'
#596 - info - SHOW TABLES LIKE 'ac_config_option_values'
#597 - info - DROP TABLE `ac_config_option_values`
#598 - info - SHOW TABLES LIKE 'ac_modules'
#599 - info - SHOW TABLES LIKE 'ac_modules'
#600 - info - DROP TABLE `ac_modules`
#601 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#602 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#603 - info - DROP TABLE `ac_executed_model_migrations`
#604 - info - SHOW TABLES LIKE 'ac_update_history'
#605 - info - SHOW TABLES LIKE 'ac_update_history'
#606 - info - DROP TABLE `ac_update_history`
#607 - info - SHOW TABLES LIKE 'ac_access_logs'
#608 - info - SHOW TABLES LIKE 'ac_access_logs'
#609 - info - DROP TABLE `ac_access_logs`
#610 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#611 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#612 - info - DROP TABLE `ac_access_logs_archive`
#613 - info - SHOW TABLES LIKE 'ac_object_contexts'
#614 - info - SHOW TABLES LIKE 'ac_object_contexts'
#615 - info - DROP TABLE `ac_object_contexts`
#616 - info - SHOW TABLES LIKE 'ac_routing_cache'
#617 - info - SHOW TABLES LIKE 'ac_routing_cache'
#618 - info - DROP TABLE `ac_routing_cache`
#619 - info - SHOW TABLES LIKE 'ac_currencies'
#620 - info - SHOW TABLES LIKE 'ac_currencies'
#621 - info - DROP TABLE `ac_currencies`
#622 - info - SHOW TABLES LIKE 'ac_day_offs'
#623 - info - SHOW TABLES LIKE 'ac_day_offs'
#624 - info - DROP TABLE `ac_day_offs`
#625 - info - SHOW TABLES LIKE 'ac_languages'
#626 - info - SHOW TABLES LIKE 'ac_languages'
#627 - info - DROP TABLE `ac_languages`
#628 - info - SHOW TABLES LIKE 'ac_language_phrases'
#629 - info - SHOW TABLES LIKE 'ac_language_phrases'
#630 - info - DROP TABLE `ac_language_phrases`
#631 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#632 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#633 - info - DROP TABLE `ac_language_phrase_translations`
#634 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#635 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#636 - info - DROP TABLE `ac_api_client_subscriptions`
#637 - info - SHOW TABLES LIKE 'ac_users'
#638 - info - SHOW TABLES LIKE 'ac_users'
#639 - info - DROP TABLE `ac_users`
#640 - info - SHOW TABLES LIKE 'ac_user_addresses'
#641 - info - SHOW TABLES LIKE 'ac_user_addresses'
#642 - info - DROP TABLE `ac_user_addresses`
#643 - info - SHOW TABLES LIKE 'ac_user_sessions'
#644 - info - SHOW TABLES LIKE 'ac_user_sessions'
#645 - info - DROP TABLE `ac_user_sessions`
#646 - info - SHOW TABLES LIKE 'ac_security_logs'
#647 - info - SHOW TABLES LIKE 'ac_security_logs'
#648 - info - DROP TABLE `ac_security_logs`
#649 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#650 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#651 - info - DROP TABLE `ac_api_token_logs`
#652 - info - SHOW TABLES LIKE 'ac_activity_logs'
#653 - info - SHOW TABLES LIKE 'ac_activity_logs'
#654 - info - DROP TABLE `ac_activity_logs`
#655 - info - SHOW TABLES LIKE 'ac_data_filters'
#656 - info - SHOW TABLES LIKE 'ac_data_filters'
#657 - info - DROP TABLE `ac_data_filters`
#658 - info - SHOW TABLES LIKE 'ac_modification_logs'
#659 - info - SHOW TABLES LIKE 'ac_modification_logs'
#660 - info - DROP TABLE `ac_modification_logs`
#661 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#662 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#663 - info - DROP TABLE `ac_modification_log_values`
#664 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#665 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#666 - info - DROP TABLE `ac_mailing_activity_logs`
#667 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#668 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#669 - info - DROP TABLE `ac_outgoing_messages`
#670 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#671 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#672 - info - DROP TABLE `ac_incoming_mail_attachments`
#673 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#674 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#675 - info - DROP TABLE `ac_incoming_mail_filters`
#676 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#677 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#678 - info - DROP TABLE `ac_incoming_mailboxes`
#679 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#680 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#681 - info - DROP TABLE `ac_incoming_mails`
#682 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#683 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#684 - info - DROP TABLE `ac_homescreen_tabs`
#685 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#686 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#687 - info - DROP TABLE `ac_homescreen_widgets`
#688 - info - SHOW TABLES LIKE 'ac_announcements'
#689 - info - SHOW TABLES LIKE 'ac_announcements'
#690 - info - DROP TABLE `ac_announcements`
#691 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#692 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#693 - info - DROP TABLE `ac_announcement_target_ids`
#694 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#695 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#696 - info - DROP TABLE `ac_announcement_dismissals`
#697 - info - SHOW TABLES LIKE 'ac_attachments'
#698 - info - SHOW TABLES LIKE 'ac_attachments'
#699 - info - DROP TABLE `ac_attachments`
#700 - info - SHOW TABLES LIKE 'ac_notifications'
#701 - info - SHOW TABLES LIKE 'ac_notifications'
#702 - info - DROP TABLE `ac_notifications`
#703 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#704 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#705 - info - DROP TABLE `ac_notification_recipients`
#706 - info - SHOW TABLES LIKE 'ac_subscriptions'
#707 - info - SHOW TABLES LIKE 'ac_subscriptions'
#708 - info - DROP TABLE `ac_subscriptions`
#709 - info - SHOW TABLES LIKE 'ac_comments'
#710 - info - SHOW TABLES LIKE 'ac_comments'
#711 - info - DROP TABLE `ac_comments`
#712 - info - SHOW TABLES LIKE 'ac_categories'
#713 - info - SHOW TABLES LIKE 'ac_categories'
#714 - info - DROP TABLE `ac_categories`
#715 - info - SHOW TABLES LIKE 'ac_labels'
#716 - info - SHOW TABLES LIKE 'ac_labels'
#717 - info - DROP TABLE `ac_labels`
#718 - info - SHOW TABLES LIKE 'ac_assignments'
#719 - info - SHOW TABLES LIKE 'ac_assignments'
#720 - info - DROP TABLE `ac_assignments`
#721 - info - SHOW TABLES LIKE 'ac_subtasks'
#722 - info - SHOW TABLES LIKE 'ac_subtasks'
#723 - info - DROP TABLE `ac_subtasks`
#724 - info - SHOW TABLES LIKE 'ac_favorites'
#725 - info - SHOW TABLES LIKE 'ac_favorites'
#726 - info - DROP TABLE `ac_favorites`
#727 - info - SHOW TABLES LIKE 'ac_code_snippets'
#728 - info - SHOW TABLES LIKE 'ac_code_snippets'
#729 - info - DROP TABLE `ac_code_snippets`
#730 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#731 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#732 - info - DROP TABLE `ac_payment_gateways`
#733 - info - SHOW TABLES LIKE 'ac_payments'
#734 - info - SHOW TABLES LIKE 'ac_payments'
#735 - info - DROP TABLE `ac_payments`
#736 - info - SHOW TABLES LIKE 'ac_reminders'
#737 - info - SHOW TABLES LIKE 'ac_reminders'
#738 - info - DROP TABLE `ac_reminders`
#739 - info - SHOW TABLES LIKE 'ac_reminder_users'
#740 - info - SHOW TABLES LIKE 'ac_reminder_users'
#741 - info - DROP TABLE `ac_reminder_users`
#742 - info - SHOW TABLES LIKE 'ac_custom_fields'
#743 - info - SHOW TABLES LIKE 'ac_custom_fields'
#744 - info - DROP TABLE `ac_custom_fields`
#745 - info - SHOW TABLES LIKE 'ac_calendars'
#746 - info - SHOW TABLES LIKE 'ac_calendars'
#747 - info - DROP TABLE `ac_calendars`
#748 - info - SHOW TABLES LIKE 'ac_calendar_events'
#749 - info - SHOW TABLES LIKE 'ac_calendar_events'
#750 - info - DROP TABLE `ac_calendar_events`
#751 - info - SHOW TABLES LIKE 'ac_calendar_users'
#752 - info - SHOW TABLES LIKE 'ac_calendar_users'
#753 - info - DROP TABLE `ac_calendar_users`
#754 - info - SHOW TABLES LIKE 'ac_data_sources'
#755 - info - SHOW TABLES LIKE 'ac_data_sources'
#756 - info - DROP TABLE `ac_data_sources`
#757 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#758 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#759 - info - DROP TABLE `ac_data_source_mappings`
#760 - info - SHOW TABLES LIKE 'ac_companies'
#761 - info - SHOW TABLES LIKE 'ac_companies'
#762 - info - DROP TABLE `ac_companies`
#763 - info - SHOW TABLES LIKE 'ac_projects'
#764 - info - SHOW TABLES LIKE 'ac_projects'
#765 - info - DROP TABLE `ac_projects`
#766 - info - SHOW TABLES LIKE 'ac_project_roles'
#767 - info - SHOW TABLES LIKE 'ac_project_roles'
#768 - info - DROP TABLE `ac_project_roles`
#769 - info - SHOW TABLES LIKE 'ac_project_users'
#770 - info - SHOW TABLES LIKE 'ac_project_users'
#771 - info - DROP TABLE `ac_project_users`
#772 - info - SHOW TABLES LIKE 'ac_project_requests'
#773 - info - SHOW TABLES LIKE 'ac_project_requests'
#774 - info - DROP TABLE `ac_project_requests`
#775 - info - SHOW TABLES LIKE 'ac_project_objects'
#776 - info - SHOW TABLES LIKE 'ac_project_objects'
#777 - info - DROP TABLE `ac_project_objects`
#778 - info - SHOW TABLES LIKE 'ac_project_templates'
#779 - info - SHOW TABLES LIKE 'ac_project_templates'
#780 - info - DROP TABLE `ac_project_templates`
#781 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#782 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#783 - info - DROP TABLE `ac_project_object_templates`
#784 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#785 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#786 - info - DROP TABLE `ac_shared_object_profiles`
#787 - info - SHOW TABLES LIKE 'ac_file_versions'
#788 - info - SHOW TABLES LIKE 'ac_file_versions'
#789 - info - DROP TABLE `ac_file_versions`
#790 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#791 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#792 - info - DROP TABLE `ac_text_document_versions`
#793 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#794 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#795 - info - DROP TABLE `ac_public_task_forms`
#796 - info - SHOW TABLES LIKE 'ac_related_tasks'
#797 - info - SHOW TABLES LIKE 'ac_related_tasks'
#798 - info - DROP TABLE `ac_related_tasks`
#799 - info - SHOW TABLES LIKE 'ac_task_segments'
#800 - info - SHOW TABLES LIKE 'ac_task_segments'
#801 - info - DROP TABLE `ac_task_segments`
#802 - info - SHOW TABLES LIKE 'ac_status_updates'
#803 - info - SHOW TABLES LIKE 'ac_status_updates'
#804 - info - DROP TABLE `ac_status_updates`
#805 - info - SHOW TABLES LIKE 'ac_documents'
#806 - info - SHOW TABLES LIKE 'ac_documents'
#807 - info - DROP TABLE `ac_documents`
#808 - info - SHOW TABLES LIKE 'ac_time_records'
#809 - info - SHOW TABLES LIKE 'ac_time_records'
#810 - info - DROP TABLE `ac_time_records`
#811 - info - SHOW TABLES LIKE 'ac_job_types'
#812 - info - SHOW TABLES LIKE 'ac_job_types'
#813 - info - DROP TABLE `ac_job_types`
#814 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#815 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#816 - info - DROP TABLE `ac_project_hourly_rates`
#817 - info - SHOW TABLES LIKE 'ac_expenses'
#818 - info - SHOW TABLES LIKE 'ac_expenses'
#819 - info - DROP TABLE `ac_expenses`
#820 - info - SHOW TABLES LIKE 'ac_expense_categories'
#821 - info - SHOW TABLES LIKE 'ac_expense_categories'
#822 - info - DROP TABLE `ac_expense_categories`
#823 - info - SHOW TABLES LIKE 'ac_estimates'
#824 - info - SHOW TABLES LIKE 'ac_estimates'
#825 - info - DROP TABLE `ac_estimates`
#826 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#827 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#828 - info - DROP TABLE `ac_invoice_objects`
#829 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#830 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#831 - info - DROP TABLE `ac_invoice_object_items`
#832 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#833 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#834 - info - DROP TABLE `ac_invoice_item_templates`
#835 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#836 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#837 - info - DROP TABLE `ac_invoice_note_templates`
#838 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#839 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#840 - info - DROP TABLE `ac_invoice_related_records`
#841 - info - SHOW TABLES LIKE 'ac_tax_rates'
#842 - info - SHOW TABLES LIKE 'ac_tax_rates'
#843 - info - DROP TABLE `ac_tax_rates`
#844 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#845 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#846 - info - DROP TABLE `ac_notebook_pages`
#847 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#848 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#849 - info - DROP TABLE `ac_notebook_page_versions`
#850 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#851 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#852 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#853 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#854 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#855 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#856 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#857 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#858 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#859 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#860 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#861 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#862 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#863 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#864 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#865 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#866 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#867 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#868 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#869 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#870 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#871 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#872 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#873 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#874 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#875 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#876 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#877 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#878 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#879 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#880 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#881 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#882 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#883 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#884 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#885 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#886 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#887 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#888 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#889 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#890 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#891 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#892 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#893 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#894 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#895 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#896 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#897 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#898 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#899 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#900 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#901 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#902 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#903 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#904 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#905 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#906 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#907 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#908 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#909 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#910 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#911 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#912 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#913 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#914 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#915 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#916 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#917 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#918 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#919 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#920 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#921 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#922 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#923 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#924 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#925 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#926 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#927 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#928 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#929 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#930 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#931 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#932 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#933 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#934 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#935 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#952 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#953 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#954 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#955 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#956 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#957 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#958 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#963 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#964 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#965 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#966 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#967 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#971 - info - BEGIN WORK
#972 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#973 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#974 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#975 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#976 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#977 - info - COMMIT
#978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1005 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1006 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1007 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1008 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1009 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1010 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1011 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1012 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1013 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1014 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1015 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1016 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1017 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1018 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1019 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1020 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395007;')
#1032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1036 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1042 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1043 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1044 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1045 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1046 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1047 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1048 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1049 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1050 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1051 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1052 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1053 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1054 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1056 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1057 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1058 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1059 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1075 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1076 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1077 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1078 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1079 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:07', '1')
#1080 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1081 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1082 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1083 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1084 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1085 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1086 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1087 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1090 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1091 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1093 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1094 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1095 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1096 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1098 - info - BEGIN WORK
#1099 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1100 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1101 - info - COMMIT
#1102 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1103 - info - BEGIN WORK
#1104 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1105 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1106 - info - COMMIT
#1107 - info - BEGIN WORK
#1108 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1109 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1110 - info - COMMIT
#1111 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1112 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1113 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1114 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1115 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1117 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1119 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1121 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1122 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1124 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1125 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1126 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1127 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1128 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1129 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1135 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1137 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1142 - info - SHOW TABLES LIKE 'ac_job_types'
#1143 - info - SELECT COUNT(id) FROM ac_job_types
#1144 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1145 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1146 - info - BEGIN WORK
#1147 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1148 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1149 - info - COMMIT
#1150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1151 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1152 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1153 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1154 - info - SELECT COUNT(name) FROM ac_modules
#1155 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1156 - info - SELECT name FROM ac_modules
#1157 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1158 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1159 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1160 - info - Cache miss 'config_values'
#1161 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1162 - info - Cache hit 'config_values'
#1163 - info - SELECT value FROM ac_config_options WHERE name = 'search_provider'
#1164 - info - Event 'on_search_indices' triggered
#1165 - info - Callback 'help_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1166 - info - Callback 'authentication_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1167 - info - Callback 'system_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1168 - info - Callback 'documents_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1169 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1170 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1171 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1172 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1173 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1174 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1175 - info - BEGIN WORK
#1176 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1177 - info - Cache hit 'config_values'
#1178 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1179 - info - UPDATE ac_config_options SET value = 'i:1387395007;' WHERE name = 'search_initialized_on'
#1180 - info - COMMIT
#1181 - info - Cache hit 'config_values'
#1182 - info - Cache miss 'models/users/1'
#1183 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1184 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1185 - info - SHOW TABLES LIKE 'ac_%'
#1186 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1187 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1188 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1189 - info - SHOW TABLES LIKE 'ac_%'
#1190 - info - DROP TABLE ac_test_table
#1191 - info - SHOW TABLES LIKE 'ac_config_options'
#1192 - info - SHOW TABLES LIKE 'ac_config_options'
#1193 - info - DROP TABLE `ac_config_options`
#1194 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1195 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1196 - info - DROP TABLE `ac_config_option_values`
#1197 - info - SHOW TABLES LIKE 'ac_modules'
#1198 - info - SHOW TABLES LIKE 'ac_modules'
#1199 - info - DROP TABLE `ac_modules`
#1200 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1201 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1202 - info - DROP TABLE `ac_executed_model_migrations`
#1203 - info - SHOW TABLES LIKE 'ac_update_history'
#1204 - info - SHOW TABLES LIKE 'ac_update_history'
#1205 - info - DROP TABLE `ac_update_history`
#1206 - info - SHOW TABLES LIKE 'ac_access_logs'
#1207 - info - SHOW TABLES LIKE 'ac_access_logs'
#1208 - info - DROP TABLE `ac_access_logs`
#1209 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1210 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1211 - info - DROP TABLE `ac_access_logs_archive`
#1212 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1213 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1214 - info - DROP TABLE `ac_object_contexts`
#1215 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1216 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1217 - info - DROP TABLE `ac_routing_cache`
#1218 - info - SHOW TABLES LIKE 'ac_currencies'
#1219 - info - SHOW TABLES LIKE 'ac_currencies'
#1220 - info - DROP TABLE `ac_currencies`
#1221 - info - SHOW TABLES LIKE 'ac_day_offs'
#1222 - info - SHOW TABLES LIKE 'ac_day_offs'
#1223 - info - DROP TABLE `ac_day_offs`
#1224 - info - SHOW TABLES LIKE 'ac_languages'
#1225 - info - SHOW TABLES LIKE 'ac_languages'
#1226 - info - DROP TABLE `ac_languages`
#1227 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1228 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1229 - info - DROP TABLE `ac_language_phrases`
#1230 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1231 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1232 - info - DROP TABLE `ac_language_phrase_translations`
#1233 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1234 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1235 - info - DROP TABLE `ac_api_client_subscriptions`
#1236 - info - SHOW TABLES LIKE 'ac_users'
#1237 - info - SHOW TABLES LIKE 'ac_users'
#1238 - info - DROP TABLE `ac_users`
#1239 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1240 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1241 - info - DROP TABLE `ac_user_addresses`
#1242 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1243 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1244 - info - DROP TABLE `ac_user_sessions`
#1245 - info - SHOW TABLES LIKE 'ac_security_logs'
#1246 - info - SHOW TABLES LIKE 'ac_security_logs'
#1247 - info - DROP TABLE `ac_security_logs`
#1248 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1249 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1250 - info - DROP TABLE `ac_api_token_logs`
#1251 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1252 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1253 - info - DROP TABLE `ac_activity_logs`
#1254 - info - SHOW TABLES LIKE 'ac_data_filters'
#1255 - info - SHOW TABLES LIKE 'ac_data_filters'
#1256 - info - DROP TABLE `ac_data_filters`
#1257 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1258 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1259 - info - DROP TABLE `ac_modification_logs`
#1260 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1261 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1262 - info - DROP TABLE `ac_modification_log_values`
#1263 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1264 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1265 - info - DROP TABLE `ac_mailing_activity_logs`
#1266 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1267 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1268 - info - DROP TABLE `ac_outgoing_messages`
#1269 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1270 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1271 - info - DROP TABLE `ac_incoming_mail_attachments`
#1272 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1273 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1274 - info - DROP TABLE `ac_incoming_mail_filters`
#1275 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1276 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1277 - info - DROP TABLE `ac_incoming_mailboxes`
#1278 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1279 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1280 - info - DROP TABLE `ac_incoming_mails`
#1281 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1282 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1283 - info - DROP TABLE `ac_homescreen_tabs`
#1284 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1285 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1286 - info - DROP TABLE `ac_homescreen_widgets`
#1287 - info - SHOW TABLES LIKE 'ac_announcements'
#1288 - info - SHOW TABLES LIKE 'ac_announcements'
#1289 - info - DROP TABLE `ac_announcements`
#1290 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1291 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1292 - info - DROP TABLE `ac_announcement_target_ids`
#1293 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1294 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1295 - info - DROP TABLE `ac_announcement_dismissals`
#1296 - info - SHOW TABLES LIKE 'ac_attachments'
#1297 - info - SHOW TABLES LIKE 'ac_attachments'
#1298 - info - DROP TABLE `ac_attachments`
#1299 - info - SHOW TABLES LIKE 'ac_notifications'
#1300 - info - SHOW TABLES LIKE 'ac_notifications'
#1301 - info - DROP TABLE `ac_notifications`
#1302 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1303 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1304 - info - DROP TABLE `ac_notification_recipients`
#1305 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1306 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1307 - info - DROP TABLE `ac_subscriptions`
#1308 - info - SHOW TABLES LIKE 'ac_comments'
#1309 - info - SHOW TABLES LIKE 'ac_comments'
#1310 - info - DROP TABLE `ac_comments`
#1311 - info - SHOW TABLES LIKE 'ac_categories'
#1312 - info - SHOW TABLES LIKE 'ac_categories'
#1313 - info - DROP TABLE `ac_categories`
#1314 - info - SHOW TABLES LIKE 'ac_labels'
#1315 - info - SHOW TABLES LIKE 'ac_labels'
#1316 - info - DROP TABLE `ac_labels`
#1317 - info - SHOW TABLES LIKE 'ac_assignments'
#1318 - info - SHOW TABLES LIKE 'ac_assignments'
#1319 - info - DROP TABLE `ac_assignments`
#1320 - info - SHOW TABLES LIKE 'ac_subtasks'
#1321 - info - SHOW TABLES LIKE 'ac_subtasks'
#1322 - info - DROP TABLE `ac_subtasks`
#1323 - info - SHOW TABLES LIKE 'ac_favorites'
#1324 - info - SHOW TABLES LIKE 'ac_favorites'
#1325 - info - DROP TABLE `ac_favorites`
#1326 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1327 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1328 - info - DROP TABLE `ac_code_snippets`
#1329 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1330 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1331 - info - DROP TABLE `ac_payment_gateways`
#1332 - info - SHOW TABLES LIKE 'ac_payments'
#1333 - info - SHOW TABLES LIKE 'ac_payments'
#1334 - info - DROP TABLE `ac_payments`
#1335 - info - SHOW TABLES LIKE 'ac_reminders'
#1336 - info - SHOW TABLES LIKE 'ac_reminders'
#1337 - info - DROP TABLE `ac_reminders`
#1338 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1339 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1340 - info - DROP TABLE `ac_reminder_users`
#1341 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1342 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1343 - info - DROP TABLE `ac_custom_fields`
#1344 - info - SHOW TABLES LIKE 'ac_calendars'
#1345 - info - SHOW TABLES LIKE 'ac_calendars'
#1346 - info - DROP TABLE `ac_calendars`
#1347 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1348 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1349 - info - DROP TABLE `ac_calendar_events`
#1350 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1351 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1352 - info - DROP TABLE `ac_calendar_users`
#1353 - info - SHOW TABLES LIKE 'ac_data_sources'
#1354 - info - SHOW TABLES LIKE 'ac_data_sources'
#1355 - info - DROP TABLE `ac_data_sources`
#1356 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1357 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1358 - info - DROP TABLE `ac_data_source_mappings`
#1359 - info - SHOW TABLES LIKE 'ac_companies'
#1360 - info - SHOW TABLES LIKE 'ac_companies'
#1361 - info - DROP TABLE `ac_companies`
#1362 - info - SHOW TABLES LIKE 'ac_projects'
#1363 - info - SHOW TABLES LIKE 'ac_projects'
#1364 - info - DROP TABLE `ac_projects`
#1365 - info - SHOW TABLES LIKE 'ac_project_roles'
#1366 - info - SHOW TABLES LIKE 'ac_project_roles'
#1367 - info - DROP TABLE `ac_project_roles`
#1368 - info - SHOW TABLES LIKE 'ac_project_users'
#1369 - info - SHOW TABLES LIKE 'ac_project_users'
#1370 - info - DROP TABLE `ac_project_users`
#1371 - info - SHOW TABLES LIKE 'ac_project_requests'
#1372 - info - SHOW TABLES LIKE 'ac_project_requests'
#1373 - info - DROP TABLE `ac_project_requests`
#1374 - info - SHOW TABLES LIKE 'ac_project_objects'
#1375 - info - SHOW TABLES LIKE 'ac_project_objects'
#1376 - info - DROP TABLE `ac_project_objects`
#1377 - info - SHOW TABLES LIKE 'ac_project_templates'
#1378 - info - SHOW TABLES LIKE 'ac_project_templates'
#1379 - info - DROP TABLE `ac_project_templates`
#1380 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1381 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1382 - info - DROP TABLE `ac_project_object_templates`
#1383 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1384 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1385 - info - DROP TABLE `ac_shared_object_profiles`
#1386 - info - SHOW TABLES LIKE 'ac_file_versions'
#1387 - info - SHOW TABLES LIKE 'ac_file_versions'
#1388 - info - DROP TABLE `ac_file_versions`
#1389 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1390 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1391 - info - DROP TABLE `ac_text_document_versions`
#1392 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1393 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1394 - info - DROP TABLE `ac_public_task_forms`
#1395 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1396 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1397 - info - DROP TABLE `ac_related_tasks`
#1398 - info - SHOW TABLES LIKE 'ac_task_segments'
#1399 - info - SHOW TABLES LIKE 'ac_task_segments'
#1400 - info - DROP TABLE `ac_task_segments`
#1401 - info - SHOW TABLES LIKE 'ac_status_updates'
#1402 - info - SHOW TABLES LIKE 'ac_status_updates'
#1403 - info - DROP TABLE `ac_status_updates`
#1404 - info - SHOW TABLES LIKE 'ac_documents'
#1405 - info - SHOW TABLES LIKE 'ac_documents'
#1406 - info - DROP TABLE `ac_documents`
#1407 - info - SHOW TABLES LIKE 'ac_time_records'
#1408 - info - SHOW TABLES LIKE 'ac_time_records'
#1409 - info - DROP TABLE `ac_time_records`
#1410 - info - SHOW TABLES LIKE 'ac_job_types'
#1411 - info - SHOW TABLES LIKE 'ac_job_types'
#1412 - info - DROP TABLE `ac_job_types`
#1413 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1414 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1415 - info - DROP TABLE `ac_project_hourly_rates`
#1416 - info - SHOW TABLES LIKE 'ac_expenses'
#1417 - info - SHOW TABLES LIKE 'ac_expenses'
#1418 - info - DROP TABLE `ac_expenses`
#1419 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1420 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1421 - info - DROP TABLE `ac_expense_categories`
#1422 - info - SHOW TABLES LIKE 'ac_estimates'
#1423 - info - SHOW TABLES LIKE 'ac_estimates'
#1424 - info - DROP TABLE `ac_estimates`
#1425 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1426 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1427 - info - DROP TABLE `ac_invoice_objects`
#1428 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1429 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1430 - info - DROP TABLE `ac_invoice_object_items`
#1431 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1432 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1433 - info - DROP TABLE `ac_invoice_item_templates`
#1434 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1435 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1436 - info - DROP TABLE `ac_invoice_note_templates`
#1437 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1438 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1439 - info - DROP TABLE `ac_invoice_related_records`
#1440 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1441 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1442 - info - DROP TABLE `ac_tax_rates`
#1443 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1444 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1445 - info - DROP TABLE `ac_notebook_pages`
#1446 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1447 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1448 - info - DROP TABLE `ac_notebook_page_versions`
#1449 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1450 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1451 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1452 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1453 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1454 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1455 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1456 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1457 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1458 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1459 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1460 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1461 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1462 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1463 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1464 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1465 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1466 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1467 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1468 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1469 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1470 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1471 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1472 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1473 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1474 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1475 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1476 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1477 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1478 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1479 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1480 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1481 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1482 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1483 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1484 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1485 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1486 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1487 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1488 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1489 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1490 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1491 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1492 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1493 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1494 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1495 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1496 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1497 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1498 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1499 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1500 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1501 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1502 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1503 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1504 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1505 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1506 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1507 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1508 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1509 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1510 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1511 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1512 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1513 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1514 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1515 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1516 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1517 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1518 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1519 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1520 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1521 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1522 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1523 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1524 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1525 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1526 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1527 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1528 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1529 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1530 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1531 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1532 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1533 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1534 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#1536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#1537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#1538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#1539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#1540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#1541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#1542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#1543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#1544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#1545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#1546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#1547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#1548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#1549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#1550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#1551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#1552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#1553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#1554 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#1555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#1556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1557 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1560 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1562 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1563 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1564 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1565 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1566 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1567 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1568 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1570 - info - BEGIN WORK
#1571 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1572 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1573 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1574 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1575 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1576 - info - COMMIT
#1577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1596 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1602 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1604 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1605 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1606 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1607 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1608 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1609 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1610 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1611 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1612 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1613 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1614 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1615 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1616 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1617 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395008;')
#1631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1643 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1644 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1645 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1647 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1648 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1650 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1651 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1652 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1653 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1654 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1655 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1656 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1657 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1658 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1660 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1661 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1662 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1666 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1667 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1668 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1669 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1670 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1674 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1675 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1676 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1677 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1678 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:08', '1')
#1679 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1680 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1681 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1682 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1684 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1686 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1692 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1693 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1694 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1695 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1697 - info - BEGIN WORK
#1698 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1699 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1700 - info - COMMIT
#1701 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1702 - info - BEGIN WORK
#1703 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1704 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1705 - info - COMMIT
#1706 - info - BEGIN WORK
#1707 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1708 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1709 - info - COMMIT
#1710 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1711 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1712 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1716 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1718 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1734 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1735 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1736 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1737 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1738 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1739 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1740 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1741 - info - SHOW TABLES LIKE 'ac_job_types'
#1742 - info - SELECT COUNT(id) FROM ac_job_types
#1743 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1744 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1745 - info - BEGIN WORK
#1746 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1747 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1748 - info - COMMIT
#1749 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1750 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1751 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1752 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1753 - info - SELECT COUNT(name) FROM ac_modules
#1754 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1755 - info - SELECT name FROM ac_modules
#1756 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1757 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1758 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1759 - info - Cache miss 'config_values'
#1760 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1761 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1762 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1763 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1764 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1765 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1766 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1767 - info - BEGIN WORK
#1768 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1769 - info - Cache hit 'config_values'
#1770 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1771 - info - UPDATE ac_config_options SET value = 'i:1387395008;' WHERE name = 'search_initialized_on'
#1772 - info - COMMIT
#1773 - info - Cache miss 'models/users/1'
#1774 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1775 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1776 - info - SELECT COUNT(*) FROM ac_test_table
#1777 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1778 - info - DROP TABLE `ac_test_table_migrate_test`
#1779 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1780 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1781 - info - INSERT INTO ac_test_table_migrate_test (name) VALUES ('Test Migration')
#1782 - info - SHOW TABLES LIKE 'ac_test_table_zYftnTGyYn'
#1783 - info - RENAME TABLE ac_test_table TO ac_test_table_zYftnTGyYn, ac_test_table_migrate_test TO ac_test_table
#1784 - info - DROP TABLE ac_test_table_zYftnTGyYn
#1785 - info - SELECT COUNT(*) FROM ac_test_table
#1786 - info - DROP TABLE ac_test_table
#1787 - info - Cache hit 'models/users/1'
#1788 - info - Cache hit 'models/users/1'
#1789 - info - Cache miss 'models/users/1/config_options'
#1790 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_date' AND parent_type = 'User' AND parent_id = '1'
#1791 - info - Cache miss 'config_values'
#1792 - info - SELECT value FROM ac_config_options WHERE name = 'format_date'
#1793 - info - Cache hit 'models/users/1/config_options'
#1794 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_timezone' AND parent_type = 'User' AND parent_id = '1'
#1795 - info - Cache hit 'config_values'
#1796 - info - SELECT value FROM ac_config_options WHERE name = 'time_timezone'
#1797 - info - Cache hit 'models/users/1/config_options'
#1798 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_dst' AND parent_type = 'User' AND parent_id = '1'
#1799 - info - Cache hit 'config_values'
#1800 - info - SELECT value FROM ac_config_options WHERE name = 'time_dst'
#1801 - info - Cache hit 'models/users/1/config_options'
#1802 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_time' AND parent_type = 'User' AND parent_id = '1'
#1803 - info - Cache hit 'config_values'
#1804 - info - SELECT value FROM ac_config_options WHERE name = 'format_time'
#1805 - info - Cache hit 'models/users/1'
#1806 - info - Cache hit 'models/users/1'
#1807 - info - Cache hit 'models/users/1/config_options'
#1808 - info - Cache hit 'models/users/1'
#1809 - info - Cache hit 'models/users/1/config_options'
#1810 - info - Cache hit 'models/users/1/config_options'
#1811 - info - Cache hit 'models/users/1'
#1812 - info - CREATE TABLE ac_test_db_result_to_json (
        id int(11) NOT NULL auto_increment,
        string_field varchar(255) default NULL,
        int_field int(11) default NULL,
        other float default NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
#1813 - info - SHOW TABLES LIKE 'ac_%'
#1814 - info - INSERT INTO ac_test_db_result_to_json (id,string_field,int_field,other) VALUES (1,'A',5,3.2), (2,'Another record',18,NULL);
#1815 - info - SELECT * FROM ac_test_db_result_to_json
#1816 - info - DROP TABLE ac_test_db_result_to_json
#1817 - info - SHOW TABLES LIKE 'ac_%'
#1818 - info - Cache hit 'models/users/1'
#1819 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1820 - info - BEGIN WORK
#1821 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1822 - info - Event 'on_before_object_validation' triggered
#1823 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 1'
#1824 - info - Event 'on_after_object_validation' triggered
#1825 - info - Event 'on_before_object_save' triggered
#1826 - info - Event 'on_before_object_insert' triggered
#1827 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 1', 'TestDataObject', '2013-12-18 19:30:08')
#1828 - info - Event 'on_object_inserted' triggered
#1829 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1830 - info - Event 'on_after_object_save' triggered
#1831 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1832 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1833 - info - COMMIT
#1834 - info - BEGIN WORK
#1835 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1836 - info - Event 'on_before_object_validation' triggered
#1837 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 2'
#1838 - info - Event 'on_after_object_validation' triggered
#1839 - info - Event 'on_before_object_save' triggered
#1840 - info - Event 'on_before_object_insert' triggered
#1841 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 2', 'TestDataObject', '2013-12-18 19:30:08')
#1842 - info - Event 'on_object_inserted' triggered
#1843 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1844 - info - Event 'on_after_object_save' triggered
#1845 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1846 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1847 - info - COMMIT
#1848 - info - Cache miss 'models/test_data_objects/1'
#1849 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1850 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1851 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1852 - info - BEGIN WORK
#1853 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1854 - info - Event 'on_before_object_validation' triggered
#1855 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#1856 - info - Event 'on_after_object_validation' triggered
#1857 - info - Event 'on_before_object_save' triggered
#1858 - info - Event 'on_before_object_insert' triggered
#1859 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'TestDataObject', '2013-12-18 19:30:08')
#1860 - info - Event 'on_object_inserted' triggered
#1861 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1862 - info - Event 'on_after_object_save' triggered
#1863 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1864 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1865 - info - COMMIT
#1866 - info - BEGIN WORK
#1867 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1868 - info - Event 'on_before_object_deleted' triggered
#1869 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1870 - info - Event 'on_object_deleted' triggered
#1871 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#1872 - info - COMMIT
#1873 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1874 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1875 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1876 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1877 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object name', 'Object description')
#1878 - info - Cache miss 'models/test_data_objects/1'
#1879 - info - SELECT id, name, description, type, created_on, updated_on FROM ac_test_data_objects WHERE id = '1'  LIMIT 0, 1
#1880 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1881 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1882 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object #1', 'Description #1'), ('Object #2', 'Description #2'), ('Object #3', 'TestDataObject')
#1883 - info - SELECT * FROM ac_test_data_objects
#1884 - info - SELECT * FROM ac_test_data_objects ORDER BY name
#1885 - info - SELECT * FROM ac_test_data_objects WHERE name = 'Object #3'
#1886 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1887 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1888 - info - BEGIN WORK
#1889 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1890 - info - Event 'on_before_object_validation' triggered
#1891 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1892 - info - Event 'on_after_object_validation' triggered
#1893 - info - Event 'on_before_object_save' triggered
#1894 - info - Event 'on_before_object_insert' triggered
#1895 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 19:30:08')
#1896 - info - Event 'on_object_inserted' triggered
#1897 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1898 - info - Event 'on_after_object_save' triggered
#1899 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1900 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1901 - info - COMMIT
#1902 - info - BEGIN WORK
#1903 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1904 - info - Event 'on_before_object_deleted' triggered
#1905 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1906 - info - Event 'on_object_deleted' triggered
#1907 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#1908 - info - COMMIT
#1909 - info - BEGIN WORK
#1910 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1911 - info - Event 'on_before_object_validation' triggered
#1912 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1913 - info - Event 'on_after_object_validation' triggered
#1914 - info - Event 'on_before_object_save' triggered
#1915 - info - Event 'on_before_object_insert' triggered
#1916 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on, id) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 19:30:08', '1')
#1917 - info - Event 'on_object_inserted' triggered
#1918 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1919 - info - Event 'on_after_object_save' triggered
#1920 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1921 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1922 - info - COMMIT
#1923 - info - SELECT * FROM ac_test_data_objects WHERE id = '1'    LIMIT 0, 1
#1924 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1925 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1926 - info - BEGIN WORK
#1927 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1928 - info - Event 'on_before_object_validation' triggered
#1929 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1930 - info - Event 'on_after_object_validation' triggered
#1931 - info - Event 'on_before_object_save' triggered
#1932 - info - Event 'on_before_object_insert' triggered
#1933 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('First name', 'TestDataObject', '2013-12-18 19:30:08')
#1934 - info - Event 'on_object_inserted' triggered
#1935 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1936 - info - Event 'on_after_object_save' triggered
#1937 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1938 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1939 - info - COMMIT
#1940 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1941 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1942 - info - BEGIN WORK
#1943 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1944 - info - Event 'on_before_object_validation' triggered
#1945 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New name'
#1946 - info - Event 'on_after_object_validation' triggered
#1947 - info - Event 'on_before_object_save' triggered
#1948 - info - Event 'on_before_object_insert' triggered
#1949 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New name', 'TestDataObject', '2013-12-18 19:30:08')
#1950 - info - Event 'on_object_inserted' triggered
#1951 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1952 - info - Event 'on_after_object_save' triggered
#1953 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1954 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1955 - info - COMMIT
#1956 - info - Cache miss 'models/test_data_objects/1'
#1957 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1958 - info - BEGIN WORK
#1959 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1960 - info - Event 'on_before_object_validation' triggered
#1961 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'Something something') AND (id <> '1')
#1962 - info - Event 'on_after_object_validation' triggered
#1963 - info - Event 'on_before_object_save' triggered
#1964 - info - Event 'on_before_object_update' triggered
#1965 - info - UPDATE ac_test_data_objects SET name = 'Something something', updated_on = '2013-12-18 19:30:08' WHERE id = '1'
#1966 - info - Event 'on_object_updated' triggered
#1967 - info - Event 'on_after_object_save' triggered
#1968 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1969 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1970 - info - COMMIT
#1971 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1972 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1973 - info - BEGIN WORK
#1974 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1975 - info - Event 'on_before_object_validation' triggered
#1976 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'My name'
#1977 - info - Event 'on_after_object_validation' triggered
#1978 - info - Event 'on_before_object_save' triggered
#1979 - info - Event 'on_before_object_insert' triggered
#1980 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('My name', 'TestDataObject', '2013-12-18 19:30:08')
#1981 - info - Event 'on_object_inserted' triggered
#1982 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1983 - info - Event 'on_after_object_save' triggered
#1984 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1985 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1986 - info - COMMIT
#1987 - info - BEGIN WORK
#1988 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1989 - info - Event 'on_before_object_validation' triggered
#1990 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'My name') AND (id <> '1')
#1991 - info - Event 'on_after_object_validation' triggered
#1992 - info - Event 'on_before_object_save' triggered
#1993 - info - Event 'on_before_object_update' triggered
#1994 - info - SELECT count(*) AS 'row_count' FROM ac_test_data_objects WHERE id = '1'
#1995 - info - UPDATE ac_test_data_objects SET id = '12', updated_on = '2013-12-18 19:30:08' WHERE id = '1'
#1996 - info - Event 'on_object_updated' triggered
#1997 - info - Event 'on_after_object_save' triggered
#1998 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1999 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2000 - info - COMMIT
#2001 - info - Cache miss 'models/test_data_objects/12'
#2002 - info - SELECT * FROM ac_test_data_objects WHERE id = '12' LIMIT 0, 1
#2003 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2004 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2005 - info - BEGIN WORK
#2006 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2007 - info - Event 'on_before_object_validation' triggered
#2008 - info - Event 'on_after_object_validation' triggered
#2009 - info - ROLLBACK
#2010 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#2011 - info - BEGIN WORK
#2012 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2013 - info - Event 'on_before_object_validation' triggered
#2014 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#2015 - info - Event 'on_after_object_validation' triggered
#2016 - info - Event 'on_before_object_save' triggered
#2017 - info - Event 'on_before_object_insert' triggered
#2018 - info - INSERT INTO ac_test_data_objects (type, created_on, name) VALUES ('TestDataObject', '2013-12-18 19:30:08', 'Unique name')
#2019 - info - Event 'on_object_inserted' triggered
#2020 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2021 - info - Event 'on_after_object_save' triggered
#2022 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2023 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2024 - info - COMMIT
#2025 - info - BEGIN WORK
#2026 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2027 - info - Event 'on_before_object_validation' triggered
#2028 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#2029 - info - Event 'on_after_object_validation' triggered
#2030 - info - ROLLBACK
#2031 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#2032 - info - BEGIN WORK
#2033 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2034 - info - Event 'on_before_object_validation' triggered
#2035 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New, better name'
#2036 - info - Event 'on_after_object_validation' triggered
#2037 - info - Event 'on_before_object_save' triggered
#2038 - info - Event 'on_before_object_insert' triggered
#2039 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New, better name', 'TestDataObject', '2013-12-18 19:30:08')
#2040 - info - Event 'on_object_inserted' triggered
#2041 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2042 - info - Event 'on_after_object_save' triggered
#2043 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2044 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2045 - info - COMMIT
#2046 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2047 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2048 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2049 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2050 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2051 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2052 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2053 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2054 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2055 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2056 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2057 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2058 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2059 - info - SHOW TABLES LIKE 'ac_config_options'
#2060 - info - SHOW TABLES LIKE 'ac_config_options'
#2061 - info - DROP TABLE `ac_config_options`
#2062 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2063 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2064 - info - DROP TABLE `ac_config_option_values`
#2065 - info - SHOW TABLES LIKE 'ac_modules'
#2066 - info - SHOW TABLES LIKE 'ac_modules'
#2067 - info - DROP TABLE `ac_modules`
#2068 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2069 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2070 - info - DROP TABLE `ac_executed_model_migrations`
#2071 - info - SHOW TABLES LIKE 'ac_update_history'
#2072 - info - SHOW TABLES LIKE 'ac_update_history'
#2073 - info - DROP TABLE `ac_update_history`
#2074 - info - SHOW TABLES LIKE 'ac_access_logs'
#2075 - info - SHOW TABLES LIKE 'ac_access_logs'
#2076 - info - DROP TABLE `ac_access_logs`
#2077 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2078 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2079 - info - DROP TABLE `ac_access_logs_archive`
#2080 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2081 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2082 - info - DROP TABLE `ac_object_contexts`
#2083 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2084 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2085 - info - DROP TABLE `ac_routing_cache`
#2086 - info - SHOW TABLES LIKE 'ac_currencies'
#2087 - info - SHOW TABLES LIKE 'ac_currencies'
#2088 - info - DROP TABLE `ac_currencies`
#2089 - info - SHOW TABLES LIKE 'ac_day_offs'
#2090 - info - SHOW TABLES LIKE 'ac_day_offs'
#2091 - info - DROP TABLE `ac_day_offs`
#2092 - info - SHOW TABLES LIKE 'ac_languages'
#2093 - info - SHOW TABLES LIKE 'ac_languages'
#2094 - info - DROP TABLE `ac_languages`
#2095 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2096 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2097 - info - DROP TABLE `ac_language_phrases`
#2098 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2099 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2100 - info - DROP TABLE `ac_language_phrase_translations`
#2101 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2102 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2103 - info - DROP TABLE `ac_api_client_subscriptions`
#2104 - info - SHOW TABLES LIKE 'ac_users'
#2105 - info - SHOW TABLES LIKE 'ac_users'
#2106 - info - DROP TABLE `ac_users`
#2107 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2108 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2109 - info - DROP TABLE `ac_user_addresses`
#2110 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2111 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2112 - info - DROP TABLE `ac_user_sessions`
#2113 - info - SHOW TABLES LIKE 'ac_security_logs'
#2114 - info - SHOW TABLES LIKE 'ac_security_logs'
#2115 - info - DROP TABLE `ac_security_logs`
#2116 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2117 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2118 - info - DROP TABLE `ac_api_token_logs`
#2119 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2120 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2121 - info - DROP TABLE `ac_activity_logs`
#2122 - info - SHOW TABLES LIKE 'ac_data_filters'
#2123 - info - SHOW TABLES LIKE 'ac_data_filters'
#2124 - info - DROP TABLE `ac_data_filters`
#2125 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2126 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2127 - info - DROP TABLE `ac_modification_logs`
#2128 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2129 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2130 - info - DROP TABLE `ac_modification_log_values`
#2131 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2132 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2133 - info - DROP TABLE `ac_mailing_activity_logs`
#2134 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2135 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2136 - info - DROP TABLE `ac_outgoing_messages`
#2137 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2138 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2139 - info - DROP TABLE `ac_incoming_mail_attachments`
#2140 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2141 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2142 - info - DROP TABLE `ac_incoming_mail_filters`
#2143 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2144 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2145 - info - DROP TABLE `ac_incoming_mailboxes`
#2146 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2147 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2148 - info - DROP TABLE `ac_incoming_mails`
#2149 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2150 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2151 - info - DROP TABLE `ac_homescreen_tabs`
#2152 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2153 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2154 - info - DROP TABLE `ac_homescreen_widgets`
#2155 - info - SHOW TABLES LIKE 'ac_announcements'
#2156 - info - SHOW TABLES LIKE 'ac_announcements'
#2157 - info - DROP TABLE `ac_announcements`
#2158 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2159 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2160 - info - DROP TABLE `ac_announcement_target_ids`
#2161 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2162 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2163 - info - DROP TABLE `ac_announcement_dismissals`
#2164 - info - SHOW TABLES LIKE 'ac_attachments'
#2165 - info - SHOW TABLES LIKE 'ac_attachments'
#2166 - info - DROP TABLE `ac_attachments`
#2167 - info - SHOW TABLES LIKE 'ac_notifications'
#2168 - info - SHOW TABLES LIKE 'ac_notifications'
#2169 - info - DROP TABLE `ac_notifications`
#2170 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2171 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2172 - info - DROP TABLE `ac_notification_recipients`
#2173 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2174 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2175 - info - DROP TABLE `ac_subscriptions`
#2176 - info - SHOW TABLES LIKE 'ac_comments'
#2177 - info - SHOW TABLES LIKE 'ac_comments'
#2178 - info - DROP TABLE `ac_comments`
#2179 - info - SHOW TABLES LIKE 'ac_categories'
#2180 - info - SHOW TABLES LIKE 'ac_categories'
#2181 - info - DROP TABLE `ac_categories`
#2182 - info - SHOW TABLES LIKE 'ac_labels'
#2183 - info - SHOW TABLES LIKE 'ac_labels'
#2184 - info - DROP TABLE `ac_labels`
#2185 - info - SHOW TABLES LIKE 'ac_assignments'
#2186 - info - SHOW TABLES LIKE 'ac_assignments'
#2187 - info - DROP TABLE `ac_assignments`
#2188 - info - SHOW TABLES LIKE 'ac_subtasks'
#2189 - info - SHOW TABLES LIKE 'ac_subtasks'
#2190 - info - DROP TABLE `ac_subtasks`
#2191 - info - SHOW TABLES LIKE 'ac_favorites'
#2192 - info - SHOW TABLES LIKE 'ac_favorites'
#2193 - info - DROP TABLE `ac_favorites`
#2194 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2195 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2196 - info - DROP TABLE `ac_code_snippets`
#2197 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2198 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2199 - info - DROP TABLE `ac_payment_gateways`
#2200 - info - SHOW TABLES LIKE 'ac_payments'
#2201 - info - SHOW TABLES LIKE 'ac_payments'
#2202 - info - DROP TABLE `ac_payments`
#2203 - info - SHOW TABLES LIKE 'ac_reminders'
#2204 - info - SHOW TABLES LIKE 'ac_reminders'
#2205 - info - DROP TABLE `ac_reminders`
#2206 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2207 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2208 - info - DROP TABLE `ac_reminder_users`
#2209 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2210 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2211 - info - DROP TABLE `ac_custom_fields`
#2212 - info - SHOW TABLES LIKE 'ac_calendars'
#2213 - info - SHOW TABLES LIKE 'ac_calendars'
#2214 - info - DROP TABLE `ac_calendars`
#2215 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2216 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2217 - info - DROP TABLE `ac_calendar_events`
#2218 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2219 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2220 - info - DROP TABLE `ac_calendar_users`
#2221 - info - SHOW TABLES LIKE 'ac_data_sources'
#2222 - info - SHOW TABLES LIKE 'ac_data_sources'
#2223 - info - DROP TABLE `ac_data_sources`
#2224 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2225 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2226 - info - DROP TABLE `ac_data_source_mappings`
#2227 - info - SHOW TABLES LIKE 'ac_companies'
#2228 - info - SHOW TABLES LIKE 'ac_companies'
#2229 - info - DROP TABLE `ac_companies`
#2230 - info - SHOW TABLES LIKE 'ac_projects'
#2231 - info - SHOW TABLES LIKE 'ac_projects'
#2232 - info - DROP TABLE `ac_projects`
#2233 - info - SHOW TABLES LIKE 'ac_project_roles'
#2234 - info - SHOW TABLES LIKE 'ac_project_roles'
#2235 - info - DROP TABLE `ac_project_roles`
#2236 - info - SHOW TABLES LIKE 'ac_project_users'
#2237 - info - SHOW TABLES LIKE 'ac_project_users'
#2238 - info - DROP TABLE `ac_project_users`
#2239 - info - SHOW TABLES LIKE 'ac_project_requests'
#2240 - info - SHOW TABLES LIKE 'ac_project_requests'
#2241 - info - DROP TABLE `ac_project_requests`
#2242 - info - SHOW TABLES LIKE 'ac_project_objects'
#2243 - info - SHOW TABLES LIKE 'ac_project_objects'
#2244 - info - DROP TABLE `ac_project_objects`
#2245 - info - SHOW TABLES LIKE 'ac_project_templates'
#2246 - info - SHOW TABLES LIKE 'ac_project_templates'
#2247 - info - DROP TABLE `ac_project_templates`
#2248 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2249 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2250 - info - DROP TABLE `ac_project_object_templates`
#2251 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2252 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2253 - info - DROP TABLE `ac_shared_object_profiles`
#2254 - info - SHOW TABLES LIKE 'ac_file_versions'
#2255 - info - SHOW TABLES LIKE 'ac_file_versions'
#2256 - info - DROP TABLE `ac_file_versions`
#2257 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2258 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2259 - info - DROP TABLE `ac_text_document_versions`
#2260 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2261 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2262 - info - DROP TABLE `ac_public_task_forms`
#2263 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2264 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2265 - info - DROP TABLE `ac_related_tasks`
#2266 - info - SHOW TABLES LIKE 'ac_task_segments'
#2267 - info - SHOW TABLES LIKE 'ac_task_segments'
#2268 - info - DROP TABLE `ac_task_segments`
#2269 - info - SHOW TABLES LIKE 'ac_status_updates'
#2270 - info - SHOW TABLES LIKE 'ac_status_updates'
#2271 - info - DROP TABLE `ac_status_updates`
#2272 - info - SHOW TABLES LIKE 'ac_documents'
#2273 - info - SHOW TABLES LIKE 'ac_documents'
#2274 - info - DROP TABLE `ac_documents`
#2275 - info - SHOW TABLES LIKE 'ac_time_records'
#2276 - info - SHOW TABLES LIKE 'ac_time_records'
#2277 - info - DROP TABLE `ac_time_records`
#2278 - info - SHOW TABLES LIKE 'ac_job_types'
#2279 - info - SHOW TABLES LIKE 'ac_job_types'
#2280 - info - DROP TABLE `ac_job_types`
#2281 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2282 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2283 - info - DROP TABLE `ac_project_hourly_rates`
#2284 - info - SHOW TABLES LIKE 'ac_expenses'
#2285 - info - SHOW TABLES LIKE 'ac_expenses'
#2286 - info - DROP TABLE `ac_expenses`
#2287 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2288 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2289 - info - DROP TABLE `ac_expense_categories`
#2290 - info - SHOW TABLES LIKE 'ac_estimates'
#2291 - info - SHOW TABLES LIKE 'ac_estimates'
#2292 - info - DROP TABLE `ac_estimates`
#2293 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2294 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2295 - info - DROP TABLE `ac_invoice_objects`
#2296 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2297 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2298 - info - DROP TABLE `ac_invoice_object_items`
#2299 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2300 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2301 - info - DROP TABLE `ac_invoice_item_templates`
#2302 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2303 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2304 - info - DROP TABLE `ac_invoice_note_templates`
#2305 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2306 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2307 - info - DROP TABLE `ac_invoice_related_records`
#2308 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2309 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2310 - info - DROP TABLE `ac_tax_rates`
#2311 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2312 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2313 - info - DROP TABLE `ac_notebook_pages`
#2314 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2315 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2316 - info - DROP TABLE `ac_notebook_page_versions`
#2317 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2318 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2319 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2320 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2321 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2322 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2323 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2324 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2325 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2326 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2327 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2328 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2329 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2330 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2331 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2332 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2333 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2334 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2335 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2336 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2337 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2338 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2339 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2340 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2341 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2342 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2343 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2344 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2345 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2346 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2347 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2348 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2349 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2350 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2351 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2352 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2353 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2354 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2355 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2356 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2357 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2358 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2359 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2360 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2361 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2362 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2363 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2364 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2365 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2366 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2367 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2368 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2369 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2370 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2371 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2372 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2373 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2374 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2375 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2376 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2377 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2378 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2379 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2380 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2381 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2382 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2383 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2384 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2385 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2386 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2387 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2388 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2389 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2390 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2391 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2392 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2393 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2394 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2395 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2396 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2397 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2398 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2399 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2400 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2401 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2402 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2417 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2420 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2421 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2422 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2423 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2424 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2425 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2429 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2438 - info - BEGIN WORK
#2439 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2440 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2441 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2442 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2443 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2444 - info - COMMIT
#2445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2472 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2473 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2474 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2475 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2476 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2477 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2478 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2479 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2480 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2481 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2482 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2483 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2484 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2485 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2486 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395009;')
#2499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2511 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2512 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2513 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2515 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2520 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2521 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2522 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2523 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2524 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#2530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#2531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#2532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#2533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#2534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#2535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#2536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#2537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#2538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#2539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#2540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#2541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#2542 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#2543 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#2544 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#2545 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#2546 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:09', '1')
#2547 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2548 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2549 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2550 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#2552 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#2554 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#2556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#2557 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#2558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#2559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#2560 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#2561 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#2562 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#2563 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2564 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#2565 - info - BEGIN WORK
#2566 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#2567 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#2568 - info - COMMIT
#2569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#2570 - info - BEGIN WORK
#2571 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2572 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#2573 - info - COMMIT
#2574 - info - BEGIN WORK
#2575 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2576 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#2577 - info - COMMIT
#2578 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2579 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2580 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#2581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#2582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#2583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#2584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#2585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#2586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#2587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#2588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#2589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#2590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#2591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#2592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#2593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#2594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#2595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#2596 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#2597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#2598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#2599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#2600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#2601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#2602 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#2603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#2604 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#2605 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#2606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#2607 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#2608 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#2609 - info - SHOW TABLES LIKE 'ac_job_types'
#2610 - info - SELECT COUNT(id) FROM ac_job_types
#2611 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2612 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#2613 - info - BEGIN WORK
#2614 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#2615 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#2616 - info - COMMIT
#2617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#2618 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2619 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2620 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#2621 - info - SELECT COUNT(name) FROM ac_modules
#2622 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#2623 - info - SELECT name FROM ac_modules
#2624 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#2625 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#2626 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#2627 - info - Cache hit 'config_values'
#2628 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#2629 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#2630 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#2631 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#2632 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#2633 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#2634 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#2635 - info - BEGIN WORK
#2636 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#2637 - info - Cache hit 'config_values'
#2638 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#2639 - info - UPDATE ac_config_options SET value = 'i:1387395009;' WHERE name = 'search_initialized_on'
#2640 - info - COMMIT
#2641 - info - Cache miss 'models/users/1'
#2642 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#2643 - info - SELECT COUNT(*) FROM  ac_config_options
#2644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'i:12;')
#2645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 2', 'N;')
#2646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 's:9:\"something\";')
#2647 - info - SELECT COUNT(*) FROM  ac_config_options
#2648 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2649 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2650 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2651 - info - BEGIN WORK
#2652 - info - Transaction level increased to 1. Message: Begin Work: Removing config option
#2653 - info - DELETE FROM ac_config_options WHERE name = 'Option 2'
#2654 - info - DELETE FROM ac_config_option_values WHERE name = 'Option 2'
#2655 - info - COMMIT
#2656 - info - SELECT COUNT(*) FROM  ac_config_options
#2657 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2658 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2659 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2660 - info - BEGIN WORK
#2661 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#2662 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#2663 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 3')
#2664 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3')
#2665 - info - COMMIT
#2666 - info - SELECT COUNT(*) FROM  ac_config_options
#2667 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2668 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2669 - info - SHOW TABLES LIKE 'ac_config_options'
#2670 - info - SHOW TABLES LIKE 'ac_config_options'
#2671 - info - DROP TABLE `ac_config_options`
#2672 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2673 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2674 - info - DROP TABLE `ac_config_option_values`
#2675 - info - SHOW TABLES LIKE 'ac_modules'
#2676 - info - SHOW TABLES LIKE 'ac_modules'
#2677 - info - DROP TABLE `ac_modules`
#2678 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2679 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2680 - info - DROP TABLE `ac_executed_model_migrations`
#2681 - info - SHOW TABLES LIKE 'ac_update_history'
#2682 - info - SHOW TABLES LIKE 'ac_update_history'
#2683 - info - DROP TABLE `ac_update_history`
#2684 - info - SHOW TABLES LIKE 'ac_access_logs'
#2685 - info - SHOW TABLES LIKE 'ac_access_logs'
#2686 - info - DROP TABLE `ac_access_logs`
#2687 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2688 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2689 - info - DROP TABLE `ac_access_logs_archive`
#2690 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2691 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2692 - info - DROP TABLE `ac_object_contexts`
#2693 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2694 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2695 - info - DROP TABLE `ac_routing_cache`
#2696 - info - SHOW TABLES LIKE 'ac_currencies'
#2697 - info - SHOW TABLES LIKE 'ac_currencies'
#2698 - info - DROP TABLE `ac_currencies`
#2699 - info - SHOW TABLES LIKE 'ac_day_offs'
#2700 - info - SHOW TABLES LIKE 'ac_day_offs'
#2701 - info - DROP TABLE `ac_day_offs`
#2702 - info - SHOW TABLES LIKE 'ac_languages'
#2703 - info - SHOW TABLES LIKE 'ac_languages'
#2704 - info - DROP TABLE `ac_languages`
#2705 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2706 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2707 - info - DROP TABLE `ac_language_phrases`
#2708 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2709 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2710 - info - DROP TABLE `ac_language_phrase_translations`
#2711 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2712 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2713 - info - DROP TABLE `ac_api_client_subscriptions`
#2714 - info - SHOW TABLES LIKE 'ac_users'
#2715 - info - SHOW TABLES LIKE 'ac_users'
#2716 - info - DROP TABLE `ac_users`
#2717 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2718 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2719 - info - DROP TABLE `ac_user_addresses`
#2720 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2721 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2722 - info - DROP TABLE `ac_user_sessions`
#2723 - info - SHOW TABLES LIKE 'ac_security_logs'
#2724 - info - SHOW TABLES LIKE 'ac_security_logs'
#2725 - info - DROP TABLE `ac_security_logs`
#2726 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2727 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2728 - info - DROP TABLE `ac_api_token_logs`
#2729 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2730 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2731 - info - DROP TABLE `ac_activity_logs`
#2732 - info - SHOW TABLES LIKE 'ac_data_filters'
#2733 - info - SHOW TABLES LIKE 'ac_data_filters'
#2734 - info - DROP TABLE `ac_data_filters`
#2735 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2736 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2737 - info - DROP TABLE `ac_modification_logs`
#2738 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2739 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2740 - info - DROP TABLE `ac_modification_log_values`
#2741 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2742 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2743 - info - DROP TABLE `ac_mailing_activity_logs`
#2744 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2745 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2746 - info - DROP TABLE `ac_outgoing_messages`
#2747 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2748 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2749 - info - DROP TABLE `ac_incoming_mail_attachments`
#2750 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2751 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2752 - info - DROP TABLE `ac_incoming_mail_filters`
#2753 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2754 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2755 - info - DROP TABLE `ac_incoming_mailboxes`
#2756 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2757 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2758 - info - DROP TABLE `ac_incoming_mails`
#2759 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2760 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2761 - info - DROP TABLE `ac_homescreen_tabs`
#2762 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2763 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2764 - info - DROP TABLE `ac_homescreen_widgets`
#2765 - info - SHOW TABLES LIKE 'ac_announcements'
#2766 - info - SHOW TABLES LIKE 'ac_announcements'
#2767 - info - DROP TABLE `ac_announcements`
#2768 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2769 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2770 - info - DROP TABLE `ac_announcement_target_ids`
#2771 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2772 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2773 - info - DROP TABLE `ac_announcement_dismissals`
#2774 - info - SHOW TABLES LIKE 'ac_attachments'
#2775 - info - SHOW TABLES LIKE 'ac_attachments'
#2776 - info - DROP TABLE `ac_attachments`
#2777 - info - SHOW TABLES LIKE 'ac_notifications'
#2778 - info - SHOW TABLES LIKE 'ac_notifications'
#2779 - info - DROP TABLE `ac_notifications`
#2780 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2781 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2782 - info - DROP TABLE `ac_notification_recipients`
#2783 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2784 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2785 - info - DROP TABLE `ac_subscriptions`
#2786 - info - SHOW TABLES LIKE 'ac_comments'
#2787 - info - SHOW TABLES LIKE 'ac_comments'
#2788 - info - DROP TABLE `ac_comments`
#2789 - info - SHOW TABLES LIKE 'ac_categories'
#2790 - info - SHOW TABLES LIKE 'ac_categories'
#2791 - info - DROP TABLE `ac_categories`
#2792 - info - SHOW TABLES LIKE 'ac_labels'
#2793 - info - SHOW TABLES LIKE 'ac_labels'
#2794 - info - DROP TABLE `ac_labels`
#2795 - info - SHOW TABLES LIKE 'ac_assignments'
#2796 - info - SHOW TABLES LIKE 'ac_assignments'
#2797 - info - DROP TABLE `ac_assignments`
#2798 - info - SHOW TABLES LIKE 'ac_subtasks'
#2799 - info - SHOW TABLES LIKE 'ac_subtasks'
#2800 - info - DROP TABLE `ac_subtasks`
#2801 - info - SHOW TABLES LIKE 'ac_favorites'
#2802 - info - SHOW TABLES LIKE 'ac_favorites'
#2803 - info - DROP TABLE `ac_favorites`
#2804 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2805 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2806 - info - DROP TABLE `ac_code_snippets`
#2807 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2808 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2809 - info - DROP TABLE `ac_payment_gateways`
#2810 - info - SHOW TABLES LIKE 'ac_payments'
#2811 - info - SHOW TABLES LIKE 'ac_payments'
#2812 - info - DROP TABLE `ac_payments`
#2813 - info - SHOW TABLES LIKE 'ac_reminders'
#2814 - info - SHOW TABLES LIKE 'ac_reminders'
#2815 - info - DROP TABLE `ac_reminders`
#2816 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2817 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2818 - info - DROP TABLE `ac_reminder_users`
#2819 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2820 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2821 - info - DROP TABLE `ac_custom_fields`
#2822 - info - SHOW TABLES LIKE 'ac_calendars'
#2823 - info - SHOW TABLES LIKE 'ac_calendars'
#2824 - info - DROP TABLE `ac_calendars`
#2825 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2826 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2827 - info - DROP TABLE `ac_calendar_events`
#2828 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2829 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2830 - info - DROP TABLE `ac_calendar_users`
#2831 - info - SHOW TABLES LIKE 'ac_data_sources'
#2832 - info - SHOW TABLES LIKE 'ac_data_sources'
#2833 - info - DROP TABLE `ac_data_sources`
#2834 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2835 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2836 - info - DROP TABLE `ac_data_source_mappings`
#2837 - info - SHOW TABLES LIKE 'ac_companies'
#2838 - info - SHOW TABLES LIKE 'ac_companies'
#2839 - info - DROP TABLE `ac_companies`
#2840 - info - SHOW TABLES LIKE 'ac_projects'
#2841 - info - SHOW TABLES LIKE 'ac_projects'
#2842 - info - DROP TABLE `ac_projects`
#2843 - info - SHOW TABLES LIKE 'ac_project_roles'
#2844 - info - SHOW TABLES LIKE 'ac_project_roles'
#2845 - info - DROP TABLE `ac_project_roles`
#2846 - info - SHOW TABLES LIKE 'ac_project_users'
#2847 - info - SHOW TABLES LIKE 'ac_project_users'
#2848 - info - DROP TABLE `ac_project_users`
#2849 - info - SHOW TABLES LIKE 'ac_project_requests'
#2850 - info - SHOW TABLES LIKE 'ac_project_requests'
#2851 - info - DROP TABLE `ac_project_requests`
#2852 - info - SHOW TABLES LIKE 'ac_project_objects'
#2853 - info - SHOW TABLES LIKE 'ac_project_objects'
#2854 - info - DROP TABLE `ac_project_objects`
#2855 - info - SHOW TABLES LIKE 'ac_project_templates'
#2856 - info - SHOW TABLES LIKE 'ac_project_templates'
#2857 - info - DROP TABLE `ac_project_templates`
#2858 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2859 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2860 - info - DROP TABLE `ac_project_object_templates`
#2861 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2862 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2863 - info - DROP TABLE `ac_shared_object_profiles`
#2864 - info - SHOW TABLES LIKE 'ac_file_versions'
#2865 - info - SHOW TABLES LIKE 'ac_file_versions'
#2866 - info - DROP TABLE `ac_file_versions`
#2867 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2868 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2869 - info - DROP TABLE `ac_text_document_versions`
#2870 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2871 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2872 - info - DROP TABLE `ac_public_task_forms`
#2873 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2874 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2875 - info - DROP TABLE `ac_related_tasks`
#2876 - info - SHOW TABLES LIKE 'ac_task_segments'
#2877 - info - SHOW TABLES LIKE 'ac_task_segments'
#2878 - info - DROP TABLE `ac_task_segments`
#2879 - info - SHOW TABLES LIKE 'ac_status_updates'
#2880 - info - SHOW TABLES LIKE 'ac_status_updates'
#2881 - info - DROP TABLE `ac_status_updates`
#2882 - info - SHOW TABLES LIKE 'ac_documents'
#2883 - info - SHOW TABLES LIKE 'ac_documents'
#2884 - info - DROP TABLE `ac_documents`
#2885 - info - SHOW TABLES LIKE 'ac_time_records'
#2886 - info - SHOW TABLES LIKE 'ac_time_records'
#2887 - info - DROP TABLE `ac_time_records`
#2888 - info - SHOW TABLES LIKE 'ac_job_types'
#2889 - info - SHOW TABLES LIKE 'ac_job_types'
#2890 - info - DROP TABLE `ac_job_types`
#2891 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2892 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2893 - info - DROP TABLE `ac_project_hourly_rates`
#2894 - info - SHOW TABLES LIKE 'ac_expenses'
#2895 - info - SHOW TABLES LIKE 'ac_expenses'
#2896 - info - DROP TABLE `ac_expenses`
#2897 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2898 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2899 - info - DROP TABLE `ac_expense_categories`
#2900 - info - SHOW TABLES LIKE 'ac_estimates'
#2901 - info - SHOW TABLES LIKE 'ac_estimates'
#2902 - info - DROP TABLE `ac_estimates`
#2903 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2904 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2905 - info - DROP TABLE `ac_invoice_objects`
#2906 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2907 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2908 - info - DROP TABLE `ac_invoice_object_items`
#2909 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2910 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2911 - info - DROP TABLE `ac_invoice_item_templates`
#2912 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2913 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2914 - info - DROP TABLE `ac_invoice_note_templates`
#2915 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2916 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2917 - info - DROP TABLE `ac_invoice_related_records`
#2918 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2919 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2920 - info - DROP TABLE `ac_tax_rates`
#2921 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2922 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2923 - info - DROP TABLE `ac_notebook_pages`
#2924 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2925 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2926 - info - DROP TABLE `ac_notebook_page_versions`
#2927 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2928 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2929 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2930 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2931 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2932 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2933 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2934 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2935 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2936 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2937 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2938 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2939 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2940 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2941 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2942 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2943 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2944 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2945 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2946 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2947 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2948 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2949 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2950 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2951 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2952 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2953 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2954 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2955 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2956 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2957 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2958 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2959 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2960 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2961 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2962 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2963 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2964 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2965 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2966 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2967 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2968 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2969 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2970 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2971 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2972 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2973 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2974 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2975 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2976 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2977 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2978 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2979 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2980 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2981 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2982 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2983 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2984 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2985 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2986 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2987 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2988 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2989 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2990 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2991 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2992 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2993 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2994 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2995 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2996 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2997 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2998 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2999 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3000 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3001 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3002 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3003 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3004 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3005 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3006 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3007 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3008 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3009 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3010 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3011 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3012 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3013 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3014 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3015 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3016 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3017 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3018 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3019 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3020 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3036 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3042 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3043 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3044 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3045 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3046 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3047 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3048 - info - BEGIN WORK
#3049 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3050 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3051 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3052 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3053 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3054 - info - COMMIT
#3055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3056 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3058 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3059 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3082 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3083 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3084 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3085 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3086 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3087 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3088 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3089 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3090 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3091 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3092 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3093 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3094 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3095 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3096 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3098 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3100 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3101 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3102 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3103 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3105 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3106 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3107 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3108 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395009;')
#3109 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3110 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3111 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3112 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3113 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3114 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3115 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3117 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3119 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3121 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3122 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3123 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3124 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3125 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3126 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3127 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3128 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3129 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3133 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3134 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3135 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3137 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3145 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3146 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3147 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3148 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3149 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3151 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3152 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3153 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3154 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3155 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3156 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:09', '1')
#3157 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3158 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3159 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3160 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3162 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3163 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3164 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3165 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3166 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3167 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3168 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3169 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3170 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3171 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3172 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3173 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3175 - info - BEGIN WORK
#3176 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3177 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3178 - info - COMMIT
#3179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3180 - info - BEGIN WORK
#3181 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3182 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3183 - info - COMMIT
#3184 - info - BEGIN WORK
#3185 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3186 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3187 - info - COMMIT
#3188 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3189 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3190 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3191 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3192 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3193 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3194 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3195 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3196 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3197 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3198 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3199 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3200 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3201 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3202 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3203 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3204 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3205 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3206 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3207 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3208 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3209 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3210 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3211 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3212 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3213 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3214 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3215 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3216 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3217 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3218 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3219 - info - SHOW TABLES LIKE 'ac_job_types'
#3220 - info - SELECT COUNT(id) FROM ac_job_types
#3221 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3222 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3223 - info - BEGIN WORK
#3224 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3225 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3226 - info - COMMIT
#3227 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3228 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3229 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3230 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3231 - info - SELECT COUNT(name) FROM ac_modules
#3232 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3233 - info - SELECT name FROM ac_modules
#3234 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3235 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3236 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3237 - info - Cache miss 'config_values'
#3238 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3239 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3240 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3241 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3242 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3243 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3244 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3245 - info - BEGIN WORK
#3246 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3247 - info - Cache hit 'config_values'
#3248 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3249 - info - UPDATE ac_config_options SET value = 'i:1387395010;' WHERE name = 'search_initialized_on'
#3250 - info - COMMIT
#3251 - info - Cache miss 'models/users/1'
#3252 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3253 - info - SELECT COUNT(*) FROM  ac_config_options
#3254 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'N;')
#3255 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 1', 'N;')
#3256 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 'N;')
#3257 - info - SELECT COUNT(*) FROM ac_config_options
#3258 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3259 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3260 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3261 - info - BEGIN WORK
#3262 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3263 - info - Cache miss 'config_values'
#3264 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3265 - info - UPDATE ac_config_options SET value = 's:7:\"Value 1\";' WHERE name = 'Option 1'
#3266 - info - COMMIT
#3267 - info - BEGIN WORK
#3268 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3269 - info - Cache hit 'config_values'
#3270 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3271 - info - UPDATE ac_config_options SET value = 's:7:\"Value 2\";' WHERE name = 'Option 2'
#3272 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3273 - info - UPDATE ac_config_options SET value = 's:7:\"Value 3\";' WHERE name = 'Option 3'
#3274 - info - COMMIT
#3275 - info - Cache hit 'config_values'
#3276 - info - Cache hit 'config_values'
#3277 - info - Cache hit 'config_values'
#3278 - info - Cache hit 'config_values'
#3279 - info - BEGIN WORK
#3280 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#3281 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#3282 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3283 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3284 - info - COMMIT
#3285 - info - SELECT COUNT(*) FROM ac_config_options
#3286 - info - SHOW TABLES LIKE 'ac_config_options'
#3287 - info - SHOW TABLES LIKE 'ac_config_options'
#3288 - info - DROP TABLE `ac_config_options`
#3289 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3290 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3291 - info - DROP TABLE `ac_config_option_values`
#3292 - info - SHOW TABLES LIKE 'ac_modules'
#3293 - info - SHOW TABLES LIKE 'ac_modules'
#3294 - info - DROP TABLE `ac_modules`
#3295 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3296 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3297 - info - DROP TABLE `ac_executed_model_migrations`
#3298 - info - SHOW TABLES LIKE 'ac_update_history'
#3299 - info - SHOW TABLES LIKE 'ac_update_history'
#3300 - info - DROP TABLE `ac_update_history`
#3301 - info - SHOW TABLES LIKE 'ac_access_logs'
#3302 - info - SHOW TABLES LIKE 'ac_access_logs'
#3303 - info - DROP TABLE `ac_access_logs`
#3304 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3305 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3306 - info - DROP TABLE `ac_access_logs_archive`
#3307 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3308 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3309 - info - DROP TABLE `ac_object_contexts`
#3310 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3311 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3312 - info - DROP TABLE `ac_routing_cache`
#3313 - info - SHOW TABLES LIKE 'ac_currencies'
#3314 - info - SHOW TABLES LIKE 'ac_currencies'
#3315 - info - DROP TABLE `ac_currencies`
#3316 - info - SHOW TABLES LIKE 'ac_day_offs'
#3317 - info - SHOW TABLES LIKE 'ac_day_offs'
#3318 - info - DROP TABLE `ac_day_offs`
#3319 - info - SHOW TABLES LIKE 'ac_languages'
#3320 - info - SHOW TABLES LIKE 'ac_languages'
#3321 - info - DROP TABLE `ac_languages`
#3322 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3323 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3324 - info - DROP TABLE `ac_language_phrases`
#3325 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3326 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3327 - info - DROP TABLE `ac_language_phrase_translations`
#3328 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3329 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3330 - info - DROP TABLE `ac_api_client_subscriptions`
#3331 - info - SHOW TABLES LIKE 'ac_users'
#3332 - info - SHOW TABLES LIKE 'ac_users'
#3333 - info - DROP TABLE `ac_users`
#3334 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3335 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3336 - info - DROP TABLE `ac_user_addresses`
#3337 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3338 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3339 - info - DROP TABLE `ac_user_sessions`
#3340 - info - SHOW TABLES LIKE 'ac_security_logs'
#3341 - info - SHOW TABLES LIKE 'ac_security_logs'
#3342 - info - DROP TABLE `ac_security_logs`
#3343 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3344 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3345 - info - DROP TABLE `ac_api_token_logs`
#3346 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3347 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3348 - info - DROP TABLE `ac_activity_logs`
#3349 - info - SHOW TABLES LIKE 'ac_data_filters'
#3350 - info - SHOW TABLES LIKE 'ac_data_filters'
#3351 - info - DROP TABLE `ac_data_filters`
#3352 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3353 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3354 - info - DROP TABLE `ac_modification_logs`
#3355 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3356 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3357 - info - DROP TABLE `ac_modification_log_values`
#3358 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3359 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3360 - info - DROP TABLE `ac_mailing_activity_logs`
#3361 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3362 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3363 - info - DROP TABLE `ac_outgoing_messages`
#3364 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3365 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3366 - info - DROP TABLE `ac_incoming_mail_attachments`
#3367 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3368 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3369 - info - DROP TABLE `ac_incoming_mail_filters`
#3370 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3371 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3372 - info - DROP TABLE `ac_incoming_mailboxes`
#3373 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3374 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3375 - info - DROP TABLE `ac_incoming_mails`
#3376 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3377 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3378 - info - DROP TABLE `ac_homescreen_tabs`
#3379 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3380 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3381 - info - DROP TABLE `ac_homescreen_widgets`
#3382 - info - SHOW TABLES LIKE 'ac_announcements'
#3383 - info - SHOW TABLES LIKE 'ac_announcements'
#3384 - info - DROP TABLE `ac_announcements`
#3385 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3386 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3387 - info - DROP TABLE `ac_announcement_target_ids`
#3388 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3389 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3390 - info - DROP TABLE `ac_announcement_dismissals`
#3391 - info - SHOW TABLES LIKE 'ac_attachments'
#3392 - info - SHOW TABLES LIKE 'ac_attachments'
#3393 - info - DROP TABLE `ac_attachments`
#3394 - info - SHOW TABLES LIKE 'ac_notifications'
#3395 - info - SHOW TABLES LIKE 'ac_notifications'
#3396 - info - DROP TABLE `ac_notifications`
#3397 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3398 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3399 - info - DROP TABLE `ac_notification_recipients`
#3400 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3401 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3402 - info - DROP TABLE `ac_subscriptions`
#3403 - info - SHOW TABLES LIKE 'ac_comments'
#3404 - info - SHOW TABLES LIKE 'ac_comments'
#3405 - info - DROP TABLE `ac_comments`
#3406 - info - SHOW TABLES LIKE 'ac_categories'
#3407 - info - SHOW TABLES LIKE 'ac_categories'
#3408 - info - DROP TABLE `ac_categories`
#3409 - info - SHOW TABLES LIKE 'ac_labels'
#3410 - info - SHOW TABLES LIKE 'ac_labels'
#3411 - info - DROP TABLE `ac_labels`
#3412 - info - SHOW TABLES LIKE 'ac_assignments'
#3413 - info - SHOW TABLES LIKE 'ac_assignments'
#3414 - info - DROP TABLE `ac_assignments`
#3415 - info - SHOW TABLES LIKE 'ac_subtasks'
#3416 - info - SHOW TABLES LIKE 'ac_subtasks'
#3417 - info - DROP TABLE `ac_subtasks`
#3418 - info - SHOW TABLES LIKE 'ac_favorites'
#3419 - info - SHOW TABLES LIKE 'ac_favorites'
#3420 - info - DROP TABLE `ac_favorites`
#3421 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3422 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3423 - info - DROP TABLE `ac_code_snippets`
#3424 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3425 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3426 - info - DROP TABLE `ac_payment_gateways`
#3427 - info - SHOW TABLES LIKE 'ac_payments'
#3428 - info - SHOW TABLES LIKE 'ac_payments'
#3429 - info - DROP TABLE `ac_payments`
#3430 - info - SHOW TABLES LIKE 'ac_reminders'
#3431 - info - SHOW TABLES LIKE 'ac_reminders'
#3432 - info - DROP TABLE `ac_reminders`
#3433 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3434 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3435 - info - DROP TABLE `ac_reminder_users`
#3436 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3437 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3438 - info - DROP TABLE `ac_custom_fields`
#3439 - info - SHOW TABLES LIKE 'ac_calendars'
#3440 - info - SHOW TABLES LIKE 'ac_calendars'
#3441 - info - DROP TABLE `ac_calendars`
#3442 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3443 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3444 - info - DROP TABLE `ac_calendar_events`
#3445 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3446 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3447 - info - DROP TABLE `ac_calendar_users`
#3448 - info - SHOW TABLES LIKE 'ac_data_sources'
#3449 - info - SHOW TABLES LIKE 'ac_data_sources'
#3450 - info - DROP TABLE `ac_data_sources`
#3451 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3452 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3453 - info - DROP TABLE `ac_data_source_mappings`
#3454 - info - SHOW TABLES LIKE 'ac_companies'
#3455 - info - SHOW TABLES LIKE 'ac_companies'
#3456 - info - DROP TABLE `ac_companies`
#3457 - info - SHOW TABLES LIKE 'ac_projects'
#3458 - info - SHOW TABLES LIKE 'ac_projects'
#3459 - info - DROP TABLE `ac_projects`
#3460 - info - SHOW TABLES LIKE 'ac_project_roles'
#3461 - info - SHOW TABLES LIKE 'ac_project_roles'
#3462 - info - DROP TABLE `ac_project_roles`
#3463 - info - SHOW TABLES LIKE 'ac_project_users'
#3464 - info - SHOW TABLES LIKE 'ac_project_users'
#3465 - info - DROP TABLE `ac_project_users`
#3466 - info - SHOW TABLES LIKE 'ac_project_requests'
#3467 - info - SHOW TABLES LIKE 'ac_project_requests'
#3468 - info - DROP TABLE `ac_project_requests`
#3469 - info - SHOW TABLES LIKE 'ac_project_objects'
#3470 - info - SHOW TABLES LIKE 'ac_project_objects'
#3471 - info - DROP TABLE `ac_project_objects`
#3472 - info - SHOW TABLES LIKE 'ac_project_templates'
#3473 - info - SHOW TABLES LIKE 'ac_project_templates'
#3474 - info - DROP TABLE `ac_project_templates`
#3475 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3476 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3477 - info - DROP TABLE `ac_project_object_templates`
#3478 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3479 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3480 - info - DROP TABLE `ac_shared_object_profiles`
#3481 - info - SHOW TABLES LIKE 'ac_file_versions'
#3482 - info - SHOW TABLES LIKE 'ac_file_versions'
#3483 - info - DROP TABLE `ac_file_versions`
#3484 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3485 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3486 - info - DROP TABLE `ac_text_document_versions`
#3487 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3488 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3489 - info - DROP TABLE `ac_public_task_forms`
#3490 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3491 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3492 - info - DROP TABLE `ac_related_tasks`
#3493 - info - SHOW TABLES LIKE 'ac_task_segments'
#3494 - info - SHOW TABLES LIKE 'ac_task_segments'
#3495 - info - DROP TABLE `ac_task_segments`
#3496 - info - SHOW TABLES LIKE 'ac_status_updates'
#3497 - info - SHOW TABLES LIKE 'ac_status_updates'
#3498 - info - DROP TABLE `ac_status_updates`
#3499 - info - SHOW TABLES LIKE 'ac_documents'
#3500 - info - SHOW TABLES LIKE 'ac_documents'
#3501 - info - DROP TABLE `ac_documents`
#3502 - info - SHOW TABLES LIKE 'ac_time_records'
#3503 - info - SHOW TABLES LIKE 'ac_time_records'
#3504 - info - DROP TABLE `ac_time_records`
#3505 - info - SHOW TABLES LIKE 'ac_job_types'
#3506 - info - SHOW TABLES LIKE 'ac_job_types'
#3507 - info - DROP TABLE `ac_job_types`
#3508 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3509 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3510 - info - DROP TABLE `ac_project_hourly_rates`
#3511 - info - SHOW TABLES LIKE 'ac_expenses'
#3512 - info - SHOW TABLES LIKE 'ac_expenses'
#3513 - info - DROP TABLE `ac_expenses`
#3514 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3515 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3516 - info - DROP TABLE `ac_expense_categories`
#3517 - info - SHOW TABLES LIKE 'ac_estimates'
#3518 - info - SHOW TABLES LIKE 'ac_estimates'
#3519 - info - DROP TABLE `ac_estimates`
#3520 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3521 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3522 - info - DROP TABLE `ac_invoice_objects`
#3523 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3524 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3525 - info - DROP TABLE `ac_invoice_object_items`
#3526 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3527 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3528 - info - DROP TABLE `ac_invoice_item_templates`
#3529 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3530 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3531 - info - DROP TABLE `ac_invoice_note_templates`
#3532 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3533 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3534 - info - DROP TABLE `ac_invoice_related_records`
#3535 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3536 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3537 - info - DROP TABLE `ac_tax_rates`
#3538 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3539 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3540 - info - DROP TABLE `ac_notebook_pages`
#3541 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3542 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3543 - info - DROP TABLE `ac_notebook_page_versions`
#3544 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3545 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3546 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3547 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3548 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3549 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3550 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3551 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3552 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3553 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3554 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3555 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3556 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3557 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3558 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3559 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3560 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3561 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3562 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3563 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3564 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3565 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3566 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3567 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3568 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3569 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3570 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3571 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3572 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3573 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3574 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3575 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3576 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3577 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3578 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3579 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3580 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3581 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3582 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3583 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3584 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3585 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3586 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3587 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3588 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3589 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3590 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3591 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3592 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3593 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3594 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3595 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3596 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3597 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3598 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3599 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3600 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3601 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3602 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3603 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3604 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3605 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3606 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3607 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3608 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3609 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3610 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3611 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3612 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3613 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3614 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3615 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3616 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3617 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3618 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3619 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3620 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3621 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3622 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3623 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3624 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3625 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3626 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3627 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3628 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3629 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3647 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3648 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3650 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3651 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3652 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3653 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3654 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3655 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3656 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3657 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3658 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3660 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3661 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3662 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3665 - info - BEGIN WORK
#3666 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3667 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3668 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3669 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3670 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3671 - info - COMMIT
#3672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3697 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3698 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3699 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3700 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3701 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3702 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3703 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3704 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3705 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3706 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3707 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3708 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3709 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3710 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3711 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3712 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3716 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3718 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395010;')
#3726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3734 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3735 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3736 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3737 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3738 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3739 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3740 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3741 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3742 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3743 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3744 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3745 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3746 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3747 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3748 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3749 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3750 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3751 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3752 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3753 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3754 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3756 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3757 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3758 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3759 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3760 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3761 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3762 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3769 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3770 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3771 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3772 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3773 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:10', '1')
#3774 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3775 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3776 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3777 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3778 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3779 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3780 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3781 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3782 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3783 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3784 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3785 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3786 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3787 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3788 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3789 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3790 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3791 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3792 - info - BEGIN WORK
#3793 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3794 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3795 - info - COMMIT
#3796 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3797 - info - BEGIN WORK
#3798 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3799 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3800 - info - COMMIT
#3801 - info - BEGIN WORK
#3802 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3803 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3804 - info - COMMIT
#3805 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3806 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3807 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3808 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3809 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3810 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3811 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3812 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3813 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3814 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3815 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3816 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3817 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3818 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3819 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3820 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3821 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3822 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3823 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3824 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3825 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3826 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3827 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3828 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3829 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3830 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3831 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3832 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3833 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3834 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3835 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3836 - info - SHOW TABLES LIKE 'ac_job_types'
#3837 - info - SELECT COUNT(id) FROM ac_job_types
#3838 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3839 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3840 - info - BEGIN WORK
#3841 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3842 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3843 - info - COMMIT
#3844 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3845 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3846 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3847 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3848 - info - SELECT COUNT(name) FROM ac_modules
#3849 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3850 - info - SELECT name FROM ac_modules
#3851 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3852 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3853 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3854 - info - Cache miss 'config_values'
#3855 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3856 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3857 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3858 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3859 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3860 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3861 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3862 - info - BEGIN WORK
#3863 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3864 - info - Cache hit 'config_values'
#3865 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3866 - info - UPDATE ac_config_options SET value = 'i:1387395010;' WHERE name = 'search_initialized_on'
#3867 - info - COMMIT
#3868 - info - Cache miss 'models/users/1'
#3869 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3870 - info - SELECT COUNT(*) FROM  ac_config_options
#3871 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'system', 'i:1983;')
#3872 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'system', 's:10:\"Google.com\";')
#3873 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'system', 'a:6:{i:0;s:8:\"Belgrade\";i:1;s:6:\"Zagreb\";i:2;s:9:\"Ljubljana\";i:3;s:8:\"Sarajevo\";i:4;s:9:\"Podgorica\";i:5;s:7:\"Skoplje\";}')
#3874 - info - SELECT COUNT(*) FROM ac_config_options
#3875 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3876 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3877 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3878 - info - BEGIN WORK
#3879 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3880 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3881 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3882 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3883 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '1', 's:7:\"Value 1\";')
#3884 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3885 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3886 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '1', 's:7:\"Value 3\";')
#3887 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3888 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3889 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 2', 'TestConfigOptionsObject1', '1', 's:7:\"Value 2\";')
#3890 - info - COMMIT
#3891 - info - BEGIN WORK
#3892 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3893 - info - Cache miss 'models/test_config_options_object1s/2/config_options'
#3894 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3895 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3896 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '2', 's:25:\"Value 1 for second object\";')
#3897 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3898 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3899 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '2', 's:7:\"Value 3\";')
#3900 - info - COMMIT
#3901 - info - BEGIN WORK
#3902 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3903 - info - Cache miss 'models/test_config_options_object2s/1/config_options'
#3904 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3905 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject2' AND parent_id = '1'
#3906 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject2', '1', 'i:1;')
#3907 - info - COMMIT
#3908 - info - SELECT COUNT(*) FROM ac_config_option_values
#3909 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3910 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject2'
#3911 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3912 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3913 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3914 - info - DELETE FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3915 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3916 - info - Cache miss 'config_values'
#3917 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3918 - info - BEGIN WORK
#3919 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3920 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3921 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3922 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3923 - info - UPDATE ac_config_option_values SET value = 's:9:\"Yahoo.com\";' WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3924 - info - COMMIT
#3925 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3926 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3927 - info - Cache hit 'models/test_config_options_object1s/1/config_options'
#3928 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3929 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 2') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3930 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3931 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3932 - info - Cache hit 'config_values'
#3933 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3934 - info - SHOW TABLES LIKE 'ac_config_options'
#3935 - info - SHOW TABLES LIKE 'ac_config_options'
#3936 - info - DROP TABLE `ac_config_options`
#3937 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3938 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3939 - info - DROP TABLE `ac_config_option_values`
#3940 - info - SHOW TABLES LIKE 'ac_modules'
#3941 - info - SHOW TABLES LIKE 'ac_modules'
#3942 - info - DROP TABLE `ac_modules`
#3943 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3944 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3945 - info - DROP TABLE `ac_executed_model_migrations`
#3946 - info - SHOW TABLES LIKE 'ac_update_history'
#3947 - info - SHOW TABLES LIKE 'ac_update_history'
#3948 - info - DROP TABLE `ac_update_history`
#3949 - info - SHOW TABLES LIKE 'ac_access_logs'
#3950 - info - SHOW TABLES LIKE 'ac_access_logs'
#3951 - info - DROP TABLE `ac_access_logs`
#3952 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3953 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3954 - info - DROP TABLE `ac_access_logs_archive`
#3955 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3956 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3957 - info - DROP TABLE `ac_object_contexts`
#3958 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3959 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3960 - info - DROP TABLE `ac_routing_cache`
#3961 - info - SHOW TABLES LIKE 'ac_currencies'
#3962 - info - SHOW TABLES LIKE 'ac_currencies'
#3963 - info - DROP TABLE `ac_currencies`
#3964 - info - SHOW TABLES LIKE 'ac_day_offs'
#3965 - info - SHOW TABLES LIKE 'ac_day_offs'
#3966 - info - DROP TABLE `ac_day_offs`
#3967 - info - SHOW TABLES LIKE 'ac_languages'
#3968 - info - SHOW TABLES LIKE 'ac_languages'
#3969 - info - DROP TABLE `ac_languages`
#3970 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3971 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3972 - info - DROP TABLE `ac_language_phrases`
#3973 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3974 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3975 - info - DROP TABLE `ac_language_phrase_translations`
#3976 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3977 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3978 - info - DROP TABLE `ac_api_client_subscriptions`
#3979 - info - SHOW TABLES LIKE 'ac_users'
#3980 - info - SHOW TABLES LIKE 'ac_users'
#3981 - info - DROP TABLE `ac_users`
#3982 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3983 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3984 - info - DROP TABLE `ac_user_addresses`
#3985 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3986 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3987 - info - DROP TABLE `ac_user_sessions`
#3988 - info - SHOW TABLES LIKE 'ac_security_logs'
#3989 - info - SHOW TABLES LIKE 'ac_security_logs'
#3990 - info - DROP TABLE `ac_security_logs`
#3991 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3992 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3993 - info - DROP TABLE `ac_api_token_logs`
#3994 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3995 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3996 - info - DROP TABLE `ac_activity_logs`
#3997 - info - SHOW TABLES LIKE 'ac_data_filters'
#3998 - info - SHOW TABLES LIKE 'ac_data_filters'
#3999 - info - DROP TABLE `ac_data_filters`
#4000 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4001 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4002 - info - DROP TABLE `ac_modification_logs`
#4003 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4004 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4005 - info - DROP TABLE `ac_modification_log_values`
#4006 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4007 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4008 - info - DROP TABLE `ac_mailing_activity_logs`
#4009 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4010 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4011 - info - DROP TABLE `ac_outgoing_messages`
#4012 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4013 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4014 - info - DROP TABLE `ac_incoming_mail_attachments`
#4015 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4016 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4017 - info - DROP TABLE `ac_incoming_mail_filters`
#4018 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4019 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4020 - info - DROP TABLE `ac_incoming_mailboxes`
#4021 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4022 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4023 - info - DROP TABLE `ac_incoming_mails`
#4024 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4025 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4026 - info - DROP TABLE `ac_homescreen_tabs`
#4027 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4028 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4029 - info - DROP TABLE `ac_homescreen_widgets`
#4030 - info - SHOW TABLES LIKE 'ac_announcements'
#4031 - info - SHOW TABLES LIKE 'ac_announcements'
#4032 - info - DROP TABLE `ac_announcements`
#4033 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4034 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4035 - info - DROP TABLE `ac_announcement_target_ids`
#4036 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4037 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4038 - info - DROP TABLE `ac_announcement_dismissals`
#4039 - info - SHOW TABLES LIKE 'ac_attachments'
#4040 - info - SHOW TABLES LIKE 'ac_attachments'
#4041 - info - DROP TABLE `ac_attachments`
#4042 - info - SHOW TABLES LIKE 'ac_notifications'
#4043 - info - SHOW TABLES LIKE 'ac_notifications'
#4044 - info - DROP TABLE `ac_notifications`
#4045 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4046 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4047 - info - DROP TABLE `ac_notification_recipients`
#4048 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4049 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4050 - info - DROP TABLE `ac_subscriptions`
#4051 - info - SHOW TABLES LIKE 'ac_comments'
#4052 - info - SHOW TABLES LIKE 'ac_comments'
#4053 - info - DROP TABLE `ac_comments`
#4054 - info - SHOW TABLES LIKE 'ac_categories'
#4055 - info - SHOW TABLES LIKE 'ac_categories'
#4056 - info - DROP TABLE `ac_categories`
#4057 - info - SHOW TABLES LIKE 'ac_labels'
#4058 - info - SHOW TABLES LIKE 'ac_labels'
#4059 - info - DROP TABLE `ac_labels`
#4060 - info - SHOW TABLES LIKE 'ac_assignments'
#4061 - info - SHOW TABLES LIKE 'ac_assignments'
#4062 - info - DROP TABLE `ac_assignments`
#4063 - info - SHOW TABLES LIKE 'ac_subtasks'
#4064 - info - SHOW TABLES LIKE 'ac_subtasks'
#4065 - info - DROP TABLE `ac_subtasks`
#4066 - info - SHOW TABLES LIKE 'ac_favorites'
#4067 - info - SHOW TABLES LIKE 'ac_favorites'
#4068 - info - DROP TABLE `ac_favorites`
#4069 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4070 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4071 - info - DROP TABLE `ac_code_snippets`
#4072 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4073 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4074 - info - DROP TABLE `ac_payment_gateways`
#4075 - info - SHOW TABLES LIKE 'ac_payments'
#4076 - info - SHOW TABLES LIKE 'ac_payments'
#4077 - info - DROP TABLE `ac_payments`
#4078 - info - SHOW TABLES LIKE 'ac_reminders'
#4079 - info - SHOW TABLES LIKE 'ac_reminders'
#4080 - info - DROP TABLE `ac_reminders`
#4081 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4082 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4083 - info - DROP TABLE `ac_reminder_users`
#4084 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4085 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4086 - info - DROP TABLE `ac_custom_fields`
#4087 - info - SHOW TABLES LIKE 'ac_calendars'
#4088 - info - SHOW TABLES LIKE 'ac_calendars'
#4089 - info - DROP TABLE `ac_calendars`
#4090 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4091 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4092 - info - DROP TABLE `ac_calendar_events`
#4093 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4094 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4095 - info - DROP TABLE `ac_calendar_users`
#4096 - info - SHOW TABLES LIKE 'ac_data_sources'
#4097 - info - SHOW TABLES LIKE 'ac_data_sources'
#4098 - info - DROP TABLE `ac_data_sources`
#4099 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4100 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4101 - info - DROP TABLE `ac_data_source_mappings`
#4102 - info - SHOW TABLES LIKE 'ac_companies'
#4103 - info - SHOW TABLES LIKE 'ac_companies'
#4104 - info - DROP TABLE `ac_companies`
#4105 - info - SHOW TABLES LIKE 'ac_projects'
#4106 - info - SHOW TABLES LIKE 'ac_projects'
#4107 - info - DROP TABLE `ac_projects`
#4108 - info - SHOW TABLES LIKE 'ac_project_roles'
#4109 - info - SHOW TABLES LIKE 'ac_project_roles'
#4110 - info - DROP TABLE `ac_project_roles`
#4111 - info - SHOW TABLES LIKE 'ac_project_users'
#4112 - info - SHOW TABLES LIKE 'ac_project_users'
#4113 - info - DROP TABLE `ac_project_users`
#4114 - info - SHOW TABLES LIKE 'ac_project_requests'
#4115 - info - SHOW TABLES LIKE 'ac_project_requests'
#4116 - info - DROP TABLE `ac_project_requests`
#4117 - info - SHOW TABLES LIKE 'ac_project_objects'
#4118 - info - SHOW TABLES LIKE 'ac_project_objects'
#4119 - info - DROP TABLE `ac_project_objects`
#4120 - info - SHOW TABLES LIKE 'ac_project_templates'
#4121 - info - SHOW TABLES LIKE 'ac_project_templates'
#4122 - info - DROP TABLE `ac_project_templates`
#4123 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4124 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4125 - info - DROP TABLE `ac_project_object_templates`
#4126 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4127 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4128 - info - DROP TABLE `ac_shared_object_profiles`
#4129 - info - SHOW TABLES LIKE 'ac_file_versions'
#4130 - info - SHOW TABLES LIKE 'ac_file_versions'
#4131 - info - DROP TABLE `ac_file_versions`
#4132 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4133 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4134 - info - DROP TABLE `ac_text_document_versions`
#4135 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4136 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4137 - info - DROP TABLE `ac_public_task_forms`
#4138 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4139 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4140 - info - DROP TABLE `ac_related_tasks`
#4141 - info - SHOW TABLES LIKE 'ac_task_segments'
#4142 - info - SHOW TABLES LIKE 'ac_task_segments'
#4143 - info - DROP TABLE `ac_task_segments`
#4144 - info - SHOW TABLES LIKE 'ac_status_updates'
#4145 - info - SHOW TABLES LIKE 'ac_status_updates'
#4146 - info - DROP TABLE `ac_status_updates`
#4147 - info - SHOW TABLES LIKE 'ac_documents'
#4148 - info - SHOW TABLES LIKE 'ac_documents'
#4149 - info - DROP TABLE `ac_documents`
#4150 - info - SHOW TABLES LIKE 'ac_time_records'
#4151 - info - SHOW TABLES LIKE 'ac_time_records'
#4152 - info - DROP TABLE `ac_time_records`
#4153 - info - SHOW TABLES LIKE 'ac_job_types'
#4154 - info - SHOW TABLES LIKE 'ac_job_types'
#4155 - info - DROP TABLE `ac_job_types`
#4156 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4157 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4158 - info - DROP TABLE `ac_project_hourly_rates`
#4159 - info - SHOW TABLES LIKE 'ac_expenses'
#4160 - info - SHOW TABLES LIKE 'ac_expenses'
#4161 - info - DROP TABLE `ac_expenses`
#4162 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4163 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4164 - info - DROP TABLE `ac_expense_categories`
#4165 - info - SHOW TABLES LIKE 'ac_estimates'
#4166 - info - SHOW TABLES LIKE 'ac_estimates'
#4167 - info - DROP TABLE `ac_estimates`
#4168 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4169 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4170 - info - DROP TABLE `ac_invoice_objects`
#4171 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4172 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4173 - info - DROP TABLE `ac_invoice_object_items`
#4174 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4175 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4176 - info - DROP TABLE `ac_invoice_item_templates`
#4177 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4178 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4179 - info - DROP TABLE `ac_invoice_note_templates`
#4180 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4181 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4182 - info - DROP TABLE `ac_invoice_related_records`
#4183 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4184 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4185 - info - DROP TABLE `ac_tax_rates`
#4186 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4187 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4188 - info - DROP TABLE `ac_notebook_pages`
#4189 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4190 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4191 - info - DROP TABLE `ac_notebook_page_versions`
#4192 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4193 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4194 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4195 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4196 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4197 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4198 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4199 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4200 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4201 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4202 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4203 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4204 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4205 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4206 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4207 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4208 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4209 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4210 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4211 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4212 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4213 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4214 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4215 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4216 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4217 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4218 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4219 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4220 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4221 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4222 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4223 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4224 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4225 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4226 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4227 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4228 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4229 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4230 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4231 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4232 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4233 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4234 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4235 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4236 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4237 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4238 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4239 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4240 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4241 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4242 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4243 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4244 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4245 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4246 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4247 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4248 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4249 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4250 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4251 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4252 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4253 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4254 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4255 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4256 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4257 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4258 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4259 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4260 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4261 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4262 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4263 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4264 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4265 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4266 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4267 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4268 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4269 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4270 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4271 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4272 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4273 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4274 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4275 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4276 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4277 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4278 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4279 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4280 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4281 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4282 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4283 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4284 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4285 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4286 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4287 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4288 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4289 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4290 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4291 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4292 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4293 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4294 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4295 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4297 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4298 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4299 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4300 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4301 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4302 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4303 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4304 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4305 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4306 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4307 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4308 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4309 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4310 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4311 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4313 - info - BEGIN WORK
#4314 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4315 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4316 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4317 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4318 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4319 - info - COMMIT
#4320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4345 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4346 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4347 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4348 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4349 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4350 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4351 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4352 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4353 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4354 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4355 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4356 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4357 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4358 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4359 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4360 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395011;')
#4374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4386 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4387 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4388 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4390 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4398 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4399 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#4403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#4404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#4405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#4406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#4407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#4408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#4409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#4410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#4411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#4412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#4413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#4414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#4415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#4416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#4417 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#4418 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#4419 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#4420 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#4421 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:11', '1')
#4422 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4423 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4424 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4425 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#4427 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#4429 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#4431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#4432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#4433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#4434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#4435 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#4436 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#4437 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#4438 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#4440 - info - BEGIN WORK
#4441 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#4442 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#4443 - info - COMMIT
#4444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#4445 - info - BEGIN WORK
#4446 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4447 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#4448 - info - COMMIT
#4449 - info - BEGIN WORK
#4450 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4451 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#4452 - info - COMMIT
#4453 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4454 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4455 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#4456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#4457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#4458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#4459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#4460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#4461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#4462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#4463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#4464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#4465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#4466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#4467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#4468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#4469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#4470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#4471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#4472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#4473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#4474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#4475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#4476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#4477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#4478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#4479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#4480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#4481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#4482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#4483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#4484 - info - SHOW TABLES LIKE 'ac_job_types'
#4485 - info - SELECT COUNT(id) FROM ac_job_types
#4486 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4487 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#4488 - info - BEGIN WORK
#4489 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#4490 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#4491 - info - COMMIT
#4492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#4493 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4494 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4495 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#4496 - info - SELECT COUNT(name) FROM ac_modules
#4497 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#4498 - info - SELECT name FROM ac_modules
#4499 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#4500 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#4501 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#4502 - info - Cache hit 'config_values'
#4503 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#4504 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#4505 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#4506 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#4507 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#4508 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#4509 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#4510 - info - BEGIN WORK
#4511 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#4512 - info - Cache hit 'config_values'
#4513 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#4514 - info - UPDATE ac_config_options SET value = 'i:1387395011;' WHERE name = 'search_initialized_on'
#4515 - info - COMMIT
#4516 - info - Cache miss 'models/users/1'
#4517 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#4518 - info - Cache hit 'models/users/1'
#4519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('testing_user_model', 'system', 'N;')
#4520 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'testing_user_model'
#4521 - info - BEGIN WORK
#4522 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#4523 - info - Cache miss 'models/users/1/config_options'
#4524 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'testing_user_model'
#4525 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4526 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('testing_user_model', 'User', '1', 'i:123;')
#4527 - info - COMMIT
#4528 - info - Cache hit 'models/users/1/config_options'
#4529 - info - SELECT value FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4530 - info - SELECT * FROM ac_config_option_values WHERE name = 'testing_user_model'
#4531 - info - SHOW TABLES LIKE 'ac_config_options'
#4532 - info - SHOW TABLES LIKE 'ac_config_options'
#4533 - info - DROP TABLE `ac_config_options`
#4534 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4535 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4536 - info - DROP TABLE `ac_config_option_values`
#4537 - info - SHOW TABLES LIKE 'ac_modules'
#4538 - info - SHOW TABLES LIKE 'ac_modules'
#4539 - info - DROP TABLE `ac_modules`
#4540 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4541 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4542 - info - DROP TABLE `ac_executed_model_migrations`
#4543 - info - SHOW TABLES LIKE 'ac_update_history'
#4544 - info - SHOW TABLES LIKE 'ac_update_history'
#4545 - info - DROP TABLE `ac_update_history`
#4546 - info - SHOW TABLES LIKE 'ac_access_logs'
#4547 - info - SHOW TABLES LIKE 'ac_access_logs'
#4548 - info - DROP TABLE `ac_access_logs`
#4549 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4550 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4551 - info - DROP TABLE `ac_access_logs_archive`
#4552 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4553 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4554 - info - DROP TABLE `ac_object_contexts`
#4555 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4556 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4557 - info - DROP TABLE `ac_routing_cache`
#4558 - info - SHOW TABLES LIKE 'ac_currencies'
#4559 - info - SHOW TABLES LIKE 'ac_currencies'
#4560 - info - DROP TABLE `ac_currencies`
#4561 - info - SHOW TABLES LIKE 'ac_day_offs'
#4562 - info - SHOW TABLES LIKE 'ac_day_offs'
#4563 - info - DROP TABLE `ac_day_offs`
#4564 - info - SHOW TABLES LIKE 'ac_languages'
#4565 - info - SHOW TABLES LIKE 'ac_languages'
#4566 - info - DROP TABLE `ac_languages`
#4567 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4568 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4569 - info - DROP TABLE `ac_language_phrases`
#4570 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4571 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4572 - info - DROP TABLE `ac_language_phrase_translations`
#4573 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4574 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4575 - info - DROP TABLE `ac_api_client_subscriptions`
#4576 - info - SHOW TABLES LIKE 'ac_users'
#4577 - info - SHOW TABLES LIKE 'ac_users'
#4578 - info - DROP TABLE `ac_users`
#4579 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4580 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4581 - info - DROP TABLE `ac_user_addresses`
#4582 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4583 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4584 - info - DROP TABLE `ac_user_sessions`
#4585 - info - SHOW TABLES LIKE 'ac_security_logs'
#4586 - info - SHOW TABLES LIKE 'ac_security_logs'
#4587 - info - DROP TABLE `ac_security_logs`
#4588 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4589 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4590 - info - DROP TABLE `ac_api_token_logs`
#4591 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4592 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4593 - info - DROP TABLE `ac_activity_logs`
#4594 - info - SHOW TABLES LIKE 'ac_data_filters'
#4595 - info - SHOW TABLES LIKE 'ac_data_filters'
#4596 - info - DROP TABLE `ac_data_filters`
#4597 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4598 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4599 - info - DROP TABLE `ac_modification_logs`
#4600 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4601 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4602 - info - DROP TABLE `ac_modification_log_values`
#4603 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4604 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4605 - info - DROP TABLE `ac_mailing_activity_logs`
#4606 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4607 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4608 - info - DROP TABLE `ac_outgoing_messages`
#4609 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4610 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4611 - info - DROP TABLE `ac_incoming_mail_attachments`
#4612 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4613 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4614 - info - DROP TABLE `ac_incoming_mail_filters`
#4615 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4616 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4617 - info - DROP TABLE `ac_incoming_mailboxes`
#4618 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4619 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4620 - info - DROP TABLE `ac_incoming_mails`
#4621 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4622 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4623 - info - DROP TABLE `ac_homescreen_tabs`
#4624 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4625 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4626 - info - DROP TABLE `ac_homescreen_widgets`
#4627 - info - SHOW TABLES LIKE 'ac_announcements'
#4628 - info - SHOW TABLES LIKE 'ac_announcements'
#4629 - info - DROP TABLE `ac_announcements`
#4630 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4631 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4632 - info - DROP TABLE `ac_announcement_target_ids`
#4633 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4634 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4635 - info - DROP TABLE `ac_announcement_dismissals`
#4636 - info - SHOW TABLES LIKE 'ac_attachments'
#4637 - info - SHOW TABLES LIKE 'ac_attachments'
#4638 - info - DROP TABLE `ac_attachments`
#4639 - info - SHOW TABLES LIKE 'ac_notifications'
#4640 - info - SHOW TABLES LIKE 'ac_notifications'
#4641 - info - DROP TABLE `ac_notifications`
#4642 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4643 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4644 - info - DROP TABLE `ac_notification_recipients`
#4645 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4646 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4647 - info - DROP TABLE `ac_subscriptions`
#4648 - info - SHOW TABLES LIKE 'ac_comments'
#4649 - info - SHOW TABLES LIKE 'ac_comments'
#4650 - info - DROP TABLE `ac_comments`
#4651 - info - SHOW TABLES LIKE 'ac_categories'
#4652 - info - SHOW TABLES LIKE 'ac_categories'
#4653 - info - DROP TABLE `ac_categories`
#4654 - info - SHOW TABLES LIKE 'ac_labels'
#4655 - info - SHOW TABLES LIKE 'ac_labels'
#4656 - info - DROP TABLE `ac_labels`
#4657 - info - SHOW TABLES LIKE 'ac_assignments'
#4658 - info - SHOW TABLES LIKE 'ac_assignments'
#4659 - info - DROP TABLE `ac_assignments`
#4660 - info - SHOW TABLES LIKE 'ac_subtasks'
#4661 - info - SHOW TABLES LIKE 'ac_subtasks'
#4662 - info - DROP TABLE `ac_subtasks`
#4663 - info - SHOW TABLES LIKE 'ac_favorites'
#4664 - info - SHOW TABLES LIKE 'ac_favorites'
#4665 - info - DROP TABLE `ac_favorites`
#4666 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4667 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4668 - info - DROP TABLE `ac_code_snippets`
#4669 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4670 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4671 - info - DROP TABLE `ac_payment_gateways`
#4672 - info - SHOW TABLES LIKE 'ac_payments'
#4673 - info - SHOW TABLES LIKE 'ac_payments'
#4674 - info - DROP TABLE `ac_payments`
#4675 - info - SHOW TABLES LIKE 'ac_reminders'
#4676 - info - SHOW TABLES LIKE 'ac_reminders'
#4677 - info - DROP TABLE `ac_reminders`
#4678 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4679 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4680 - info - DROP TABLE `ac_reminder_users`
#4681 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4682 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4683 - info - DROP TABLE `ac_custom_fields`
#4684 - info - SHOW TABLES LIKE 'ac_calendars'
#4685 - info - SHOW TABLES LIKE 'ac_calendars'
#4686 - info - DROP TABLE `ac_calendars`
#4687 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4688 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4689 - info - DROP TABLE `ac_calendar_events`
#4690 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4691 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4692 - info - DROP TABLE `ac_calendar_users`
#4693 - info - SHOW TABLES LIKE 'ac_data_sources'
#4694 - info - SHOW TABLES LIKE 'ac_data_sources'
#4695 - info - DROP TABLE `ac_data_sources`
#4696 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4697 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4698 - info - DROP TABLE `ac_data_source_mappings`
#4699 - info - SHOW TABLES LIKE 'ac_companies'
#4700 - info - SHOW TABLES LIKE 'ac_companies'
#4701 - info - DROP TABLE `ac_companies`
#4702 - info - SHOW TABLES LIKE 'ac_projects'
#4703 - info - SHOW TABLES LIKE 'ac_projects'
#4704 - info - DROP TABLE `ac_projects`
#4705 - info - SHOW TABLES LIKE 'ac_project_roles'
#4706 - info - SHOW TABLES LIKE 'ac_project_roles'
#4707 - info - DROP TABLE `ac_project_roles`
#4708 - info - SHOW TABLES LIKE 'ac_project_users'
#4709 - info - SHOW TABLES LIKE 'ac_project_users'
#4710 - info - DROP TABLE `ac_project_users`
#4711 - info - SHOW TABLES LIKE 'ac_project_requests'
#4712 - info - SHOW TABLES LIKE 'ac_project_requests'
#4713 - info - DROP TABLE `ac_project_requests`
#4714 - info - SHOW TABLES LIKE 'ac_project_objects'
#4715 - info - SHOW TABLES LIKE 'ac_project_objects'
#4716 - info - DROP TABLE `ac_project_objects`
#4717 - info - SHOW TABLES LIKE 'ac_project_templates'
#4718 - info - SHOW TABLES LIKE 'ac_project_templates'
#4719 - info - DROP TABLE `ac_project_templates`
#4720 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4721 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4722 - info - DROP TABLE `ac_project_object_templates`
#4723 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4724 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4725 - info - DROP TABLE `ac_shared_object_profiles`
#4726 - info - SHOW TABLES LIKE 'ac_file_versions'
#4727 - info - SHOW TABLES LIKE 'ac_file_versions'
#4728 - info - DROP TABLE `ac_file_versions`
#4729 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4730 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4731 - info - DROP TABLE `ac_text_document_versions`
#4732 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4733 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4734 - info - DROP TABLE `ac_public_task_forms`
#4735 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4736 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4737 - info - DROP TABLE `ac_related_tasks`
#4738 - info - SHOW TABLES LIKE 'ac_task_segments'
#4739 - info - SHOW TABLES LIKE 'ac_task_segments'
#4740 - info - DROP TABLE `ac_task_segments`
#4741 - info - SHOW TABLES LIKE 'ac_status_updates'
#4742 - info - SHOW TABLES LIKE 'ac_status_updates'
#4743 - info - DROP TABLE `ac_status_updates`
#4744 - info - SHOW TABLES LIKE 'ac_documents'
#4745 - info - SHOW TABLES LIKE 'ac_documents'
#4746 - info - DROP TABLE `ac_documents`
#4747 - info - SHOW TABLES LIKE 'ac_time_records'
#4748 - info - SHOW TABLES LIKE 'ac_time_records'
#4749 - info - DROP TABLE `ac_time_records`
#4750 - info - SHOW TABLES LIKE 'ac_job_types'
#4751 - info - SHOW TABLES LIKE 'ac_job_types'
#4752 - info - DROP TABLE `ac_job_types`
#4753 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4754 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4755 - info - DROP TABLE `ac_project_hourly_rates`
#4756 - info - SHOW TABLES LIKE 'ac_expenses'
#4757 - info - SHOW TABLES LIKE 'ac_expenses'
#4758 - info - DROP TABLE `ac_expenses`
#4759 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4760 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4761 - info - DROP TABLE `ac_expense_categories`
#4762 - info - SHOW TABLES LIKE 'ac_estimates'
#4763 - info - SHOW TABLES LIKE 'ac_estimates'
#4764 - info - DROP TABLE `ac_estimates`
#4765 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4766 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4767 - info - DROP TABLE `ac_invoice_objects`
#4768 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4769 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4770 - info - DROP TABLE `ac_invoice_object_items`
#4771 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4772 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4773 - info - DROP TABLE `ac_invoice_item_templates`
#4774 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4775 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4776 - info - DROP TABLE `ac_invoice_note_templates`
#4777 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4778 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4779 - info - DROP TABLE `ac_invoice_related_records`
#4780 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4781 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4782 - info - DROP TABLE `ac_tax_rates`
#4783 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4784 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4785 - info - DROP TABLE `ac_notebook_pages`
#4786 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4787 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4788 - info - DROP TABLE `ac_notebook_page_versions`
#4789 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4790 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4791 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4792 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4793 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4794 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4795 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4796 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4797 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4798 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4799 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4800 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4801 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4802 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4803 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4804 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4805 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4806 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4807 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4808 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4809 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4810 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4811 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4812 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4813 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4814 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4815 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4816 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4817 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4818 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4819 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4820 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4821 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4822 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4823 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4824 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4825 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4826 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4827 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4828 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4829 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4830 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4831 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4832 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4833 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4834 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4835 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4836 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4837 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4838 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4839 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4840 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4841 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4842 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4843 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4844 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4845 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4846 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4847 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4848 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4849 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4850 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4851 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4852 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4853 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4854 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4855 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4856 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4857 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4858 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4859 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4860 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4861 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4862 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4863 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4864 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4865 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4866 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4867 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4868 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4869 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4870 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4871 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4872 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4873 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4874 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4875 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4876 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4877 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4878 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4879 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4880 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4881 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4882 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4883 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4884 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4885 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4886 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4887 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4888 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4889 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4890 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4891 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4892 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4893 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4894 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4895 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4896 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4897 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4898 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4899 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4900 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4901 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4902 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4903 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4904 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4905 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4906 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4907 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4908 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4909 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4910 - info - BEGIN WORK
#4911 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4912 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4913 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4914 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4915 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4916 - info - COMMIT
#4917 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4918 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4919 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4920 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4921 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4922 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4923 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4924 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4925 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4926 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4931 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4932 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4933 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4934 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4935 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4944 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4945 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4946 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4947 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4948 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4949 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4950 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4951 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4952 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4953 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4954 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4955 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4956 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4957 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4958 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4963 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4964 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4965 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4966 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4967 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395011;')
#4971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4983 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4984 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4985 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4987 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4995 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4996 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#5000 - info - Event 'on_shutdown' triggered

caching

#1 - info - APC cache backend loaded
#2 - info - File system cache backend loaded
#3 - info - File system cache backend loaded
#4 - info - File system cache backend loaded

sql

#1 - info - SET NAMES 'utf8'
#2 - info - SET SESSION character_set_database = 'utf8'
#3 - info - SHOW TABLES LIKE 'ac_config_options'
#4 - info - SHOW TABLES LIKE 'ac_config_option_values'
#5 - info - SHOW TABLES LIKE 'ac_modules'
#6 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#7 - info - SHOW TABLES LIKE 'ac_update_history'
#8 - info - SHOW TABLES LIKE 'ac_access_logs'
#9 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#10 - info - SHOW TABLES LIKE 'ac_object_contexts'
#11 - info - SHOW TABLES LIKE 'ac_routing_cache'
#12 - info - SHOW TABLES LIKE 'ac_currencies'
#13 - info - SHOW TABLES LIKE 'ac_day_offs'
#14 - info - SHOW TABLES LIKE 'ac_languages'
#15 - info - SHOW TABLES LIKE 'ac_language_phrases'
#16 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#17 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#18 - info - SHOW TABLES LIKE 'ac_users'
#19 - info - SHOW TABLES LIKE 'ac_user_addresses'
#20 - info - SHOW TABLES LIKE 'ac_user_sessions'
#21 - info - SHOW TABLES LIKE 'ac_security_logs'
#22 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#23 - info - SHOW TABLES LIKE 'ac_activity_logs'
#24 - info - SHOW TABLES LIKE 'ac_data_filters'
#25 - info - SHOW TABLES LIKE 'ac_data_filters'
#26 - info - DROP TABLE `ac_data_filters`
#27 - info - SHOW TABLES LIKE 'ac_modification_logs'
#28 - info - SHOW TABLES LIKE 'ac_modification_logs'
#29 - info - DROP TABLE `ac_modification_logs`
#30 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#31 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#32 - info - DROP TABLE `ac_modification_log_values`
#33 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#34 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#35 - info - DROP TABLE `ac_mailing_activity_logs`
#36 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#37 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#38 - info - DROP TABLE `ac_outgoing_messages`
#39 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#40 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#41 - info - DROP TABLE `ac_incoming_mail_attachments`
#42 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#43 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#44 - info - DROP TABLE `ac_incoming_mail_filters`
#45 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#46 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#47 - info - DROP TABLE `ac_incoming_mailboxes`
#48 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#49 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#50 - info - DROP TABLE `ac_incoming_mails`
#51 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#52 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#53 - info - DROP TABLE `ac_homescreen_tabs`
#54 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#55 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#56 - info - DROP TABLE `ac_homescreen_widgets`
#57 - info - SHOW TABLES LIKE 'ac_announcements'
#58 - info - SHOW TABLES LIKE 'ac_announcements'
#59 - info - DROP TABLE `ac_announcements`
#60 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#61 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#62 - info - DROP TABLE `ac_announcement_target_ids`
#63 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#64 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#65 - info - DROP TABLE `ac_announcement_dismissals`
#66 - info - SHOW TABLES LIKE 'ac_attachments'
#67 - info - SHOW TABLES LIKE 'ac_attachments'
#68 - info - DROP TABLE `ac_attachments`
#69 - info - SHOW TABLES LIKE 'ac_notifications'
#70 - info - SHOW TABLES LIKE 'ac_notifications'
#71 - info - DROP TABLE `ac_notifications`
#72 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#73 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#74 - info - DROP TABLE `ac_notification_recipients`
#75 - info - SHOW TABLES LIKE 'ac_subscriptions'
#76 - info - SHOW TABLES LIKE 'ac_subscriptions'
#77 - info - DROP TABLE `ac_subscriptions`
#78 - info - SHOW TABLES LIKE 'ac_comments'
#79 - info - SHOW TABLES LIKE 'ac_comments'
#80 - info - DROP TABLE `ac_comments`
#81 - info - SHOW TABLES LIKE 'ac_categories'
#82 - info - SHOW TABLES LIKE 'ac_categories'
#83 - info - DROP TABLE `ac_categories`
#84 - info - SHOW TABLES LIKE 'ac_labels'
#85 - info - SHOW TABLES LIKE 'ac_labels'
#86 - info - DROP TABLE `ac_labels`
#87 - info - SHOW TABLES LIKE 'ac_assignments'
#88 - info - SHOW TABLES LIKE 'ac_assignments'
#89 - info - DROP TABLE `ac_assignments`
#90 - info - SHOW TABLES LIKE 'ac_subtasks'
#91 - info - SHOW TABLES LIKE 'ac_subtasks'
#92 - info - DROP TABLE `ac_subtasks`
#93 - info - SHOW TABLES LIKE 'ac_favorites'
#94 - info - SHOW TABLES LIKE 'ac_favorites'
#95 - info - DROP TABLE `ac_favorites`
#96 - info - SHOW TABLES LIKE 'ac_code_snippets'
#97 - info - SHOW TABLES LIKE 'ac_code_snippets'
#98 - info - DROP TABLE `ac_code_snippets`
#99 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#100 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#101 - info - DROP TABLE `ac_payment_gateways`
#102 - info - SHOW TABLES LIKE 'ac_payments'
#103 - info - SHOW TABLES LIKE 'ac_payments'
#104 - info - DROP TABLE `ac_payments`
#105 - info - SHOW TABLES LIKE 'ac_reminders'
#106 - info - SHOW TABLES LIKE 'ac_reminders'
#107 - info - DROP TABLE `ac_reminders`
#108 - info - SHOW TABLES LIKE 'ac_reminder_users'
#109 - info - SHOW TABLES LIKE 'ac_reminder_users'
#110 - info - DROP TABLE `ac_reminder_users`
#111 - info - SHOW TABLES LIKE 'ac_custom_fields'
#112 - info - SHOW TABLES LIKE 'ac_custom_fields'
#113 - info - DROP TABLE `ac_custom_fields`
#114 - info - SHOW TABLES LIKE 'ac_calendars'
#115 - info - SHOW TABLES LIKE 'ac_calendars'
#116 - info - DROP TABLE `ac_calendars`
#117 - info - SHOW TABLES LIKE 'ac_calendar_events'
#118 - info - SHOW TABLES LIKE 'ac_calendar_events'
#119 - info - DROP TABLE `ac_calendar_events`
#120 - info - SHOW TABLES LIKE 'ac_calendar_users'
#121 - info - SHOW TABLES LIKE 'ac_calendar_users'
#122 - info - DROP TABLE `ac_calendar_users`
#123 - info - SHOW TABLES LIKE 'ac_data_sources'
#124 - info - SHOW TABLES LIKE 'ac_data_sources'
#125 - info - DROP TABLE `ac_data_sources`
#126 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#127 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#128 - info - DROP TABLE `ac_data_source_mappings`
#129 - info - SHOW TABLES LIKE 'ac_companies'
#130 - info - SHOW TABLES LIKE 'ac_companies'
#131 - info - DROP TABLE `ac_companies`
#132 - info - SHOW TABLES LIKE 'ac_projects'
#133 - info - SHOW TABLES LIKE 'ac_projects'
#134 - info - DROP TABLE `ac_projects`
#135 - info - SHOW TABLES LIKE 'ac_project_roles'
#136 - info - SHOW TABLES LIKE 'ac_project_roles'
#137 - info - DROP TABLE `ac_project_roles`
#138 - info - SHOW TABLES LIKE 'ac_project_users'
#139 - info - SHOW TABLES LIKE 'ac_project_users'
#140 - info - DROP TABLE `ac_project_users`
#141 - info - SHOW TABLES LIKE 'ac_project_requests'
#142 - info - SHOW TABLES LIKE 'ac_project_requests'
#143 - info - DROP TABLE `ac_project_requests`
#144 - info - SHOW TABLES LIKE 'ac_project_objects'
#145 - info - SHOW TABLES LIKE 'ac_project_objects'
#146 - info - DROP TABLE `ac_project_objects`
#147 - info - SHOW TABLES LIKE 'ac_project_templates'
#148 - info - SHOW TABLES LIKE 'ac_project_templates'
#149 - info - DROP TABLE `ac_project_templates`
#150 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#151 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#152 - info - DROP TABLE `ac_project_object_templates`
#153 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#154 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#155 - info - DROP TABLE `ac_shared_object_profiles`
#156 - info - SHOW TABLES LIKE 'ac_file_versions'
#157 - info - SHOW TABLES LIKE 'ac_file_versions'
#158 - info - DROP TABLE `ac_file_versions`
#159 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#160 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#161 - info - DROP TABLE `ac_text_document_versions`
#162 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#163 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#164 - info - DROP TABLE `ac_public_task_forms`
#165 - info - SHOW TABLES LIKE 'ac_related_tasks'
#166 - info - SHOW TABLES LIKE 'ac_related_tasks'
#167 - info - DROP TABLE `ac_related_tasks`
#168 - info - SHOW TABLES LIKE 'ac_task_segments'
#169 - info - SHOW TABLES LIKE 'ac_task_segments'
#170 - info - DROP TABLE `ac_task_segments`
#171 - info - SHOW TABLES LIKE 'ac_status_updates'
#172 - info - SHOW TABLES LIKE 'ac_status_updates'
#173 - info - DROP TABLE `ac_status_updates`
#174 - info - SHOW TABLES LIKE 'ac_documents'
#175 - info - SHOW TABLES LIKE 'ac_documents'
#176 - info - DROP TABLE `ac_documents`
#177 - info - SHOW TABLES LIKE 'ac_time_records'
#178 - info - SHOW TABLES LIKE 'ac_time_records'
#179 - info - DROP TABLE `ac_time_records`
#180 - info - SHOW TABLES LIKE 'ac_job_types'
#181 - info - SHOW TABLES LIKE 'ac_job_types'
#182 - info - DROP TABLE `ac_job_types`
#183 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#184 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#185 - info - DROP TABLE `ac_project_hourly_rates`
#186 - info - SHOW TABLES LIKE 'ac_expenses'
#187 - info - SHOW TABLES LIKE 'ac_expenses'
#188 - info - DROP TABLE `ac_expenses`
#189 - info - SHOW TABLES LIKE 'ac_expense_categories'
#190 - info - SHOW TABLES LIKE 'ac_expense_categories'
#191 - info - DROP TABLE `ac_expense_categories`
#192 - info - SHOW TABLES LIKE 'ac_estimates'
#193 - info - SHOW TABLES LIKE 'ac_estimates'
#194 - info - DROP TABLE `ac_estimates`
#195 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#196 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#197 - info - DROP TABLE `ac_invoice_objects`
#198 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#199 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#200 - info - DROP TABLE `ac_invoice_object_items`
#201 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#202 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#203 - info - DROP TABLE `ac_invoice_item_templates`
#204 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#205 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#206 - info - DROP TABLE `ac_invoice_note_templates`
#207 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#208 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#209 - info - DROP TABLE `ac_invoice_related_records`
#210 - info - SHOW TABLES LIKE 'ac_tax_rates'
#211 - info - SHOW TABLES LIKE 'ac_tax_rates'
#212 - info - DROP TABLE `ac_tax_rates`
#213 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#214 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#215 - info - DROP TABLE `ac_notebook_pages`
#216 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#217 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#218 - info - DROP TABLE `ac_notebook_page_versions`
#219 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#220 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#221 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#222 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#223 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#224 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#225 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#226 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#227 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#228 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#229 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#230 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#231 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#232 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#233 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#234 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#235 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#236 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#237 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#238 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#239 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#240 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#241 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#242 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#243 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#244 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#245 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#246 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#247 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#248 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#249 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#250 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#251 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#252 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#253 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#254 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#255 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#256 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#257 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#258 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#259 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#260 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#261 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#262 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#263 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#264 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#265 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#266 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#267 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#268 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#269 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#270 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#271 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#272 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#273 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#274 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#275 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#276 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#277 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#278 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#279 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#280 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#281 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#282 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#283 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#284 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#285 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#286 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#287 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#288 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#289 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#290 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#291 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#292 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#293 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#294 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#295 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#296 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#297 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#298 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#299 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#300 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#301 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#302 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#303 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#304 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#305 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#306 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#307 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#308 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#309 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#310 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#311 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#313 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#314 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#315 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#316 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#317 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#318 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#319 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#340 - info - BEGIN WORK
#341 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#342 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#343 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#344 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#345 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#346 - info - COMMIT
#347 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#348 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#349 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#350 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#374 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#375 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#376 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#377 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#378 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#379 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#380 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#381 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#382 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#383 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#384 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#385 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#386 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#387 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#388 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#390 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395006;')
#401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#413 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#414 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#415 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#417 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#420 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#421 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#422 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#423 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#424 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#425 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#426 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#429 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#444 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#445 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#446 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#447 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#448 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:06', '1')
#449 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#450 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#451 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#452 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#454 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#456 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#462 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#463 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#464 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#465 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#467 - info - BEGIN WORK
#468 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#469 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#470 - info - COMMIT
#471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#472 - info - BEGIN WORK
#473 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#474 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#475 - info - COMMIT
#476 - info - BEGIN WORK
#477 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#478 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#479 - info - COMMIT
#480 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#481 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#482 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#484 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#486 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#511 - info - SHOW TABLES LIKE 'ac_job_types'
#512 - info - SELECT COUNT(id) FROM ac_job_types
#513 - info - SHOW TABLES LIKE 'ac_tax_rates'
#514 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#515 - info - BEGIN WORK
#516 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#517 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#518 - info - COMMIT
#519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#520 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#521 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#522 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#523 - info - SELECT COUNT(name) FROM ac_modules
#524 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#525 - info - SELECT name FROM ac_modules
#526 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#527 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#528 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#529 - info - SELECT name, is_enabled FROM ac_modules WHERE name != 'system' ORDER BY position
#530 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#531 - info - BEGIN WORK
#532 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#533 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#534 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'File', '2013-12-18 19:30:07')
#535 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#536 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#537 - info - COMMIT
#538 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#539 - info - BEGIN WORK
#540 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#541 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'New name') AND (id <> '1')
#542 - info - UPDATE ac_test_data_objects SET name = 'New name', updated_on = '2013-12-18 19:30:07' WHERE id = '1'
#543 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#544 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#545 - info - COMMIT
#546 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#547 - info - BEGIN WORK
#548 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#549 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#550 - info - COMMIT
#551 - info - DROP TABLE IF EXISTS ac_test_data_objects
#552 - info - SHOW TABLES LIKE 'ac_config_options'
#553 - info - SHOW TABLES LIKE 'ac_config_options'
#554 - info - DROP TABLE `ac_config_options`
#555 - info - SHOW TABLES LIKE 'ac_config_option_values'
#556 - info - SHOW TABLES LIKE 'ac_config_option_values'
#557 - info - DROP TABLE `ac_config_option_values`
#558 - info - SHOW TABLES LIKE 'ac_modules'
#559 - info - SHOW TABLES LIKE 'ac_modules'
#560 - info - DROP TABLE `ac_modules`
#561 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#562 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#563 - info - DROP TABLE `ac_executed_model_migrations`
#564 - info - SHOW TABLES LIKE 'ac_update_history'
#565 - info - SHOW TABLES LIKE 'ac_update_history'
#566 - info - DROP TABLE `ac_update_history`
#567 - info - SHOW TABLES LIKE 'ac_access_logs'
#568 - info - SHOW TABLES LIKE 'ac_access_logs'
#569 - info - DROP TABLE `ac_access_logs`
#570 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#571 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#572 - info - DROP TABLE `ac_access_logs_archive`
#573 - info - SHOW TABLES LIKE 'ac_object_contexts'
#574 - info - SHOW TABLES LIKE 'ac_object_contexts'
#575 - info - DROP TABLE `ac_object_contexts`
#576 - info - SHOW TABLES LIKE 'ac_routing_cache'
#577 - info - SHOW TABLES LIKE 'ac_routing_cache'
#578 - info - DROP TABLE `ac_routing_cache`
#579 - info - SHOW TABLES LIKE 'ac_currencies'
#580 - info - SHOW TABLES LIKE 'ac_currencies'
#581 - info - DROP TABLE `ac_currencies`
#582 - info - SHOW TABLES LIKE 'ac_day_offs'
#583 - info - SHOW TABLES LIKE 'ac_day_offs'
#584 - info - DROP TABLE `ac_day_offs`
#585 - info - SHOW TABLES LIKE 'ac_languages'
#586 - info - SHOW TABLES LIKE 'ac_languages'
#587 - info - DROP TABLE `ac_languages`
#588 - info - SHOW TABLES LIKE 'ac_language_phrases'
#589 - info - SHOW TABLES LIKE 'ac_language_phrases'
#590 - info - DROP TABLE `ac_language_phrases`
#591 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#592 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#593 - info - DROP TABLE `ac_language_phrase_translations`
#594 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#595 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#596 - info - DROP TABLE `ac_api_client_subscriptions`
#597 - info - SHOW TABLES LIKE 'ac_users'
#598 - info - SHOW TABLES LIKE 'ac_users'
#599 - info - DROP TABLE `ac_users`
#600 - info - SHOW TABLES LIKE 'ac_user_addresses'
#601 - info - SHOW TABLES LIKE 'ac_user_addresses'
#602 - info - DROP TABLE `ac_user_addresses`
#603 - info - SHOW TABLES LIKE 'ac_user_sessions'
#604 - info - SHOW TABLES LIKE 'ac_user_sessions'
#605 - info - DROP TABLE `ac_user_sessions`
#606 - info - SHOW TABLES LIKE 'ac_security_logs'
#607 - info - SHOW TABLES LIKE 'ac_security_logs'
#608 - info - DROP TABLE `ac_security_logs`
#609 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#610 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#611 - info - DROP TABLE `ac_api_token_logs`
#612 - info - SHOW TABLES LIKE 'ac_activity_logs'
#613 - info - SHOW TABLES LIKE 'ac_activity_logs'
#614 - info - DROP TABLE `ac_activity_logs`
#615 - info - SHOW TABLES LIKE 'ac_data_filters'
#616 - info - SHOW TABLES LIKE 'ac_data_filters'
#617 - info - DROP TABLE `ac_data_filters`
#618 - info - SHOW TABLES LIKE 'ac_modification_logs'
#619 - info - SHOW TABLES LIKE 'ac_modification_logs'
#620 - info - DROP TABLE `ac_modification_logs`
#621 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#622 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#623 - info - DROP TABLE `ac_modification_log_values`
#624 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#625 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#626 - info - DROP TABLE `ac_mailing_activity_logs`
#627 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#628 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#629 - info - DROP TABLE `ac_outgoing_messages`
#630 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#631 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#632 - info - DROP TABLE `ac_incoming_mail_attachments`
#633 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#634 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#635 - info - DROP TABLE `ac_incoming_mail_filters`
#636 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#637 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#638 - info - DROP TABLE `ac_incoming_mailboxes`
#639 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#640 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#641 - info - DROP TABLE `ac_incoming_mails`
#642 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#643 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#644 - info - DROP TABLE `ac_homescreen_tabs`
#645 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#646 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#647 - info - DROP TABLE `ac_homescreen_widgets`
#648 - info - SHOW TABLES LIKE 'ac_announcements'
#649 - info - SHOW TABLES LIKE 'ac_announcements'
#650 - info - DROP TABLE `ac_announcements`
#651 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#652 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#653 - info - DROP TABLE `ac_announcement_target_ids`
#654 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#655 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#656 - info - DROP TABLE `ac_announcement_dismissals`
#657 - info - SHOW TABLES LIKE 'ac_attachments'
#658 - info - SHOW TABLES LIKE 'ac_attachments'
#659 - info - DROP TABLE `ac_attachments`
#660 - info - SHOW TABLES LIKE 'ac_notifications'
#661 - info - SHOW TABLES LIKE 'ac_notifications'
#662 - info - DROP TABLE `ac_notifications`
#663 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#664 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#665 - info - DROP TABLE `ac_notification_recipients`
#666 - info - SHOW TABLES LIKE 'ac_subscriptions'
#667 - info - SHOW TABLES LIKE 'ac_subscriptions'
#668 - info - DROP TABLE `ac_subscriptions`
#669 - info - SHOW TABLES LIKE 'ac_comments'
#670 - info - SHOW TABLES LIKE 'ac_comments'
#671 - info - DROP TABLE `ac_comments`
#672 - info - SHOW TABLES LIKE 'ac_categories'
#673 - info - SHOW TABLES LIKE 'ac_categories'
#674 - info - DROP TABLE `ac_categories`
#675 - info - SHOW TABLES LIKE 'ac_labels'
#676 - info - SHOW TABLES LIKE 'ac_labels'
#677 - info - DROP TABLE `ac_labels`
#678 - info - SHOW TABLES LIKE 'ac_assignments'
#679 - info - SHOW TABLES LIKE 'ac_assignments'
#680 - info - DROP TABLE `ac_assignments`
#681 - info - SHOW TABLES LIKE 'ac_subtasks'
#682 - info - SHOW TABLES LIKE 'ac_subtasks'
#683 - info - DROP TABLE `ac_subtasks`
#684 - info - SHOW TABLES LIKE 'ac_favorites'
#685 - info - SHOW TABLES LIKE 'ac_favorites'
#686 - info - DROP TABLE `ac_favorites`
#687 - info - SHOW TABLES LIKE 'ac_code_snippets'
#688 - info - SHOW TABLES LIKE 'ac_code_snippets'
#689 - info - DROP TABLE `ac_code_snippets`
#690 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#691 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#692 - info - DROP TABLE `ac_payment_gateways`
#693 - info - SHOW TABLES LIKE 'ac_payments'
#694 - info - SHOW TABLES LIKE 'ac_payments'
#695 - info - DROP TABLE `ac_payments`
#696 - info - SHOW TABLES LIKE 'ac_reminders'
#697 - info - SHOW TABLES LIKE 'ac_reminders'
#698 - info - DROP TABLE `ac_reminders`
#699 - info - SHOW TABLES LIKE 'ac_reminder_users'
#700 - info - SHOW TABLES LIKE 'ac_reminder_users'
#701 - info - DROP TABLE `ac_reminder_users`
#702 - info - SHOW TABLES LIKE 'ac_custom_fields'
#703 - info - SHOW TABLES LIKE 'ac_custom_fields'
#704 - info - DROP TABLE `ac_custom_fields`
#705 - info - SHOW TABLES LIKE 'ac_calendars'
#706 - info - SHOW TABLES LIKE 'ac_calendars'
#707 - info - DROP TABLE `ac_calendars`
#708 - info - SHOW TABLES LIKE 'ac_calendar_events'
#709 - info - SHOW TABLES LIKE 'ac_calendar_events'
#710 - info - DROP TABLE `ac_calendar_events`
#711 - info - SHOW TABLES LIKE 'ac_calendar_users'
#712 - info - SHOW TABLES LIKE 'ac_calendar_users'
#713 - info - DROP TABLE `ac_calendar_users`
#714 - info - SHOW TABLES LIKE 'ac_data_sources'
#715 - info - SHOW TABLES LIKE 'ac_data_sources'
#716 - info - DROP TABLE `ac_data_sources`
#717 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#718 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#719 - info - DROP TABLE `ac_data_source_mappings`
#720 - info - SHOW TABLES LIKE 'ac_companies'
#721 - info - SHOW TABLES LIKE 'ac_companies'
#722 - info - DROP TABLE `ac_companies`
#723 - info - SHOW TABLES LIKE 'ac_projects'
#724 - info - SHOW TABLES LIKE 'ac_projects'
#725 - info - DROP TABLE `ac_projects`
#726 - info - SHOW TABLES LIKE 'ac_project_roles'
#727 - info - SHOW TABLES LIKE 'ac_project_roles'
#728 - info - DROP TABLE `ac_project_roles`
#729 - info - SHOW TABLES LIKE 'ac_project_users'
#730 - info - SHOW TABLES LIKE 'ac_project_users'
#731 - info - DROP TABLE `ac_project_users`
#732 - info - SHOW TABLES LIKE 'ac_project_requests'
#733 - info - SHOW TABLES LIKE 'ac_project_requests'
#734 - info - DROP TABLE `ac_project_requests`
#735 - info - SHOW TABLES LIKE 'ac_project_objects'
#736 - info - SHOW TABLES LIKE 'ac_project_objects'
#737 - info - DROP TABLE `ac_project_objects`
#738 - info - SHOW TABLES LIKE 'ac_project_templates'
#739 - info - SHOW TABLES LIKE 'ac_project_templates'
#740 - info - DROP TABLE `ac_project_templates`
#741 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#742 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#743 - info - DROP TABLE `ac_project_object_templates`
#744 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#745 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#746 - info - DROP TABLE `ac_shared_object_profiles`
#747 - info - SHOW TABLES LIKE 'ac_file_versions'
#748 - info - SHOW TABLES LIKE 'ac_file_versions'
#749 - info - DROP TABLE `ac_file_versions`
#750 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#751 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#752 - info - DROP TABLE `ac_text_document_versions`
#753 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#754 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#755 - info - DROP TABLE `ac_public_task_forms`
#756 - info - SHOW TABLES LIKE 'ac_related_tasks'
#757 - info - SHOW TABLES LIKE 'ac_related_tasks'
#758 - info - DROP TABLE `ac_related_tasks`
#759 - info - SHOW TABLES LIKE 'ac_task_segments'
#760 - info - SHOW TABLES LIKE 'ac_task_segments'
#761 - info - DROP TABLE `ac_task_segments`
#762 - info - SHOW TABLES LIKE 'ac_status_updates'
#763 - info - SHOW TABLES LIKE 'ac_status_updates'
#764 - info - DROP TABLE `ac_status_updates`
#765 - info - SHOW TABLES LIKE 'ac_documents'
#766 - info - SHOW TABLES LIKE 'ac_documents'
#767 - info - DROP TABLE `ac_documents`
#768 - info - SHOW TABLES LIKE 'ac_time_records'
#769 - info - SHOW TABLES LIKE 'ac_time_records'
#770 - info - DROP TABLE `ac_time_records`
#771 - info - SHOW TABLES LIKE 'ac_job_types'
#772 - info - SHOW TABLES LIKE 'ac_job_types'
#773 - info - DROP TABLE `ac_job_types`
#774 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#775 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#776 - info - DROP TABLE `ac_project_hourly_rates`
#777 - info - SHOW TABLES LIKE 'ac_expenses'
#778 - info - SHOW TABLES LIKE 'ac_expenses'
#779 - info - DROP TABLE `ac_expenses`
#780 - info - SHOW TABLES LIKE 'ac_expense_categories'
#781 - info - SHOW TABLES LIKE 'ac_expense_categories'
#782 - info - DROP TABLE `ac_expense_categories`
#783 - info - SHOW TABLES LIKE 'ac_estimates'
#784 - info - SHOW TABLES LIKE 'ac_estimates'
#785 - info - DROP TABLE `ac_estimates`
#786 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#787 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#788 - info - DROP TABLE `ac_invoice_objects`
#789 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#790 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#791 - info - DROP TABLE `ac_invoice_object_items`
#792 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#793 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#794 - info - DROP TABLE `ac_invoice_item_templates`
#795 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#796 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#797 - info - DROP TABLE `ac_invoice_note_templates`
#798 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#799 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#800 - info - DROP TABLE `ac_invoice_related_records`
#801 - info - SHOW TABLES LIKE 'ac_tax_rates'
#802 - info - SHOW TABLES LIKE 'ac_tax_rates'
#803 - info - DROP TABLE `ac_tax_rates`
#804 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#805 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#806 - info - DROP TABLE `ac_notebook_pages`
#807 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#808 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#809 - info - DROP TABLE `ac_notebook_page_versions`
#810 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#811 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#812 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#813 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#814 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#815 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#816 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#817 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#818 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#819 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#820 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#821 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#822 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#823 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#824 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#825 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#826 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#827 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#828 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#829 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#830 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#831 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#832 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#833 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#834 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#835 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#836 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#837 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#838 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#839 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#840 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#841 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#842 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#843 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#844 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#845 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#846 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#847 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#848 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#849 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#850 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#851 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#852 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#853 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#854 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#855 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#856 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#857 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#858 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#859 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#860 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#861 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#862 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#863 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#864 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#865 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#866 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#867 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#868 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#869 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#870 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#871 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#872 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#873 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#874 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#875 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#876 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#877 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#878 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#879 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#880 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#881 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#882 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#883 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#884 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#885 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#886 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#887 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#888 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#889 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#890 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#891 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#892 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#893 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#894 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#895 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#896 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#897 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#898 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#899 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#900 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#901 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#902 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#903 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#904 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#905 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#906 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#907 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#908 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#909 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#910 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#911 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#912 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#913 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#914 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#915 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#916 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#917 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#918 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#919 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#920 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#921 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#922 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#923 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#924 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#925 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#926 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#931 - info - BEGIN WORK
#932 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#933 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#934 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#935 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#936 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#937 - info - COMMIT
#938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#952 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#953 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#954 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#955 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#956 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#957 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#958 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#963 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#964 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#965 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#966 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#967 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#968 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#969 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#970 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#971 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#972 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#973 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#974 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#975 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#976 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#977 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#978 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395007;')
#992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1004 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1005 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1006 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1007 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1008 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1009 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1010 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1011 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1012 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1013 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1014 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1015 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1016 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1017 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1018 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1019 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1020 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1035 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1036 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1037 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1038 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1039 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:07', '1')
#1040 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1041 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1042 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1043 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1044 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1045 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1046 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1047 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1048 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1049 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1050 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1051 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1052 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1053 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1054 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1055 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1056 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1058 - info - BEGIN WORK
#1059 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1060 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1061 - info - COMMIT
#1062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1063 - info - BEGIN WORK
#1064 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1065 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1066 - info - COMMIT
#1067 - info - BEGIN WORK
#1068 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1069 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1070 - info - COMMIT
#1071 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1072 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1073 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1082 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1083 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1084 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1085 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1086 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1087 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1090 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1091 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1093 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1094 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1095 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1096 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1098 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1100 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1101 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1102 - info - SHOW TABLES LIKE 'ac_job_types'
#1103 - info - SELECT COUNT(id) FROM ac_job_types
#1104 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1105 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1106 - info - BEGIN WORK
#1107 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1108 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1109 - info - COMMIT
#1110 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1111 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1112 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1113 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1114 - info - SELECT COUNT(name) FROM ac_modules
#1115 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1116 - info - SELECT name FROM ac_modules
#1117 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1118 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1119 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1120 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1121 - info - SELECT value FROM ac_config_options WHERE name = 'search_provider'
#1122 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1123 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1124 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1125 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1126 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1127 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1128 - info - BEGIN WORK
#1129 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1130 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1131 - info - UPDATE ac_config_options SET value = 'i:1387395007;' WHERE name = 'search_initialized_on'
#1132 - info - COMMIT
#1133 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1134 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1135 - info - SHOW TABLES LIKE 'ac_%'
#1136 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1137 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1138 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1139 - info - SHOW TABLES LIKE 'ac_%'
#1140 - info - DROP TABLE ac_test_table
#1141 - info - SHOW TABLES LIKE 'ac_config_options'
#1142 - info - SHOW TABLES LIKE 'ac_config_options'
#1143 - info - DROP TABLE `ac_config_options`
#1144 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1145 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1146 - info - DROP TABLE `ac_config_option_values`
#1147 - info - SHOW TABLES LIKE 'ac_modules'
#1148 - info - SHOW TABLES LIKE 'ac_modules'
#1149 - info - DROP TABLE `ac_modules`
#1150 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1151 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1152 - info - DROP TABLE `ac_executed_model_migrations`
#1153 - info - SHOW TABLES LIKE 'ac_update_history'
#1154 - info - SHOW TABLES LIKE 'ac_update_history'
#1155 - info - DROP TABLE `ac_update_history`
#1156 - info - SHOW TABLES LIKE 'ac_access_logs'
#1157 - info - SHOW TABLES LIKE 'ac_access_logs'
#1158 - info - DROP TABLE `ac_access_logs`
#1159 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1160 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1161 - info - DROP TABLE `ac_access_logs_archive`
#1162 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1163 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1164 - info - DROP TABLE `ac_object_contexts`
#1165 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1166 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1167 - info - DROP TABLE `ac_routing_cache`
#1168 - info - SHOW TABLES LIKE 'ac_currencies'
#1169 - info - SHOW TABLES LIKE 'ac_currencies'
#1170 - info - DROP TABLE `ac_currencies`
#1171 - info - SHOW TABLES LIKE 'ac_day_offs'
#1172 - info - SHOW TABLES LIKE 'ac_day_offs'
#1173 - info - DROP TABLE `ac_day_offs`
#1174 - info - SHOW TABLES LIKE 'ac_languages'
#1175 - info - SHOW TABLES LIKE 'ac_languages'
#1176 - info - DROP TABLE `ac_languages`
#1177 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1178 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1179 - info - DROP TABLE `ac_language_phrases`
#1180 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1181 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1182 - info - DROP TABLE `ac_language_phrase_translations`
#1183 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1184 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1185 - info - DROP TABLE `ac_api_client_subscriptions`
#1186 - info - SHOW TABLES LIKE 'ac_users'
#1187 - info - SHOW TABLES LIKE 'ac_users'
#1188 - info - DROP TABLE `ac_users`
#1189 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1190 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1191 - info - DROP TABLE `ac_user_addresses`
#1192 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1193 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1194 - info - DROP TABLE `ac_user_sessions`
#1195 - info - SHOW TABLES LIKE 'ac_security_logs'
#1196 - info - SHOW TABLES LIKE 'ac_security_logs'
#1197 - info - DROP TABLE `ac_security_logs`
#1198 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1199 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1200 - info - DROP TABLE `ac_api_token_logs`
#1201 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1202 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1203 - info - DROP TABLE `ac_activity_logs`
#1204 - info - SHOW TABLES LIKE 'ac_data_filters'
#1205 - info - SHOW TABLES LIKE 'ac_data_filters'
#1206 - info - DROP TABLE `ac_data_filters`
#1207 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1208 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1209 - info - DROP TABLE `ac_modification_logs`
#1210 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1211 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1212 - info - DROP TABLE `ac_modification_log_values`
#1213 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1214 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1215 - info - DROP TABLE `ac_mailing_activity_logs`
#1216 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1217 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1218 - info - DROP TABLE `ac_outgoing_messages`
#1219 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1220 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1221 - info - DROP TABLE `ac_incoming_mail_attachments`
#1222 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1223 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1224 - info - DROP TABLE `ac_incoming_mail_filters`
#1225 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1226 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1227 - info - DROP TABLE `ac_incoming_mailboxes`
#1228 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1229 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1230 - info - DROP TABLE `ac_incoming_mails`
#1231 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1232 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1233 - info - DROP TABLE `ac_homescreen_tabs`
#1234 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1235 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1236 - info - DROP TABLE `ac_homescreen_widgets`
#1237 - info - SHOW TABLES LIKE 'ac_announcements'
#1238 - info - SHOW TABLES LIKE 'ac_announcements'
#1239 - info - DROP TABLE `ac_announcements`
#1240 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1241 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1242 - info - DROP TABLE `ac_announcement_target_ids`
#1243 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1244 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1245 - info - DROP TABLE `ac_announcement_dismissals`
#1246 - info - SHOW TABLES LIKE 'ac_attachments'
#1247 - info - SHOW TABLES LIKE 'ac_attachments'
#1248 - info - DROP TABLE `ac_attachments`
#1249 - info - SHOW TABLES LIKE 'ac_notifications'
#1250 - info - SHOW TABLES LIKE 'ac_notifications'
#1251 - info - DROP TABLE `ac_notifications`
#1252 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1253 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1254 - info - DROP TABLE `ac_notification_recipients`
#1255 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1256 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1257 - info - DROP TABLE `ac_subscriptions`
#1258 - info - SHOW TABLES LIKE 'ac_comments'
#1259 - info - SHOW TABLES LIKE 'ac_comments'
#1260 - info - DROP TABLE `ac_comments`
#1261 - info - SHOW TABLES LIKE 'ac_categories'
#1262 - info - SHOW TABLES LIKE 'ac_categories'
#1263 - info - DROP TABLE `ac_categories`
#1264 - info - SHOW TABLES LIKE 'ac_labels'
#1265 - info - SHOW TABLES LIKE 'ac_labels'
#1266 - info - DROP TABLE `ac_labels`
#1267 - info - SHOW TABLES LIKE 'ac_assignments'
#1268 - info - SHOW TABLES LIKE 'ac_assignments'
#1269 - info - DROP TABLE `ac_assignments`
#1270 - info - SHOW TABLES LIKE 'ac_subtasks'
#1271 - info - SHOW TABLES LIKE 'ac_subtasks'
#1272 - info - DROP TABLE `ac_subtasks`
#1273 - info - SHOW TABLES LIKE 'ac_favorites'
#1274 - info - SHOW TABLES LIKE 'ac_favorites'
#1275 - info - DROP TABLE `ac_favorites`
#1276 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1277 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1278 - info - DROP TABLE `ac_code_snippets`
#1279 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1280 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1281 - info - DROP TABLE `ac_payment_gateways`
#1282 - info - SHOW TABLES LIKE 'ac_payments'
#1283 - info - SHOW TABLES LIKE 'ac_payments'
#1284 - info - DROP TABLE `ac_payments`
#1285 - info - SHOW TABLES LIKE 'ac_reminders'
#1286 - info - SHOW TABLES LIKE 'ac_reminders'
#1287 - info - DROP TABLE `ac_reminders`
#1288 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1289 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1290 - info - DROP TABLE `ac_reminder_users`
#1291 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1292 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1293 - info - DROP TABLE `ac_custom_fields`
#1294 - info - SHOW TABLES LIKE 'ac_calendars'
#1295 - info - SHOW TABLES LIKE 'ac_calendars'
#1296 - info - DROP TABLE `ac_calendars`
#1297 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1298 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1299 - info - DROP TABLE `ac_calendar_events`
#1300 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1301 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1302 - info - DROP TABLE `ac_calendar_users`
#1303 - info - SHOW TABLES LIKE 'ac_data_sources'
#1304 - info - SHOW TABLES LIKE 'ac_data_sources'
#1305 - info - DROP TABLE `ac_data_sources`
#1306 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1307 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1308 - info - DROP TABLE `ac_data_source_mappings`
#1309 - info - SHOW TABLES LIKE 'ac_companies'
#1310 - info - SHOW TABLES LIKE 'ac_companies'
#1311 - info - DROP TABLE `ac_companies`
#1312 - info - SHOW TABLES LIKE 'ac_projects'
#1313 - info - SHOW TABLES LIKE 'ac_projects'
#1314 - info - DROP TABLE `ac_projects`
#1315 - info - SHOW TABLES LIKE 'ac_project_roles'
#1316 - info - SHOW TABLES LIKE 'ac_project_roles'
#1317 - info - DROP TABLE `ac_project_roles`
#1318 - info - SHOW TABLES LIKE 'ac_project_users'
#1319 - info - SHOW TABLES LIKE 'ac_project_users'
#1320 - info - DROP TABLE `ac_project_users`
#1321 - info - SHOW TABLES LIKE 'ac_project_requests'
#1322 - info - SHOW TABLES LIKE 'ac_project_requests'
#1323 - info - DROP TABLE `ac_project_requests`
#1324 - info - SHOW TABLES LIKE 'ac_project_objects'
#1325 - info - SHOW TABLES LIKE 'ac_project_objects'
#1326 - info - DROP TABLE `ac_project_objects`
#1327 - info - SHOW TABLES LIKE 'ac_project_templates'
#1328 - info - SHOW TABLES LIKE 'ac_project_templates'
#1329 - info - DROP TABLE `ac_project_templates`
#1330 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1331 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1332 - info - DROP TABLE `ac_project_object_templates`
#1333 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1334 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1335 - info - DROP TABLE `ac_shared_object_profiles`
#1336 - info - SHOW TABLES LIKE 'ac_file_versions'
#1337 - info - SHOW TABLES LIKE 'ac_file_versions'
#1338 - info - DROP TABLE `ac_file_versions`
#1339 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1340 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1341 - info - DROP TABLE `ac_text_document_versions`
#1342 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1343 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1344 - info - DROP TABLE `ac_public_task_forms`
#1345 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1346 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1347 - info - DROP TABLE `ac_related_tasks`
#1348 - info - SHOW TABLES LIKE 'ac_task_segments'
#1349 - info - SHOW TABLES LIKE 'ac_task_segments'
#1350 - info - DROP TABLE `ac_task_segments`
#1351 - info - SHOW TABLES LIKE 'ac_status_updates'
#1352 - info - SHOW TABLES LIKE 'ac_status_updates'
#1353 - info - DROP TABLE `ac_status_updates`
#1354 - info - SHOW TABLES LIKE 'ac_documents'
#1355 - info - SHOW TABLES LIKE 'ac_documents'
#1356 - info - DROP TABLE `ac_documents`
#1357 - info - SHOW TABLES LIKE 'ac_time_records'
#1358 - info - SHOW TABLES LIKE 'ac_time_records'
#1359 - info - DROP TABLE `ac_time_records`
#1360 - info - SHOW TABLES LIKE 'ac_job_types'
#1361 - info - SHOW TABLES LIKE 'ac_job_types'
#1362 - info - DROP TABLE `ac_job_types`
#1363 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1364 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1365 - info - DROP TABLE `ac_project_hourly_rates`
#1366 - info - SHOW TABLES LIKE 'ac_expenses'
#1367 - info - SHOW TABLES LIKE 'ac_expenses'
#1368 - info - DROP TABLE `ac_expenses`
#1369 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1370 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1371 - info - DROP TABLE `ac_expense_categories`
#1372 - info - SHOW TABLES LIKE 'ac_estimates'
#1373 - info - SHOW TABLES LIKE 'ac_estimates'
#1374 - info - DROP TABLE `ac_estimates`
#1375 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1376 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1377 - info - DROP TABLE `ac_invoice_objects`
#1378 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1379 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1380 - info - DROP TABLE `ac_invoice_object_items`
#1381 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1382 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1383 - info - DROP TABLE `ac_invoice_item_templates`
#1384 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1385 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1386 - info - DROP TABLE `ac_invoice_note_templates`
#1387 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1388 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1389 - info - DROP TABLE `ac_invoice_related_records`
#1390 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1391 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1392 - info - DROP TABLE `ac_tax_rates`
#1393 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1394 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1395 - info - DROP TABLE `ac_notebook_pages`
#1396 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1397 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1398 - info - DROP TABLE `ac_notebook_page_versions`
#1399 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1400 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1401 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1402 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1403 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1404 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1405 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1406 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1407 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1408 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1409 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1410 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1411 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1412 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1413 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1414 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1415 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1416 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1417 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1418 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1419 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1420 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1421 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1422 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1423 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1424 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1425 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1426 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1427 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1428 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1429 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1430 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1431 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1432 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1433 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1434 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1435 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1436 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1437 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1438 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1439 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1440 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1441 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1442 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1443 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1444 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1445 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1446 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1447 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1448 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1449 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1450 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1451 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1452 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1453 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1454 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1455 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1456 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1457 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1458 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1459 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1460 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1461 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1462 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1463 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1464 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1465 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1466 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1467 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1468 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1469 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1470 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1471 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1472 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1473 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1474 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1475 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1476 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1477 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1478 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1479 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1480 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1481 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1482 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1483 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1484 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#1486 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#1487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#1488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#1489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#1490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#1491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#1492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#1493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#1494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#1495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#1496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#1497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#1498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#1499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#1500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#1501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#1502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#1503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#1504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#1505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#1506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1520 - info - BEGIN WORK
#1521 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1522 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1523 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1524 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1525 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1526 - info - COMMIT
#1527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1554 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1555 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1556 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1557 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1558 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1559 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1560 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1561 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1562 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1563 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1564 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1565 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1566 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1567 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1568 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1571 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1572 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395008;')
#1581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1593 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1594 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1595 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1596 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1597 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1602 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1604 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1605 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1606 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1607 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1608 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1609 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1610 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1612 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1613 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1614 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1615 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1616 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1624 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1625 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1626 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1627 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1628 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:08', '1')
#1629 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1630 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1631 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1632 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1634 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1636 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1642 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1643 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1644 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1645 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1647 - info - BEGIN WORK
#1648 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1649 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1650 - info - COMMIT
#1651 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1652 - info - BEGIN WORK
#1653 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1654 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1655 - info - COMMIT
#1656 - info - BEGIN WORK
#1657 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1658 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1659 - info - COMMIT
#1660 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1661 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1662 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1666 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1667 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1668 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1669 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1670 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1691 - info - SHOW TABLES LIKE 'ac_job_types'
#1692 - info - SELECT COUNT(id) FROM ac_job_types
#1693 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1694 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1695 - info - BEGIN WORK
#1696 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1697 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1698 - info - COMMIT
#1699 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1700 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1701 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1702 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1703 - info - SELECT COUNT(name) FROM ac_modules
#1704 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1705 - info - SELECT name FROM ac_modules
#1706 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1707 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1708 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1709 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1710 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1711 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1712 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1713 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1714 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1715 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1716 - info - BEGIN WORK
#1717 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1718 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1719 - info - UPDATE ac_config_options SET value = 'i:1387395008;' WHERE name = 'search_initialized_on'
#1720 - info - COMMIT
#1721 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1722 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1723 - info - SELECT COUNT(*) FROM ac_test_table
#1724 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1725 - info - DROP TABLE `ac_test_table_migrate_test`
#1726 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1727 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1728 - info - INSERT INTO ac_test_table_migrate_test (name) VALUES ('Test Migration')
#1729 - info - SHOW TABLES LIKE 'ac_test_table_zYftnTGyYn'
#1730 - info - RENAME TABLE ac_test_table TO ac_test_table_zYftnTGyYn, ac_test_table_migrate_test TO ac_test_table
#1731 - info - DROP TABLE ac_test_table_zYftnTGyYn
#1732 - info - SELECT COUNT(*) FROM ac_test_table
#1733 - info - DROP TABLE ac_test_table
#1734 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_date' AND parent_type = 'User' AND parent_id = '1'
#1735 - info - SELECT value FROM ac_config_options WHERE name = 'format_date'
#1736 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_timezone' AND parent_type = 'User' AND parent_id = '1'
#1737 - info - SELECT value FROM ac_config_options WHERE name = 'time_timezone'
#1738 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_dst' AND parent_type = 'User' AND parent_id = '1'
#1739 - info - SELECT value FROM ac_config_options WHERE name = 'time_dst'
#1740 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_time' AND parent_type = 'User' AND parent_id = '1'
#1741 - info - SELECT value FROM ac_config_options WHERE name = 'format_time'
#1742 - info - CREATE TABLE ac_test_db_result_to_json (
        id int(11) NOT NULL auto_increment,
        string_field varchar(255) default NULL,
        int_field int(11) default NULL,
        other float default NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
#1743 - info - SHOW TABLES LIKE 'ac_%'
#1744 - info - INSERT INTO ac_test_db_result_to_json (id,string_field,int_field,other) VALUES (1,'A',5,3.2), (2,'Another record',18,NULL);
#1745 - info - SELECT * FROM ac_test_db_result_to_json
#1746 - info - DROP TABLE ac_test_db_result_to_json
#1747 - info - SHOW TABLES LIKE 'ac_%'
#1748 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1749 - info - BEGIN WORK
#1750 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1751 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 1'
#1752 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 1', 'TestDataObject', '2013-12-18 19:30:08')
#1753 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1754 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1755 - info - COMMIT
#1756 - info - BEGIN WORK
#1757 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1758 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 2'
#1759 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 2', 'TestDataObject', '2013-12-18 19:30:08')
#1760 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1761 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1762 - info - COMMIT
#1763 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1764 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1765 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1766 - info - BEGIN WORK
#1767 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1768 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#1769 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'TestDataObject', '2013-12-18 19:30:08')
#1770 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1771 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1772 - info - COMMIT
#1773 - info - BEGIN WORK
#1774 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1775 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1776 - info - COMMIT
#1777 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1778 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1779 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1780 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1781 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object name', 'Object description')
#1782 - info - SELECT id, name, description, type, created_on, updated_on FROM ac_test_data_objects WHERE id = '1'  LIMIT 0, 1
#1783 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1784 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1785 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object #1', 'Description #1'), ('Object #2', 'Description #2'), ('Object #3', 'TestDataObject')
#1786 - info - SELECT * FROM ac_test_data_objects
#1787 - info - SELECT * FROM ac_test_data_objects ORDER BY name
#1788 - info - SELECT * FROM ac_test_data_objects WHERE name = 'Object #3'
#1789 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1790 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1791 - info - BEGIN WORK
#1792 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1793 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1794 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 19:30:08')
#1795 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1796 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1797 - info - COMMIT
#1798 - info - BEGIN WORK
#1799 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1800 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1801 - info - COMMIT
#1802 - info - BEGIN WORK
#1803 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1804 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1805 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on, id) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 19:30:08', '1')
#1806 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1807 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1808 - info - COMMIT
#1809 - info - SELECT * FROM ac_test_data_objects WHERE id = '1'    LIMIT 0, 1
#1810 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1811 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1812 - info - BEGIN WORK
#1813 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1814 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1815 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('First name', 'TestDataObject', '2013-12-18 19:30:08')
#1816 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1817 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1818 - info - COMMIT
#1819 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1820 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1821 - info - BEGIN WORK
#1822 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1823 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New name'
#1824 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New name', 'TestDataObject', '2013-12-18 19:30:08')
#1825 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1826 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1827 - info - COMMIT
#1828 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1829 - info - BEGIN WORK
#1830 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1831 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'Something something') AND (id <> '1')
#1832 - info - UPDATE ac_test_data_objects SET name = 'Something something', updated_on = '2013-12-18 19:30:08' WHERE id = '1'
#1833 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1834 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1835 - info - COMMIT
#1836 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1837 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1838 - info - BEGIN WORK
#1839 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1840 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'My name'
#1841 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('My name', 'TestDataObject', '2013-12-18 19:30:08')
#1842 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1843 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1844 - info - COMMIT
#1845 - info - BEGIN WORK
#1846 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1847 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'My name') AND (id <> '1')
#1848 - info - SELECT count(*) AS 'row_count' FROM ac_test_data_objects WHERE id = '1'
#1849 - info - UPDATE ac_test_data_objects SET id = '12', updated_on = '2013-12-18 19:30:08' WHERE id = '1'
#1850 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1851 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1852 - info - COMMIT
#1853 - info - SELECT * FROM ac_test_data_objects WHERE id = '12' LIMIT 0, 1
#1854 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1855 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1856 - info - BEGIN WORK
#1857 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1858 - info - ROLLBACK
#1859 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#1860 - info - BEGIN WORK
#1861 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1862 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#1863 - info - INSERT INTO ac_test_data_objects (type, created_on, name) VALUES ('TestDataObject', '2013-12-18 19:30:08', 'Unique name')
#1864 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1865 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1866 - info - COMMIT
#1867 - info - BEGIN WORK
#1868 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1869 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#1870 - info - ROLLBACK
#1871 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#1872 - info - BEGIN WORK
#1873 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1874 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New, better name'
#1875 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New, better name', 'TestDataObject', '2013-12-18 19:30:08')
#1876 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1877 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1878 - info - COMMIT
#1879 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1880 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1881 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1882 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1883 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1884 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1885 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1886 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1887 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1888 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1889 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1890 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1891 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1892 - info - SHOW TABLES LIKE 'ac_config_options'
#1893 - info - SHOW TABLES LIKE 'ac_config_options'
#1894 - info - DROP TABLE `ac_config_options`
#1895 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1896 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1897 - info - DROP TABLE `ac_config_option_values`
#1898 - info - SHOW TABLES LIKE 'ac_modules'
#1899 - info - SHOW TABLES LIKE 'ac_modules'
#1900 - info - DROP TABLE `ac_modules`
#1901 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1902 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1903 - info - DROP TABLE `ac_executed_model_migrations`
#1904 - info - SHOW TABLES LIKE 'ac_update_history'
#1905 - info - SHOW TABLES LIKE 'ac_update_history'
#1906 - info - DROP TABLE `ac_update_history`
#1907 - info - SHOW TABLES LIKE 'ac_access_logs'
#1908 - info - SHOW TABLES LIKE 'ac_access_logs'
#1909 - info - DROP TABLE `ac_access_logs`
#1910 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1911 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1912 - info - DROP TABLE `ac_access_logs_archive`
#1913 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1914 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1915 - info - DROP TABLE `ac_object_contexts`
#1916 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1917 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1918 - info - DROP TABLE `ac_routing_cache`
#1919 - info - SHOW TABLES LIKE 'ac_currencies'
#1920 - info - SHOW TABLES LIKE 'ac_currencies'
#1921 - info - DROP TABLE `ac_currencies`
#1922 - info - SHOW TABLES LIKE 'ac_day_offs'
#1923 - info - SHOW TABLES LIKE 'ac_day_offs'
#1924 - info - DROP TABLE `ac_day_offs`
#1925 - info - SHOW TABLES LIKE 'ac_languages'
#1926 - info - SHOW TABLES LIKE 'ac_languages'
#1927 - info - DROP TABLE `ac_languages`
#1928 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1929 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1930 - info - DROP TABLE `ac_language_phrases`
#1931 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1932 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1933 - info - DROP TABLE `ac_language_phrase_translations`
#1934 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1935 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1936 - info - DROP TABLE `ac_api_client_subscriptions`
#1937 - info - SHOW TABLES LIKE 'ac_users'
#1938 - info - SHOW TABLES LIKE 'ac_users'
#1939 - info - DROP TABLE `ac_users`
#1940 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1941 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1942 - info - DROP TABLE `ac_user_addresses`
#1943 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1944 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1945 - info - DROP TABLE `ac_user_sessions`
#1946 - info - SHOW TABLES LIKE 'ac_security_logs'
#1947 - info - SHOW TABLES LIKE 'ac_security_logs'
#1948 - info - DROP TABLE `ac_security_logs`
#1949 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1950 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1951 - info - DROP TABLE `ac_api_token_logs`
#1952 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1953 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1954 - info - DROP TABLE `ac_activity_logs`
#1955 - info - SHOW TABLES LIKE 'ac_data_filters'
#1956 - info - SHOW TABLES LIKE 'ac_data_filters'
#1957 - info - DROP TABLE `ac_data_filters`
#1958 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1959 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1960 - info - DROP TABLE `ac_modification_logs`
#1961 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1962 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1963 - info - DROP TABLE `ac_modification_log_values`
#1964 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1965 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1966 - info - DROP TABLE `ac_mailing_activity_logs`
#1967 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1968 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1969 - info - DROP TABLE `ac_outgoing_messages`
#1970 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1971 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1972 - info - DROP TABLE `ac_incoming_mail_attachments`
#1973 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1974 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1975 - info - DROP TABLE `ac_incoming_mail_filters`
#1976 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1977 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1978 - info - DROP TABLE `ac_incoming_mailboxes`
#1979 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1980 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1981 - info - DROP TABLE `ac_incoming_mails`
#1982 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1983 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1984 - info - DROP TABLE `ac_homescreen_tabs`
#1985 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1986 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1987 - info - DROP TABLE `ac_homescreen_widgets`
#1988 - info - SHOW TABLES LIKE 'ac_announcements'
#1989 - info - SHOW TABLES LIKE 'ac_announcements'
#1990 - info - DROP TABLE `ac_announcements`
#1991 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1992 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1993 - info - DROP TABLE `ac_announcement_target_ids`
#1994 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1995 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1996 - info - DROP TABLE `ac_announcement_dismissals`
#1997 - info - SHOW TABLES LIKE 'ac_attachments'
#1998 - info - SHOW TABLES LIKE 'ac_attachments'
#1999 - info - DROP TABLE `ac_attachments`
#2000 - info - SHOW TABLES LIKE 'ac_notifications'
#2001 - info - SHOW TABLES LIKE 'ac_notifications'
#2002 - info - DROP TABLE `ac_notifications`
#2003 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2004 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2005 - info - DROP TABLE `ac_notification_recipients`
#2006 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2007 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2008 - info - DROP TABLE `ac_subscriptions`
#2009 - info - SHOW TABLES LIKE 'ac_comments'
#2010 - info - SHOW TABLES LIKE 'ac_comments'
#2011 - info - DROP TABLE `ac_comments`
#2012 - info - SHOW TABLES LIKE 'ac_categories'
#2013 - info - SHOW TABLES LIKE 'ac_categories'
#2014 - info - DROP TABLE `ac_categories`
#2015 - info - SHOW TABLES LIKE 'ac_labels'
#2016 - info - SHOW TABLES LIKE 'ac_labels'
#2017 - info - DROP TABLE `ac_labels`
#2018 - info - SHOW TABLES LIKE 'ac_assignments'
#2019 - info - SHOW TABLES LIKE 'ac_assignments'
#2020 - info - DROP TABLE `ac_assignments`
#2021 - info - SHOW TABLES LIKE 'ac_subtasks'
#2022 - info - SHOW TABLES LIKE 'ac_subtasks'
#2023 - info - DROP TABLE `ac_subtasks`
#2024 - info - SHOW TABLES LIKE 'ac_favorites'
#2025 - info - SHOW TABLES LIKE 'ac_favorites'
#2026 - info - DROP TABLE `ac_favorites`
#2027 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2028 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2029 - info - DROP TABLE `ac_code_snippets`
#2030 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2031 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2032 - info - DROP TABLE `ac_payment_gateways`
#2033 - info - SHOW TABLES LIKE 'ac_payments'
#2034 - info - SHOW TABLES LIKE 'ac_payments'
#2035 - info - DROP TABLE `ac_payments`
#2036 - info - SHOW TABLES LIKE 'ac_reminders'
#2037 - info - SHOW TABLES LIKE 'ac_reminders'
#2038 - info - DROP TABLE `ac_reminders`
#2039 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2040 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2041 - info - DROP TABLE `ac_reminder_users`
#2042 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2043 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2044 - info - DROP TABLE `ac_custom_fields`
#2045 - info - SHOW TABLES LIKE 'ac_calendars'
#2046 - info - SHOW TABLES LIKE 'ac_calendars'
#2047 - info - DROP TABLE `ac_calendars`
#2048 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2049 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2050 - info - DROP TABLE `ac_calendar_events`
#2051 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2052 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2053 - info - DROP TABLE `ac_calendar_users`
#2054 - info - SHOW TABLES LIKE 'ac_data_sources'
#2055 - info - SHOW TABLES LIKE 'ac_data_sources'
#2056 - info - DROP TABLE `ac_data_sources`
#2057 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2058 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2059 - info - DROP TABLE `ac_data_source_mappings`
#2060 - info - SHOW TABLES LIKE 'ac_companies'
#2061 - info - SHOW TABLES LIKE 'ac_companies'
#2062 - info - DROP TABLE `ac_companies`
#2063 - info - SHOW TABLES LIKE 'ac_projects'
#2064 - info - SHOW TABLES LIKE 'ac_projects'
#2065 - info - DROP TABLE `ac_projects`
#2066 - info - SHOW TABLES LIKE 'ac_project_roles'
#2067 - info - SHOW TABLES LIKE 'ac_project_roles'
#2068 - info - DROP TABLE `ac_project_roles`
#2069 - info - SHOW TABLES LIKE 'ac_project_users'
#2070 - info - SHOW TABLES LIKE 'ac_project_users'
#2071 - info - DROP TABLE `ac_project_users`
#2072 - info - SHOW TABLES LIKE 'ac_project_requests'
#2073 - info - SHOW TABLES LIKE 'ac_project_requests'
#2074 - info - DROP TABLE `ac_project_requests`
#2075 - info - SHOW TABLES LIKE 'ac_project_objects'
#2076 - info - SHOW TABLES LIKE 'ac_project_objects'
#2077 - info - DROP TABLE `ac_project_objects`
#2078 - info - SHOW TABLES LIKE 'ac_project_templates'
#2079 - info - SHOW TABLES LIKE 'ac_project_templates'
#2080 - info - DROP TABLE `ac_project_templates`
#2081 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2082 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2083 - info - DROP TABLE `ac_project_object_templates`
#2084 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2085 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2086 - info - DROP TABLE `ac_shared_object_profiles`
#2087 - info - SHOW TABLES LIKE 'ac_file_versions'
#2088 - info - SHOW TABLES LIKE 'ac_file_versions'
#2089 - info - DROP TABLE `ac_file_versions`
#2090 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2091 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2092 - info - DROP TABLE `ac_text_document_versions`
#2093 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2094 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2095 - info - DROP TABLE `ac_public_task_forms`
#2096 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2097 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2098 - info - DROP TABLE `ac_related_tasks`
#2099 - info - SHOW TABLES LIKE 'ac_task_segments'
#2100 - info - SHOW TABLES LIKE 'ac_task_segments'
#2101 - info - DROP TABLE `ac_task_segments`
#2102 - info - SHOW TABLES LIKE 'ac_status_updates'
#2103 - info - SHOW TABLES LIKE 'ac_status_updates'
#2104 - info - DROP TABLE `ac_status_updates`
#2105 - info - SHOW TABLES LIKE 'ac_documents'
#2106 - info - SHOW TABLES LIKE 'ac_documents'
#2107 - info - DROP TABLE `ac_documents`
#2108 - info - SHOW TABLES LIKE 'ac_time_records'
#2109 - info - SHOW TABLES LIKE 'ac_time_records'
#2110 - info - DROP TABLE `ac_time_records`
#2111 - info - SHOW TABLES LIKE 'ac_job_types'
#2112 - info - SHOW TABLES LIKE 'ac_job_types'
#2113 - info - DROP TABLE `ac_job_types`
#2114 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2115 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2116 - info - DROP TABLE `ac_project_hourly_rates`
#2117 - info - SHOW TABLES LIKE 'ac_expenses'
#2118 - info - SHOW TABLES LIKE 'ac_expenses'
#2119 - info - DROP TABLE `ac_expenses`
#2120 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2121 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2122 - info - DROP TABLE `ac_expense_categories`
#2123 - info - SHOW TABLES LIKE 'ac_estimates'
#2124 - info - SHOW TABLES LIKE 'ac_estimates'
#2125 - info - DROP TABLE `ac_estimates`
#2126 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2127 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2128 - info - DROP TABLE `ac_invoice_objects`
#2129 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2130 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2131 - info - DROP TABLE `ac_invoice_object_items`
#2132 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2133 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2134 - info - DROP TABLE `ac_invoice_item_templates`
#2135 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2136 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2137 - info - DROP TABLE `ac_invoice_note_templates`
#2138 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2139 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2140 - info - DROP TABLE `ac_invoice_related_records`
#2141 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2142 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2143 - info - DROP TABLE `ac_tax_rates`
#2144 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2145 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2146 - info - DROP TABLE `ac_notebook_pages`
#2147 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2148 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2149 - info - DROP TABLE `ac_notebook_page_versions`
#2150 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2151 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2152 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2153 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2154 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2155 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2156 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2157 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2158 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2159 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2160 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2161 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2162 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2163 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2164 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2165 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2166 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2167 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2168 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2169 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2170 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2171 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2172 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2173 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2174 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2175 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2176 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2177 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2178 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2179 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2180 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2181 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2182 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2183 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2184 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2185 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2186 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2187 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2188 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2189 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2190 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2191 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2192 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2193 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2194 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2195 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2196 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2197 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2198 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2199 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2200 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2201 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2202 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2203 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2204 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2205 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2206 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2207 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2208 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2209 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2210 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2211 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2212 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2213 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2214 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2215 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2216 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2217 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2218 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2219 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2220 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2221 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2222 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2223 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2224 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2225 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2226 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2227 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2228 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2229 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2230 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2231 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2232 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2233 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2234 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2235 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2236 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2237 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2238 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2239 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2240 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2241 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2242 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2243 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2244 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2245 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2246 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2247 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2248 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2249 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2250 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2251 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2252 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2253 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2254 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2255 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2256 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2257 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2258 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2259 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2260 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2261 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2262 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2263 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2264 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2265 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2266 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2267 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2268 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2269 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2270 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2271 - info - BEGIN WORK
#2272 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2273 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2274 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2275 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2276 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2277 - info - COMMIT
#2278 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2279 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2280 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2281 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2282 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2283 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2284 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2285 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2286 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2287 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2288 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2289 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2290 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2291 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2292 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2293 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2294 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2295 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2297 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2298 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2299 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2300 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2301 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2302 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2303 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2304 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2305 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2306 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2307 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2308 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2309 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2310 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2311 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2312 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2313 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2314 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2315 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2316 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2317 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2318 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2319 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395009;')
#2332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2344 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2345 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2346 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2347 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2348 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2349 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2350 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2356 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2357 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#2363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#2364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#2365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#2366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#2367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#2368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#2369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#2370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#2371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#2372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#2373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#2374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#2375 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#2376 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#2377 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#2378 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#2379 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:09', '1')
#2380 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2381 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2382 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2383 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#2385 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2386 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#2387 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2388 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#2389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#2390 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#2391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#2392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#2393 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#2394 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#2395 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#2396 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#2398 - info - BEGIN WORK
#2399 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#2400 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#2401 - info - COMMIT
#2402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#2403 - info - BEGIN WORK
#2404 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2405 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#2406 - info - COMMIT
#2407 - info - BEGIN WORK
#2408 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2409 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#2410 - info - COMMIT
#2411 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2412 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2413 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#2414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#2415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#2416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#2417 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#2418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#2419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#2420 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#2421 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#2422 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#2423 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#2424 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#2425 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#2426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#2427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#2428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#2429 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#2430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#2431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#2432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#2433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#2434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#2435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#2436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#2437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#2438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#2439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#2440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#2441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#2442 - info - SHOW TABLES LIKE 'ac_job_types'
#2443 - info - SELECT COUNT(id) FROM ac_job_types
#2444 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2445 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#2446 - info - BEGIN WORK
#2447 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#2448 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#2449 - info - COMMIT
#2450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#2451 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2452 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2453 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#2454 - info - SELECT COUNT(name) FROM ac_modules
#2455 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#2456 - info - SELECT name FROM ac_modules
#2457 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#2458 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#2459 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#2460 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#2461 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#2462 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#2463 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#2464 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#2465 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#2466 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#2467 - info - BEGIN WORK
#2468 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#2469 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#2470 - info - UPDATE ac_config_options SET value = 'i:1387395009;' WHERE name = 'search_initialized_on'
#2471 - info - COMMIT
#2472 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#2473 - info - SELECT COUNT(*) FROM  ac_config_options
#2474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'i:12;')
#2475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 2', 'N;')
#2476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 's:9:\"something\";')
#2477 - info - SELECT COUNT(*) FROM  ac_config_options
#2478 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2479 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2480 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2481 - info - BEGIN WORK
#2482 - info - Transaction level increased to 1. Message: Begin Work: Removing config option
#2483 - info - DELETE FROM ac_config_options WHERE name = 'Option 2'
#2484 - info - DELETE FROM ac_config_option_values WHERE name = 'Option 2'
#2485 - info - COMMIT
#2486 - info - SELECT COUNT(*) FROM  ac_config_options
#2487 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2488 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2489 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2490 - info - BEGIN WORK
#2491 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#2492 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#2493 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 3')
#2494 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3')
#2495 - info - COMMIT
#2496 - info - SELECT COUNT(*) FROM  ac_config_options
#2497 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2498 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2499 - info - SHOW TABLES LIKE 'ac_config_options'
#2500 - info - SHOW TABLES LIKE 'ac_config_options'
#2501 - info - DROP TABLE `ac_config_options`
#2502 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2503 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2504 - info - DROP TABLE `ac_config_option_values`
#2505 - info - SHOW TABLES LIKE 'ac_modules'
#2506 - info - SHOW TABLES LIKE 'ac_modules'
#2507 - info - DROP TABLE `ac_modules`
#2508 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2509 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2510 - info - DROP TABLE `ac_executed_model_migrations`
#2511 - info - SHOW TABLES LIKE 'ac_update_history'
#2512 - info - SHOW TABLES LIKE 'ac_update_history'
#2513 - info - DROP TABLE `ac_update_history`
#2514 - info - SHOW TABLES LIKE 'ac_access_logs'
#2515 - info - SHOW TABLES LIKE 'ac_access_logs'
#2516 - info - DROP TABLE `ac_access_logs`
#2517 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2518 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2519 - info - DROP TABLE `ac_access_logs_archive`
#2520 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2521 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2522 - info - DROP TABLE `ac_object_contexts`
#2523 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2524 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2525 - info - DROP TABLE `ac_routing_cache`
#2526 - info - SHOW TABLES LIKE 'ac_currencies'
#2527 - info - SHOW TABLES LIKE 'ac_currencies'
#2528 - info - DROP TABLE `ac_currencies`
#2529 - info - SHOW TABLES LIKE 'ac_day_offs'
#2530 - info - SHOW TABLES LIKE 'ac_day_offs'
#2531 - info - DROP TABLE `ac_day_offs`
#2532 - info - SHOW TABLES LIKE 'ac_languages'
#2533 - info - SHOW TABLES LIKE 'ac_languages'
#2534 - info - DROP TABLE `ac_languages`
#2535 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2536 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2537 - info - DROP TABLE `ac_language_phrases`
#2538 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2539 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2540 - info - DROP TABLE `ac_language_phrase_translations`
#2541 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2542 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2543 - info - DROP TABLE `ac_api_client_subscriptions`
#2544 - info - SHOW TABLES LIKE 'ac_users'
#2545 - info - SHOW TABLES LIKE 'ac_users'
#2546 - info - DROP TABLE `ac_users`
#2547 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2548 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2549 - info - DROP TABLE `ac_user_addresses`
#2550 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2551 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2552 - info - DROP TABLE `ac_user_sessions`
#2553 - info - SHOW TABLES LIKE 'ac_security_logs'
#2554 - info - SHOW TABLES LIKE 'ac_security_logs'
#2555 - info - DROP TABLE `ac_security_logs`
#2556 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2557 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2558 - info - DROP TABLE `ac_api_token_logs`
#2559 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2560 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2561 - info - DROP TABLE `ac_activity_logs`
#2562 - info - SHOW TABLES LIKE 'ac_data_filters'
#2563 - info - SHOW TABLES LIKE 'ac_data_filters'
#2564 - info - DROP TABLE `ac_data_filters`
#2565 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2566 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2567 - info - DROP TABLE `ac_modification_logs`
#2568 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2569 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2570 - info - DROP TABLE `ac_modification_log_values`
#2571 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2572 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2573 - info - DROP TABLE `ac_mailing_activity_logs`
#2574 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2575 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2576 - info - DROP TABLE `ac_outgoing_messages`
#2577 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2578 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2579 - info - DROP TABLE `ac_incoming_mail_attachments`
#2580 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2581 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2582 - info - DROP TABLE `ac_incoming_mail_filters`
#2583 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2584 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2585 - info - DROP TABLE `ac_incoming_mailboxes`
#2586 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2587 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2588 - info - DROP TABLE `ac_incoming_mails`
#2589 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2590 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2591 - info - DROP TABLE `ac_homescreen_tabs`
#2592 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2593 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2594 - info - DROP TABLE `ac_homescreen_widgets`
#2595 - info - SHOW TABLES LIKE 'ac_announcements'
#2596 - info - SHOW TABLES LIKE 'ac_announcements'
#2597 - info - DROP TABLE `ac_announcements`
#2598 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2599 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2600 - info - DROP TABLE `ac_announcement_target_ids`
#2601 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2602 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2603 - info - DROP TABLE `ac_announcement_dismissals`
#2604 - info - SHOW TABLES LIKE 'ac_attachments'
#2605 - info - SHOW TABLES LIKE 'ac_attachments'
#2606 - info - DROP TABLE `ac_attachments`
#2607 - info - SHOW TABLES LIKE 'ac_notifications'
#2608 - info - SHOW TABLES LIKE 'ac_notifications'
#2609 - info - DROP TABLE `ac_notifications`
#2610 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2611 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2612 - info - DROP TABLE `ac_notification_recipients`
#2613 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2614 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2615 - info - DROP TABLE `ac_subscriptions`
#2616 - info - SHOW TABLES LIKE 'ac_comments'
#2617 - info - SHOW TABLES LIKE 'ac_comments'
#2618 - info - DROP TABLE `ac_comments`
#2619 - info - SHOW TABLES LIKE 'ac_categories'
#2620 - info - SHOW TABLES LIKE 'ac_categories'
#2621 - info - DROP TABLE `ac_categories`
#2622 - info - SHOW TABLES LIKE 'ac_labels'
#2623 - info - SHOW TABLES LIKE 'ac_labels'
#2624 - info - DROP TABLE `ac_labels`
#2625 - info - SHOW TABLES LIKE 'ac_assignments'
#2626 - info - SHOW TABLES LIKE 'ac_assignments'
#2627 - info - DROP TABLE `ac_assignments`
#2628 - info - SHOW TABLES LIKE 'ac_subtasks'
#2629 - info - SHOW TABLES LIKE 'ac_subtasks'
#2630 - info - DROP TABLE `ac_subtasks`
#2631 - info - SHOW TABLES LIKE 'ac_favorites'
#2632 - info - SHOW TABLES LIKE 'ac_favorites'
#2633 - info - DROP TABLE `ac_favorites`
#2634 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2635 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2636 - info - DROP TABLE `ac_code_snippets`
#2637 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2638 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2639 - info - DROP TABLE `ac_payment_gateways`
#2640 - info - SHOW TABLES LIKE 'ac_payments'
#2641 - info - SHOW TABLES LIKE 'ac_payments'
#2642 - info - DROP TABLE `ac_payments`
#2643 - info - SHOW TABLES LIKE 'ac_reminders'
#2644 - info - SHOW TABLES LIKE 'ac_reminders'
#2645 - info - DROP TABLE `ac_reminders`
#2646 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2647 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2648 - info - DROP TABLE `ac_reminder_users`
#2649 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2650 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2651 - info - DROP TABLE `ac_custom_fields`
#2652 - info - SHOW TABLES LIKE 'ac_calendars'
#2653 - info - SHOW TABLES LIKE 'ac_calendars'
#2654 - info - DROP TABLE `ac_calendars`
#2655 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2656 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2657 - info - DROP TABLE `ac_calendar_events`
#2658 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2659 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2660 - info - DROP TABLE `ac_calendar_users`
#2661 - info - SHOW TABLES LIKE 'ac_data_sources'
#2662 - info - SHOW TABLES LIKE 'ac_data_sources'
#2663 - info - DROP TABLE `ac_data_sources`
#2664 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2665 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2666 - info - DROP TABLE `ac_data_source_mappings`
#2667 - info - SHOW TABLES LIKE 'ac_companies'
#2668 - info - SHOW TABLES LIKE 'ac_companies'
#2669 - info - DROP TABLE `ac_companies`
#2670 - info - SHOW TABLES LIKE 'ac_projects'
#2671 - info - SHOW TABLES LIKE 'ac_projects'
#2672 - info - DROP TABLE `ac_projects`
#2673 - info - SHOW TABLES LIKE 'ac_project_roles'
#2674 - info - SHOW TABLES LIKE 'ac_project_roles'
#2675 - info - DROP TABLE `ac_project_roles`
#2676 - info - SHOW TABLES LIKE 'ac_project_users'
#2677 - info - SHOW TABLES LIKE 'ac_project_users'
#2678 - info - DROP TABLE `ac_project_users`
#2679 - info - SHOW TABLES LIKE 'ac_project_requests'
#2680 - info - SHOW TABLES LIKE 'ac_project_requests'
#2681 - info - DROP TABLE `ac_project_requests`
#2682 - info - SHOW TABLES LIKE 'ac_project_objects'
#2683 - info - SHOW TABLES LIKE 'ac_project_objects'
#2684 - info - DROP TABLE `ac_project_objects`
#2685 - info - SHOW TABLES LIKE 'ac_project_templates'
#2686 - info - SHOW TABLES LIKE 'ac_project_templates'
#2687 - info - DROP TABLE `ac_project_templates`
#2688 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2689 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2690 - info - DROP TABLE `ac_project_object_templates`
#2691 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2692 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2693 - info - DROP TABLE `ac_shared_object_profiles`
#2694 - info - SHOW TABLES LIKE 'ac_file_versions'
#2695 - info - SHOW TABLES LIKE 'ac_file_versions'
#2696 - info - DROP TABLE `ac_file_versions`
#2697 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2698 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2699 - info - DROP TABLE `ac_text_document_versions`
#2700 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2701 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2702 - info - DROP TABLE `ac_public_task_forms`
#2703 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2704 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2705 - info - DROP TABLE `ac_related_tasks`
#2706 - info - SHOW TABLES LIKE 'ac_task_segments'
#2707 - info - SHOW TABLES LIKE 'ac_task_segments'
#2708 - info - DROP TABLE `ac_task_segments`
#2709 - info - SHOW TABLES LIKE 'ac_status_updates'
#2710 - info - SHOW TABLES LIKE 'ac_status_updates'
#2711 - info - DROP TABLE `ac_status_updates`
#2712 - info - SHOW TABLES LIKE 'ac_documents'
#2713 - info - SHOW TABLES LIKE 'ac_documents'
#2714 - info - DROP TABLE `ac_documents`
#2715 - info - SHOW TABLES LIKE 'ac_time_records'
#2716 - info - SHOW TABLES LIKE 'ac_time_records'
#2717 - info - DROP TABLE `ac_time_records`
#2718 - info - SHOW TABLES LIKE 'ac_job_types'
#2719 - info - SHOW TABLES LIKE 'ac_job_types'
#2720 - info - DROP TABLE `ac_job_types`
#2721 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2722 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2723 - info - DROP TABLE `ac_project_hourly_rates`
#2724 - info - SHOW TABLES LIKE 'ac_expenses'
#2725 - info - SHOW TABLES LIKE 'ac_expenses'
#2726 - info - DROP TABLE `ac_expenses`
#2727 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2728 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2729 - info - DROP TABLE `ac_expense_categories`
#2730 - info - SHOW TABLES LIKE 'ac_estimates'
#2731 - info - SHOW TABLES LIKE 'ac_estimates'
#2732 - info - DROP TABLE `ac_estimates`
#2733 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2734 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2735 - info - DROP TABLE `ac_invoice_objects`
#2736 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2737 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2738 - info - DROP TABLE `ac_invoice_object_items`
#2739 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2740 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2741 - info - DROP TABLE `ac_invoice_item_templates`
#2742 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2743 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2744 - info - DROP TABLE `ac_invoice_note_templates`
#2745 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2746 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2747 - info - DROP TABLE `ac_invoice_related_records`
#2748 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2749 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2750 - info - DROP TABLE `ac_tax_rates`
#2751 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2752 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2753 - info - DROP TABLE `ac_notebook_pages`
#2754 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2755 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2756 - info - DROP TABLE `ac_notebook_page_versions`
#2757 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2758 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2759 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2760 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2761 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2762 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2763 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2764 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2765 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2766 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2767 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2768 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2769 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2770 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2771 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2772 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2773 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2774 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2775 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2776 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2777 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2778 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2779 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2780 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2781 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2782 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2783 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2784 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2785 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2786 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2787 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2788 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2789 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2790 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2791 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2792 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2793 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2794 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2795 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2796 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2797 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2798 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2799 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2800 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2801 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2802 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2803 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2804 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2805 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2806 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2807 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2808 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2809 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2810 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2811 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2812 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2813 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2814 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2815 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2816 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2817 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2818 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2819 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2820 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2821 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2822 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2823 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2824 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2825 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2826 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2827 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2828 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2829 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2830 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2831 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2832 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2833 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2834 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2835 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2836 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2837 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2838 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2839 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2840 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2841 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2842 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2843 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2844 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2845 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2846 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2847 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2848 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2849 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2850 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2851 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2852 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2853 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2854 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2855 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2856 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2857 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2858 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2859 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2860 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2861 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2862 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2863 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2864 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2865 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2866 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2867 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2868 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2869 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2870 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2871 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2872 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2873 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2874 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2875 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2876 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2877 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2878 - info - BEGIN WORK
#2879 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2880 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2881 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2882 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2883 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2884 - info - COMMIT
#2885 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2886 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2887 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2888 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2889 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2890 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2891 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2892 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2893 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2894 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2895 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2896 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2897 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2898 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2899 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2900 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2901 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2902 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2903 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2904 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2905 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2906 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2907 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2908 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2909 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2910 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2911 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2912 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2913 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2914 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2915 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2916 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2917 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2918 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2919 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2920 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2921 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2922 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2923 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2924 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2925 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2926 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2931 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2932 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2933 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2934 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2935 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395009;')
#2939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2951 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2952 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2953 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2954 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2955 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2956 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2957 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2958 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2963 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2964 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2965 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2966 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2967 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#2970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#2971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#2972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#2973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#2974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#2975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#2976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#2977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#2978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#2979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#2980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#2981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#2982 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#2983 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#2984 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#2985 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#2986 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:09', '1')
#2987 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2988 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2989 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2990 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#2992 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#2994 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#2996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#2997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#2998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#2999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3000 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3001 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3002 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3003 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3005 - info - BEGIN WORK
#3006 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3007 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3008 - info - COMMIT
#3009 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3010 - info - BEGIN WORK
#3011 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3012 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3013 - info - COMMIT
#3014 - info - BEGIN WORK
#3015 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3016 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3017 - info - COMMIT
#3018 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3019 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3020 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3036 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3042 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3043 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3044 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3045 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3046 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3047 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3048 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3049 - info - SHOW TABLES LIKE 'ac_job_types'
#3050 - info - SELECT COUNT(id) FROM ac_job_types
#3051 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3052 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3053 - info - BEGIN WORK
#3054 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3055 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3056 - info - COMMIT
#3057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3058 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3059 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3060 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3061 - info - SELECT COUNT(name) FROM ac_modules
#3062 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3063 - info - SELECT name FROM ac_modules
#3064 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3065 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3066 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3067 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3068 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3069 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3070 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3071 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3072 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3073 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3074 - info - BEGIN WORK
#3075 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3076 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3077 - info - UPDATE ac_config_options SET value = 'i:1387395010;' WHERE name = 'search_initialized_on'
#3078 - info - COMMIT
#3079 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3080 - info - SELECT COUNT(*) FROM  ac_config_options
#3081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'N;')
#3082 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 1', 'N;')
#3083 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 'N;')
#3084 - info - SELECT COUNT(*) FROM ac_config_options
#3085 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3086 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3087 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3088 - info - BEGIN WORK
#3089 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3090 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3091 - info - UPDATE ac_config_options SET value = 's:7:\"Value 1\";' WHERE name = 'Option 1'
#3092 - info - COMMIT
#3093 - info - BEGIN WORK
#3094 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3095 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3096 - info - UPDATE ac_config_options SET value = 's:7:\"Value 2\";' WHERE name = 'Option 2'
#3097 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3098 - info - UPDATE ac_config_options SET value = 's:7:\"Value 3\";' WHERE name = 'Option 3'
#3099 - info - COMMIT
#3100 - info - BEGIN WORK
#3101 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#3102 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#3103 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3104 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3105 - info - COMMIT
#3106 - info - SELECT COUNT(*) FROM ac_config_options
#3107 - info - SHOW TABLES LIKE 'ac_config_options'
#3108 - info - SHOW TABLES LIKE 'ac_config_options'
#3109 - info - DROP TABLE `ac_config_options`
#3110 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3111 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3112 - info - DROP TABLE `ac_config_option_values`
#3113 - info - SHOW TABLES LIKE 'ac_modules'
#3114 - info - SHOW TABLES LIKE 'ac_modules'
#3115 - info - DROP TABLE `ac_modules`
#3116 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3117 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3118 - info - DROP TABLE `ac_executed_model_migrations`
#3119 - info - SHOW TABLES LIKE 'ac_update_history'
#3120 - info - SHOW TABLES LIKE 'ac_update_history'
#3121 - info - DROP TABLE `ac_update_history`
#3122 - info - SHOW TABLES LIKE 'ac_access_logs'
#3123 - info - SHOW TABLES LIKE 'ac_access_logs'
#3124 - info - DROP TABLE `ac_access_logs`
#3125 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3126 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3127 - info - DROP TABLE `ac_access_logs_archive`
#3128 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3129 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3130 - info - DROP TABLE `ac_object_contexts`
#3131 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3132 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3133 - info - DROP TABLE `ac_routing_cache`
#3134 - info - SHOW TABLES LIKE 'ac_currencies'
#3135 - info - SHOW TABLES LIKE 'ac_currencies'
#3136 - info - DROP TABLE `ac_currencies`
#3137 - info - SHOW TABLES LIKE 'ac_day_offs'
#3138 - info - SHOW TABLES LIKE 'ac_day_offs'
#3139 - info - DROP TABLE `ac_day_offs`
#3140 - info - SHOW TABLES LIKE 'ac_languages'
#3141 - info - SHOW TABLES LIKE 'ac_languages'
#3142 - info - DROP TABLE `ac_languages`
#3143 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3144 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3145 - info - DROP TABLE `ac_language_phrases`
#3146 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3147 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3148 - info - DROP TABLE `ac_language_phrase_translations`
#3149 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3150 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3151 - info - DROP TABLE `ac_api_client_subscriptions`
#3152 - info - SHOW TABLES LIKE 'ac_users'
#3153 - info - SHOW TABLES LIKE 'ac_users'
#3154 - info - DROP TABLE `ac_users`
#3155 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3156 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3157 - info - DROP TABLE `ac_user_addresses`
#3158 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3159 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3160 - info - DROP TABLE `ac_user_sessions`
#3161 - info - SHOW TABLES LIKE 'ac_security_logs'
#3162 - info - SHOW TABLES LIKE 'ac_security_logs'
#3163 - info - DROP TABLE `ac_security_logs`
#3164 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3165 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3166 - info - DROP TABLE `ac_api_token_logs`
#3167 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3168 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3169 - info - DROP TABLE `ac_activity_logs`
#3170 - info - SHOW TABLES LIKE 'ac_data_filters'
#3171 - info - SHOW TABLES LIKE 'ac_data_filters'
#3172 - info - DROP TABLE `ac_data_filters`
#3173 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3174 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3175 - info - DROP TABLE `ac_modification_logs`
#3176 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3177 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3178 - info - DROP TABLE `ac_modification_log_values`
#3179 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3180 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3181 - info - DROP TABLE `ac_mailing_activity_logs`
#3182 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3183 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3184 - info - DROP TABLE `ac_outgoing_messages`
#3185 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3186 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3187 - info - DROP TABLE `ac_incoming_mail_attachments`
#3188 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3189 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3190 - info - DROP TABLE `ac_incoming_mail_filters`
#3191 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3192 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3193 - info - DROP TABLE `ac_incoming_mailboxes`
#3194 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3195 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3196 - info - DROP TABLE `ac_incoming_mails`
#3197 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3198 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3199 - info - DROP TABLE `ac_homescreen_tabs`
#3200 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3201 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3202 - info - DROP TABLE `ac_homescreen_widgets`
#3203 - info - SHOW TABLES LIKE 'ac_announcements'
#3204 - info - SHOW TABLES LIKE 'ac_announcements'
#3205 - info - DROP TABLE `ac_announcements`
#3206 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3207 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3208 - info - DROP TABLE `ac_announcement_target_ids`
#3209 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3210 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3211 - info - DROP TABLE `ac_announcement_dismissals`
#3212 - info - SHOW TABLES LIKE 'ac_attachments'
#3213 - info - SHOW TABLES LIKE 'ac_attachments'
#3214 - info - DROP TABLE `ac_attachments`
#3215 - info - SHOW TABLES LIKE 'ac_notifications'
#3216 - info - SHOW TABLES LIKE 'ac_notifications'
#3217 - info - DROP TABLE `ac_notifications`
#3218 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3219 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3220 - info - DROP TABLE `ac_notification_recipients`
#3221 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3222 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3223 - info - DROP TABLE `ac_subscriptions`
#3224 - info - SHOW TABLES LIKE 'ac_comments'
#3225 - info - SHOW TABLES LIKE 'ac_comments'
#3226 - info - DROP TABLE `ac_comments`
#3227 - info - SHOW TABLES LIKE 'ac_categories'
#3228 - info - SHOW TABLES LIKE 'ac_categories'
#3229 - info - DROP TABLE `ac_categories`
#3230 - info - SHOW TABLES LIKE 'ac_labels'
#3231 - info - SHOW TABLES LIKE 'ac_labels'
#3232 - info - DROP TABLE `ac_labels`
#3233 - info - SHOW TABLES LIKE 'ac_assignments'
#3234 - info - SHOW TABLES LIKE 'ac_assignments'
#3235 - info - DROP TABLE `ac_assignments`
#3236 - info - SHOW TABLES LIKE 'ac_subtasks'
#3237 - info - SHOW TABLES LIKE 'ac_subtasks'
#3238 - info - DROP TABLE `ac_subtasks`
#3239 - info - SHOW TABLES LIKE 'ac_favorites'
#3240 - info - SHOW TABLES LIKE 'ac_favorites'
#3241 - info - DROP TABLE `ac_favorites`
#3242 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3243 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3244 - info - DROP TABLE `ac_code_snippets`
#3245 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3246 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3247 - info - DROP TABLE `ac_payment_gateways`
#3248 - info - SHOW TABLES LIKE 'ac_payments'
#3249 - info - SHOW TABLES LIKE 'ac_payments'
#3250 - info - DROP TABLE `ac_payments`
#3251 - info - SHOW TABLES LIKE 'ac_reminders'
#3252 - info - SHOW TABLES LIKE 'ac_reminders'
#3253 - info - DROP TABLE `ac_reminders`
#3254 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3255 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3256 - info - DROP TABLE `ac_reminder_users`
#3257 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3258 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3259 - info - DROP TABLE `ac_custom_fields`
#3260 - info - SHOW TABLES LIKE 'ac_calendars'
#3261 - info - SHOW TABLES LIKE 'ac_calendars'
#3262 - info - DROP TABLE `ac_calendars`
#3263 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3264 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3265 - info - DROP TABLE `ac_calendar_events`
#3266 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3267 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3268 - info - DROP TABLE `ac_calendar_users`
#3269 - info - SHOW TABLES LIKE 'ac_data_sources'
#3270 - info - SHOW TABLES LIKE 'ac_data_sources'
#3271 - info - DROP TABLE `ac_data_sources`
#3272 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3273 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3274 - info - DROP TABLE `ac_data_source_mappings`
#3275 - info - SHOW TABLES LIKE 'ac_companies'
#3276 - info - SHOW TABLES LIKE 'ac_companies'
#3277 - info - DROP TABLE `ac_companies`
#3278 - info - SHOW TABLES LIKE 'ac_projects'
#3279 - info - SHOW TABLES LIKE 'ac_projects'
#3280 - info - DROP TABLE `ac_projects`
#3281 - info - SHOW TABLES LIKE 'ac_project_roles'
#3282 - info - SHOW TABLES LIKE 'ac_project_roles'
#3283 - info - DROP TABLE `ac_project_roles`
#3284 - info - SHOW TABLES LIKE 'ac_project_users'
#3285 - info - SHOW TABLES LIKE 'ac_project_users'
#3286 - info - DROP TABLE `ac_project_users`
#3287 - info - SHOW TABLES LIKE 'ac_project_requests'
#3288 - info - SHOW TABLES LIKE 'ac_project_requests'
#3289 - info - DROP TABLE `ac_project_requests`
#3290 - info - SHOW TABLES LIKE 'ac_project_objects'
#3291 - info - SHOW TABLES LIKE 'ac_project_objects'
#3292 - info - DROP TABLE `ac_project_objects`
#3293 - info - SHOW TABLES LIKE 'ac_project_templates'
#3294 - info - SHOW TABLES LIKE 'ac_project_templates'
#3295 - info - DROP TABLE `ac_project_templates`
#3296 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3297 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3298 - info - DROP TABLE `ac_project_object_templates`
#3299 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3300 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3301 - info - DROP TABLE `ac_shared_object_profiles`
#3302 - info - SHOW TABLES LIKE 'ac_file_versions'
#3303 - info - SHOW TABLES LIKE 'ac_file_versions'
#3304 - info - DROP TABLE `ac_file_versions`
#3305 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3306 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3307 - info - DROP TABLE `ac_text_document_versions`
#3308 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3309 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3310 - info - DROP TABLE `ac_public_task_forms`
#3311 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3312 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3313 - info - DROP TABLE `ac_related_tasks`
#3314 - info - SHOW TABLES LIKE 'ac_task_segments'
#3315 - info - SHOW TABLES LIKE 'ac_task_segments'
#3316 - info - DROP TABLE `ac_task_segments`
#3317 - info - SHOW TABLES LIKE 'ac_status_updates'
#3318 - info - SHOW TABLES LIKE 'ac_status_updates'
#3319 - info - DROP TABLE `ac_status_updates`
#3320 - info - SHOW TABLES LIKE 'ac_documents'
#3321 - info - SHOW TABLES LIKE 'ac_documents'
#3322 - info - DROP TABLE `ac_documents`
#3323 - info - SHOW TABLES LIKE 'ac_time_records'
#3324 - info - SHOW TABLES LIKE 'ac_time_records'
#3325 - info - DROP TABLE `ac_time_records`
#3326 - info - SHOW TABLES LIKE 'ac_job_types'
#3327 - info - SHOW TABLES LIKE 'ac_job_types'
#3328 - info - DROP TABLE `ac_job_types`
#3329 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3330 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3331 - info - DROP TABLE `ac_project_hourly_rates`
#3332 - info - SHOW TABLES LIKE 'ac_expenses'
#3333 - info - SHOW TABLES LIKE 'ac_expenses'
#3334 - info - DROP TABLE `ac_expenses`
#3335 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3336 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3337 - info - DROP TABLE `ac_expense_categories`
#3338 - info - SHOW TABLES LIKE 'ac_estimates'
#3339 - info - SHOW TABLES LIKE 'ac_estimates'
#3340 - info - DROP TABLE `ac_estimates`
#3341 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3342 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3343 - info - DROP TABLE `ac_invoice_objects`
#3344 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3345 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3346 - info - DROP TABLE `ac_invoice_object_items`
#3347 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3348 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3349 - info - DROP TABLE `ac_invoice_item_templates`
#3350 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3351 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3352 - info - DROP TABLE `ac_invoice_note_templates`
#3353 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3354 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3355 - info - DROP TABLE `ac_invoice_related_records`
#3356 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3357 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3358 - info - DROP TABLE `ac_tax_rates`
#3359 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3360 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3361 - info - DROP TABLE `ac_notebook_pages`
#3362 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3363 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3364 - info - DROP TABLE `ac_notebook_page_versions`
#3365 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3366 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3367 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3368 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3369 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3370 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3371 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3372 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3373 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3374 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3375 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3376 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3377 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3378 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3379 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3380 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3381 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3382 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3383 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3384 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3385 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3386 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3387 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3388 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3389 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3390 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3391 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3392 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3393 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3394 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3395 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3396 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3397 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3398 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3399 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3400 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3401 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3402 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3403 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3404 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3405 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3406 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3407 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3408 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3409 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3410 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3411 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3412 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3413 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3414 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3415 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3416 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3417 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3418 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3419 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3420 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3421 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3422 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3423 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3424 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3425 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3426 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3427 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3428 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3429 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3430 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3431 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3432 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3433 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3434 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3435 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3436 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3437 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3438 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3439 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3440 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3441 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3442 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3443 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3444 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3445 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3446 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3447 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3448 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3449 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3450 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3484 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3486 - info - BEGIN WORK
#3487 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3488 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3489 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3490 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3491 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3492 - info - COMMIT
#3493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3520 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3521 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3522 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3523 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3524 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3525 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3526 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3527 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3528 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3529 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3530 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3531 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3532 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3533 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395010;')
#3547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3554 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3557 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3559 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3560 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3561 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3562 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3563 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3564 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3565 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3566 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3567 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3568 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3571 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3572 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3590 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3591 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3592 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3593 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3594 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:10', '1')
#3595 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3596 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3597 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3598 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3600 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3602 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3604 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3605 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3607 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3608 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3609 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3610 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3611 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3612 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3613 - info - BEGIN WORK
#3614 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3615 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3616 - info - COMMIT
#3617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3618 - info - BEGIN WORK
#3619 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3620 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3621 - info - COMMIT
#3622 - info - BEGIN WORK
#3623 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3624 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3625 - info - COMMIT
#3626 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3627 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3628 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3647 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3648 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3650 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3651 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3652 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3653 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3654 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3655 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3656 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3657 - info - SHOW TABLES LIKE 'ac_job_types'
#3658 - info - SELECT COUNT(id) FROM ac_job_types
#3659 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3660 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3661 - info - BEGIN WORK
#3662 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3663 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3664 - info - COMMIT
#3665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3666 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3667 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3668 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3669 - info - SELECT COUNT(name) FROM ac_modules
#3670 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3671 - info - SELECT name FROM ac_modules
#3672 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3673 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3674 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3675 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3676 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3677 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3678 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3679 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3680 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3681 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3682 - info - BEGIN WORK
#3683 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3684 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3685 - info - UPDATE ac_config_options SET value = 'i:1387395010;' WHERE name = 'search_initialized_on'
#3686 - info - COMMIT
#3687 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3688 - info - SELECT COUNT(*) FROM  ac_config_options
#3689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'system', 'i:1983;')
#3690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'system', 's:10:\"Google.com\";')
#3691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'system', 'a:6:{i:0;s:8:\"Belgrade\";i:1;s:6:\"Zagreb\";i:2;s:9:\"Ljubljana\";i:3;s:8:\"Sarajevo\";i:4;s:9:\"Podgorica\";i:5;s:7:\"Skoplje\";}')
#3692 - info - SELECT COUNT(*) FROM ac_config_options
#3693 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3694 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3695 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3696 - info - BEGIN WORK
#3697 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3698 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3699 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3700 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '1', 's:7:\"Value 1\";')
#3701 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3702 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3703 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '1', 's:7:\"Value 3\";')
#3704 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3705 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3706 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 2', 'TestConfigOptionsObject1', '1', 's:7:\"Value 2\";')
#3707 - info - COMMIT
#3708 - info - BEGIN WORK
#3709 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3710 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3711 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3712 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '2', 's:25:\"Value 1 for second object\";')
#3713 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3714 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3715 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '2', 's:7:\"Value 3\";')
#3716 - info - COMMIT
#3717 - info - BEGIN WORK
#3718 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3719 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3720 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject2' AND parent_id = '1'
#3721 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject2', '1', 'i:1;')
#3722 - info - COMMIT
#3723 - info - SELECT COUNT(*) FROM ac_config_option_values
#3724 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3725 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject2'
#3726 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3727 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3728 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3729 - info - DELETE FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3730 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3731 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3732 - info - BEGIN WORK
#3733 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3734 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3735 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3736 - info - UPDATE ac_config_option_values SET value = 's:9:\"Yahoo.com\";' WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3737 - info - COMMIT
#3738 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3739 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3740 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3741 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 2') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3742 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3743 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3744 - info - SHOW TABLES LIKE 'ac_config_options'
#3745 - info - SHOW TABLES LIKE 'ac_config_options'
#3746 - info - DROP TABLE `ac_config_options`
#3747 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3748 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3749 - info - DROP TABLE `ac_config_option_values`
#3750 - info - SHOW TABLES LIKE 'ac_modules'
#3751 - info - SHOW TABLES LIKE 'ac_modules'
#3752 - info - DROP TABLE `ac_modules`
#3753 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3754 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3755 - info - DROP TABLE `ac_executed_model_migrations`
#3756 - info - SHOW TABLES LIKE 'ac_update_history'
#3757 - info - SHOW TABLES LIKE 'ac_update_history'
#3758 - info - DROP TABLE `ac_update_history`
#3759 - info - SHOW TABLES LIKE 'ac_access_logs'
#3760 - info - SHOW TABLES LIKE 'ac_access_logs'
#3761 - info - DROP TABLE `ac_access_logs`
#3762 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3763 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3764 - info - DROP TABLE `ac_access_logs_archive`
#3765 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3766 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3767 - info - DROP TABLE `ac_object_contexts`
#3768 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3769 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3770 - info - DROP TABLE `ac_routing_cache`
#3771 - info - SHOW TABLES LIKE 'ac_currencies'
#3772 - info - SHOW TABLES LIKE 'ac_currencies'
#3773 - info - DROP TABLE `ac_currencies`
#3774 - info - SHOW TABLES LIKE 'ac_day_offs'
#3775 - info - SHOW TABLES LIKE 'ac_day_offs'
#3776 - info - DROP TABLE `ac_day_offs`
#3777 - info - SHOW TABLES LIKE 'ac_languages'
#3778 - info - SHOW TABLES LIKE 'ac_languages'
#3779 - info - DROP TABLE `ac_languages`
#3780 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3781 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3782 - info - DROP TABLE `ac_language_phrases`
#3783 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3784 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3785 - info - DROP TABLE `ac_language_phrase_translations`
#3786 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3787 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3788 - info - DROP TABLE `ac_api_client_subscriptions`
#3789 - info - SHOW TABLES LIKE 'ac_users'
#3790 - info - SHOW TABLES LIKE 'ac_users'
#3791 - info - DROP TABLE `ac_users`
#3792 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3793 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3794 - info - DROP TABLE `ac_user_addresses`
#3795 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3796 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3797 - info - DROP TABLE `ac_user_sessions`
#3798 - info - SHOW TABLES LIKE 'ac_security_logs'
#3799 - info - SHOW TABLES LIKE 'ac_security_logs'
#3800 - info - DROP TABLE `ac_security_logs`
#3801 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3802 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3803 - info - DROP TABLE `ac_api_token_logs`
#3804 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3805 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3806 - info - DROP TABLE `ac_activity_logs`
#3807 - info - SHOW TABLES LIKE 'ac_data_filters'
#3808 - info - SHOW TABLES LIKE 'ac_data_filters'
#3809 - info - DROP TABLE `ac_data_filters`
#3810 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3811 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3812 - info - DROP TABLE `ac_modification_logs`
#3813 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3814 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3815 - info - DROP TABLE `ac_modification_log_values`
#3816 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3817 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3818 - info - DROP TABLE `ac_mailing_activity_logs`
#3819 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3820 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3821 - info - DROP TABLE `ac_outgoing_messages`
#3822 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3823 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3824 - info - DROP TABLE `ac_incoming_mail_attachments`
#3825 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3826 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3827 - info - DROP TABLE `ac_incoming_mail_filters`
#3828 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3829 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3830 - info - DROP TABLE `ac_incoming_mailboxes`
#3831 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3832 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3833 - info - DROP TABLE `ac_incoming_mails`
#3834 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3835 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3836 - info - DROP TABLE `ac_homescreen_tabs`
#3837 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3838 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3839 - info - DROP TABLE `ac_homescreen_widgets`
#3840 - info - SHOW TABLES LIKE 'ac_announcements'
#3841 - info - SHOW TABLES LIKE 'ac_announcements'
#3842 - info - DROP TABLE `ac_announcements`
#3843 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3844 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3845 - info - DROP TABLE `ac_announcement_target_ids`
#3846 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3847 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3848 - info - DROP TABLE `ac_announcement_dismissals`
#3849 - info - SHOW TABLES LIKE 'ac_attachments'
#3850 - info - SHOW TABLES LIKE 'ac_attachments'
#3851 - info - DROP TABLE `ac_attachments`
#3852 - info - SHOW TABLES LIKE 'ac_notifications'
#3853 - info - SHOW TABLES LIKE 'ac_notifications'
#3854 - info - DROP TABLE `ac_notifications`
#3855 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3856 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3857 - info - DROP TABLE `ac_notification_recipients`
#3858 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3859 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3860 - info - DROP TABLE `ac_subscriptions`
#3861 - info - SHOW TABLES LIKE 'ac_comments'
#3862 - info - SHOW TABLES LIKE 'ac_comments'
#3863 - info - DROP TABLE `ac_comments`
#3864 - info - SHOW TABLES LIKE 'ac_categories'
#3865 - info - SHOW TABLES LIKE 'ac_categories'
#3866 - info - DROP TABLE `ac_categories`
#3867 - info - SHOW TABLES LIKE 'ac_labels'
#3868 - info - SHOW TABLES LIKE 'ac_labels'
#3869 - info - DROP TABLE `ac_labels`
#3870 - info - SHOW TABLES LIKE 'ac_assignments'
#3871 - info - SHOW TABLES LIKE 'ac_assignments'
#3872 - info - DROP TABLE `ac_assignments`
#3873 - info - SHOW TABLES LIKE 'ac_subtasks'
#3874 - info - SHOW TABLES LIKE 'ac_subtasks'
#3875 - info - DROP TABLE `ac_subtasks`
#3876 - info - SHOW TABLES LIKE 'ac_favorites'
#3877 - info - SHOW TABLES LIKE 'ac_favorites'
#3878 - info - DROP TABLE `ac_favorites`
#3879 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3880 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3881 - info - DROP TABLE `ac_code_snippets`
#3882 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3883 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3884 - info - DROP TABLE `ac_payment_gateways`
#3885 - info - SHOW TABLES LIKE 'ac_payments'
#3886 - info - SHOW TABLES LIKE 'ac_payments'
#3887 - info - DROP TABLE `ac_payments`
#3888 - info - SHOW TABLES LIKE 'ac_reminders'
#3889 - info - SHOW TABLES LIKE 'ac_reminders'
#3890 - info - DROP TABLE `ac_reminders`
#3891 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3892 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3893 - info - DROP TABLE `ac_reminder_users`
#3894 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3895 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3896 - info - DROP TABLE `ac_custom_fields`
#3897 - info - SHOW TABLES LIKE 'ac_calendars'
#3898 - info - SHOW TABLES LIKE 'ac_calendars'
#3899 - info - DROP TABLE `ac_calendars`
#3900 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3901 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3902 - info - DROP TABLE `ac_calendar_events`
#3903 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3904 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3905 - info - DROP TABLE `ac_calendar_users`
#3906 - info - SHOW TABLES LIKE 'ac_data_sources'
#3907 - info - SHOW TABLES LIKE 'ac_data_sources'
#3908 - info - DROP TABLE `ac_data_sources`
#3909 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3910 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3911 - info - DROP TABLE `ac_data_source_mappings`
#3912 - info - SHOW TABLES LIKE 'ac_companies'
#3913 - info - SHOW TABLES LIKE 'ac_companies'
#3914 - info - DROP TABLE `ac_companies`
#3915 - info - SHOW TABLES LIKE 'ac_projects'
#3916 - info - SHOW TABLES LIKE 'ac_projects'
#3917 - info - DROP TABLE `ac_projects`
#3918 - info - SHOW TABLES LIKE 'ac_project_roles'
#3919 - info - SHOW TABLES LIKE 'ac_project_roles'
#3920 - info - DROP TABLE `ac_project_roles`
#3921 - info - SHOW TABLES LIKE 'ac_project_users'
#3922 - info - SHOW TABLES LIKE 'ac_project_users'
#3923 - info - DROP TABLE `ac_project_users`
#3924 - info - SHOW TABLES LIKE 'ac_project_requests'
#3925 - info - SHOW TABLES LIKE 'ac_project_requests'
#3926 - info - DROP TABLE `ac_project_requests`
#3927 - info - SHOW TABLES LIKE 'ac_project_objects'
#3928 - info - SHOW TABLES LIKE 'ac_project_objects'
#3929 - info - DROP TABLE `ac_project_objects`
#3930 - info - SHOW TABLES LIKE 'ac_project_templates'
#3931 - info - SHOW TABLES LIKE 'ac_project_templates'
#3932 - info - DROP TABLE `ac_project_templates`
#3933 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3934 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3935 - info - DROP TABLE `ac_project_object_templates`
#3936 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3937 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3938 - info - DROP TABLE `ac_shared_object_profiles`
#3939 - info - SHOW TABLES LIKE 'ac_file_versions'
#3940 - info - SHOW TABLES LIKE 'ac_file_versions'
#3941 - info - DROP TABLE `ac_file_versions`
#3942 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3943 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3944 - info - DROP TABLE `ac_text_document_versions`
#3945 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3946 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3947 - info - DROP TABLE `ac_public_task_forms`
#3948 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3949 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3950 - info - DROP TABLE `ac_related_tasks`
#3951 - info - SHOW TABLES LIKE 'ac_task_segments'
#3952 - info - SHOW TABLES LIKE 'ac_task_segments'
#3953 - info - DROP TABLE `ac_task_segments`
#3954 - info - SHOW TABLES LIKE 'ac_status_updates'
#3955 - info - SHOW TABLES LIKE 'ac_status_updates'
#3956 - info - DROP TABLE `ac_status_updates`
#3957 - info - SHOW TABLES LIKE 'ac_documents'
#3958 - info - SHOW TABLES LIKE 'ac_documents'
#3959 - info - DROP TABLE `ac_documents`
#3960 - info - SHOW TABLES LIKE 'ac_time_records'
#3961 - info - SHOW TABLES LIKE 'ac_time_records'
#3962 - info - DROP TABLE `ac_time_records`
#3963 - info - SHOW TABLES LIKE 'ac_job_types'
#3964 - info - SHOW TABLES LIKE 'ac_job_types'
#3965 - info - DROP TABLE `ac_job_types`
#3966 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3967 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3968 - info - DROP TABLE `ac_project_hourly_rates`
#3969 - info - SHOW TABLES LIKE 'ac_expenses'
#3970 - info - SHOW TABLES LIKE 'ac_expenses'
#3971 - info - DROP TABLE `ac_expenses`
#3972 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3973 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3974 - info - DROP TABLE `ac_expense_categories`
#3975 - info - SHOW TABLES LIKE 'ac_estimates'
#3976 - info - SHOW TABLES LIKE 'ac_estimates'
#3977 - info - DROP TABLE `ac_estimates`
#3978 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3979 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3980 - info - DROP TABLE `ac_invoice_objects`
#3981 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3982 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3983 - info - DROP TABLE `ac_invoice_object_items`
#3984 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3985 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3986 - info - DROP TABLE `ac_invoice_item_templates`
#3987 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3988 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3989 - info - DROP TABLE `ac_invoice_note_templates`
#3990 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3991 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3992 - info - DROP TABLE `ac_invoice_related_records`
#3993 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3994 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3995 - info - DROP TABLE `ac_tax_rates`
#3996 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3997 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3998 - info - DROP TABLE `ac_notebook_pages`
#3999 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4000 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4001 - info - DROP TABLE `ac_notebook_page_versions`
#4002 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4003 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4004 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4005 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4006 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4007 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4008 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4009 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4010 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4011 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4012 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4013 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4014 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4015 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4016 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4017 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4018 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4019 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4020 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4021 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4022 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4023 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4024 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4025 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4026 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4027 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4028 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4029 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4030 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4031 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4032 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4033 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4034 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4035 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4036 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4037 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4038 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4039 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4040 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4041 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4042 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4043 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4044 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4045 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4046 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4047 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4048 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4049 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4050 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4051 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4052 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4053 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4054 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4055 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4056 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4057 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4058 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4059 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4060 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4061 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4062 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4063 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4064 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4065 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4066 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4067 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4068 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4069 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4070 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4071 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4072 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4073 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4074 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4075 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4076 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4077 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4078 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4079 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4080 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4081 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4082 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4083 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4084 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4085 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4086 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4087 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4090 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4091 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4093 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4094 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4095 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4096 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4098 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4100 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4101 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4102 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4103 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4105 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4106 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4107 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4108 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4109 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4110 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4111 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4112 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4113 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4114 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4115 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4117 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4119 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4121 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4122 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4123 - info - BEGIN WORK
#4124 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4125 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4126 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4127 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4128 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4129 - info - COMMIT
#4130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4135 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4137 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4145 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4146 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4147 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4148 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4149 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4151 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4153 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4154 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4155 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4156 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4157 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4158 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4159 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4160 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4161 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4162 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4163 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4164 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4165 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4166 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4167 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4168 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4169 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4170 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4171 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4175 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4176 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4177 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4178 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4180 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4181 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4182 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4183 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395011;')
#4184 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4185 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4186 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4187 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4188 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4189 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4190 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4191 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4192 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4193 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4194 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4195 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4196 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4197 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4198 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4199 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4200 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4201 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4202 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4203 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4204 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4205 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4206 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4207 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4208 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4209 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4210 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4211 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4212 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#4213 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#4214 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#4215 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#4216 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#4217 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#4218 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#4219 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#4220 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#4221 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#4222 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#4223 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#4224 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#4225 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#4226 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#4227 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#4228 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#4229 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#4230 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#4231 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 19:30:11', '1')
#4232 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4233 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4234 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4235 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4236 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#4237 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4238 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#4239 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4240 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#4241 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#4242 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#4243 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#4244 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#4245 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#4246 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#4247 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#4248 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4249 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#4250 - info - BEGIN WORK
#4251 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#4252 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#4253 - info - COMMIT
#4254 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#4255 - info - BEGIN WORK
#4256 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4257 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#4258 - info - COMMIT
#4259 - info - BEGIN WORK
#4260 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4261 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#4262 - info - COMMIT
#4263 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4264 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4265 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#4266 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#4267 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#4268 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#4269 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#4270 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#4271 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#4272 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#4273 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#4274 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#4275 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#4276 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#4277 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#4278 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#4279 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#4280 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#4281 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#4282 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#4283 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#4284 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#4285 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#4286 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#4287 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#4288 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#4289 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#4290 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#4291 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#4292 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#4293 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#4294 - info - SHOW TABLES LIKE 'ac_job_types'
#4295 - info - SELECT COUNT(id) FROM ac_job_types
#4296 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4297 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#4298 - info - BEGIN WORK
#4299 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#4300 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#4301 - info - COMMIT
#4302 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#4303 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4304 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4305 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#4306 - info - SELECT COUNT(name) FROM ac_modules
#4307 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#4308 - info - SELECT name FROM ac_modules
#4309 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#4310 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#4311 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#4312 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#4313 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#4314 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#4315 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#4316 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#4317 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#4318 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#4319 - info - BEGIN WORK
#4320 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#4321 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#4322 - info - UPDATE ac_config_options SET value = 'i:1387395011;' WHERE name = 'search_initialized_on'
#4323 - info - COMMIT
#4324 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#4325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('testing_user_model', 'system', 'N;')
#4326 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'testing_user_model'
#4327 - info - BEGIN WORK
#4328 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#4329 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'testing_user_model'
#4330 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4331 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('testing_user_model', 'User', '1', 'i:123;')
#4332 - info - COMMIT
#4333 - info - SELECT value FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4334 - info - SELECT * FROM ac_config_option_values WHERE name = 'testing_user_model'
#4335 - info - SHOW TABLES LIKE 'ac_config_options'
#4336 - info - SHOW TABLES LIKE 'ac_config_options'
#4337 - info - DROP TABLE `ac_config_options`
#4338 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4339 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4340 - info - DROP TABLE `ac_config_option_values`
#4341 - info - SHOW TABLES LIKE 'ac_modules'
#4342 - info - SHOW TABLES LIKE 'ac_modules'
#4343 - info - DROP TABLE `ac_modules`
#4344 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4345 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4346 - info - DROP TABLE `ac_executed_model_migrations`
#4347 - info - SHOW TABLES LIKE 'ac_update_history'
#4348 - info - SHOW TABLES LIKE 'ac_update_history'
#4349 - info - DROP TABLE `ac_update_history`
#4350 - info - SHOW TABLES LIKE 'ac_access_logs'
#4351 - info - SHOW TABLES LIKE 'ac_access_logs'
#4352 - info - DROP TABLE `ac_access_logs`
#4353 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4354 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4355 - info - DROP TABLE `ac_access_logs_archive`
#4356 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4357 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4358 - info - DROP TABLE `ac_object_contexts`
#4359 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4360 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4361 - info - DROP TABLE `ac_routing_cache`
#4362 - info - SHOW TABLES LIKE 'ac_currencies'
#4363 - info - SHOW TABLES LIKE 'ac_currencies'
#4364 - info - DROP TABLE `ac_currencies`
#4365 - info - SHOW TABLES LIKE 'ac_day_offs'
#4366 - info - SHOW TABLES LIKE 'ac_day_offs'
#4367 - info - DROP TABLE `ac_day_offs`
#4368 - info - SHOW TABLES LIKE 'ac_languages'
#4369 - info - SHOW TABLES LIKE 'ac_languages'
#4370 - info - DROP TABLE `ac_languages`
#4371 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4372 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4373 - info - DROP TABLE `ac_language_phrases`
#4374 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4375 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4376 - info - DROP TABLE `ac_language_phrase_translations`
#4377 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4378 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4379 - info - DROP TABLE `ac_api_client_subscriptions`
#4380 - info - SHOW TABLES LIKE 'ac_users'
#4381 - info - SHOW TABLES LIKE 'ac_users'
#4382 - info - DROP TABLE `ac_users`
#4383 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4384 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4385 - info - DROP TABLE `ac_user_addresses`
#4386 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4387 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4388 - info - DROP TABLE `ac_user_sessions`
#4389 - info - SHOW TABLES LIKE 'ac_security_logs'
#4390 - info - SHOW TABLES LIKE 'ac_security_logs'
#4391 - info - DROP TABLE `ac_security_logs`
#4392 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4393 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4394 - info - DROP TABLE `ac_api_token_logs`
#4395 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4396 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4397 - info - DROP TABLE `ac_activity_logs`
#4398 - info - SHOW TABLES LIKE 'ac_data_filters'
#4399 - info - SHOW TABLES LIKE 'ac_data_filters'
#4400 - info - DROP TABLE `ac_data_filters`
#4401 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4402 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4403 - info - DROP TABLE `ac_modification_logs`
#4404 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4405 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4406 - info - DROP TABLE `ac_modification_log_values`
#4407 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4408 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4409 - info - DROP TABLE `ac_mailing_activity_logs`
#4410 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4411 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4412 - info - DROP TABLE `ac_outgoing_messages`
#4413 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4414 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4415 - info - DROP TABLE `ac_incoming_mail_attachments`
#4416 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4417 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4418 - info - DROP TABLE `ac_incoming_mail_filters`
#4419 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4420 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4421 - info - DROP TABLE `ac_incoming_mailboxes`
#4422 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4423 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4424 - info - DROP TABLE `ac_incoming_mails`
#4425 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4426 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4427 - info - DROP TABLE `ac_homescreen_tabs`
#4428 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4429 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4430 - info - DROP TABLE `ac_homescreen_widgets`
#4431 - info - SHOW TABLES LIKE 'ac_announcements'
#4432 - info - SHOW TABLES LIKE 'ac_announcements'
#4433 - info - DROP TABLE `ac_announcements`
#4434 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4435 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4436 - info - DROP TABLE `ac_announcement_target_ids`
#4437 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4438 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4439 - info - DROP TABLE `ac_announcement_dismissals`
#4440 - info - SHOW TABLES LIKE 'ac_attachments'
#4441 - info - SHOW TABLES LIKE 'ac_attachments'
#4442 - info - DROP TABLE `ac_attachments`
#4443 - info - SHOW TABLES LIKE 'ac_notifications'
#4444 - info - SHOW TABLES LIKE 'ac_notifications'
#4445 - info - DROP TABLE `ac_notifications`
#4446 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4447 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4448 - info - DROP TABLE `ac_notification_recipients`
#4449 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4450 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4451 - info - DROP TABLE `ac_subscriptions`
#4452 - info - SHOW TABLES LIKE 'ac_comments'
#4453 - info - SHOW TABLES LIKE 'ac_comments'
#4454 - info - DROP TABLE `ac_comments`
#4455 - info - SHOW TABLES LIKE 'ac_categories'
#4456 - info - SHOW TABLES LIKE 'ac_categories'
#4457 - info - DROP TABLE `ac_categories`
#4458 - info - SHOW TABLES LIKE 'ac_labels'
#4459 - info - SHOW TABLES LIKE 'ac_labels'
#4460 - info - DROP TABLE `ac_labels`
#4461 - info - SHOW TABLES LIKE 'ac_assignments'
#4462 - info - SHOW TABLES LIKE 'ac_assignments'
#4463 - info - DROP TABLE `ac_assignments`
#4464 - info - SHOW TABLES LIKE 'ac_subtasks'
#4465 - info - SHOW TABLES LIKE 'ac_subtasks'
#4466 - info - DROP TABLE `ac_subtasks`
#4467 - info - SHOW TABLES LIKE 'ac_favorites'
#4468 - info - SHOW TABLES LIKE 'ac_favorites'
#4469 - info - DROP TABLE `ac_favorites`
#4470 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4471 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4472 - info - DROP TABLE `ac_code_snippets`
#4473 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4474 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4475 - info - DROP TABLE `ac_payment_gateways`
#4476 - info - SHOW TABLES LIKE 'ac_payments'
#4477 - info - SHOW TABLES LIKE 'ac_payments'
#4478 - info - DROP TABLE `ac_payments`
#4479 - info - SHOW TABLES LIKE 'ac_reminders'
#4480 - info - SHOW TABLES LIKE 'ac_reminders'
#4481 - info - DROP TABLE `ac_reminders`
#4482 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4483 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4484 - info - DROP TABLE `ac_reminder_users`
#4485 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4486 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4487 - info - DROP TABLE `ac_custom_fields`
#4488 - info - SHOW TABLES LIKE 'ac_calendars'
#4489 - info - SHOW TABLES LIKE 'ac_calendars'
#4490 - info - DROP TABLE `ac_calendars`
#4491 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4492 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4493 - info - DROP TABLE `ac_calendar_events`
#4494 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4495 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4496 - info - DROP TABLE `ac_calendar_users`
#4497 - info - SHOW TABLES LIKE 'ac_data_sources'
#4498 - info - SHOW TABLES LIKE 'ac_data_sources'
#4499 - info - DROP TABLE `ac_data_sources`
#4500 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4501 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4502 - info - DROP TABLE `ac_data_source_mappings`
#4503 - info - SHOW TABLES LIKE 'ac_companies'
#4504 - info - SHOW TABLES LIKE 'ac_companies'
#4505 - info - DROP TABLE `ac_companies`
#4506 - info - SHOW TABLES LIKE 'ac_projects'
#4507 - info - SHOW TABLES LIKE 'ac_projects'
#4508 - info - DROP TABLE `ac_projects`
#4509 - info - SHOW TABLES LIKE 'ac_project_roles'
#4510 - info - SHOW TABLES LIKE 'ac_project_roles'
#4511 - info - DROP TABLE `ac_project_roles`
#4512 - info - SHOW TABLES LIKE 'ac_project_users'
#4513 - info - SHOW TABLES LIKE 'ac_project_users'
#4514 - info - DROP TABLE `ac_project_users`
#4515 - info - SHOW TABLES LIKE 'ac_project_requests'
#4516 - info - SHOW TABLES LIKE 'ac_project_requests'
#4517 - info - DROP TABLE `ac_project_requests`
#4518 - info - SHOW TABLES LIKE 'ac_project_objects'
#4519 - info - SHOW TABLES LIKE 'ac_project_objects'
#4520 - info - DROP TABLE `ac_project_objects`
#4521 - info - SHOW TABLES LIKE 'ac_project_templates'
#4522 - info - SHOW TABLES LIKE 'ac_project_templates'
#4523 - info - DROP TABLE `ac_project_templates`
#4524 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4525 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4526 - info - DROP TABLE `ac_project_object_templates`
#4527 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4528 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4529 - info - DROP TABLE `ac_shared_object_profiles`
#4530 - info - SHOW TABLES LIKE 'ac_file_versions'
#4531 - info - SHOW TABLES LIKE 'ac_file_versions'
#4532 - info - DROP TABLE `ac_file_versions`
#4533 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4534 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4535 - info - DROP TABLE `ac_text_document_versions`
#4536 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4537 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4538 - info - DROP TABLE `ac_public_task_forms`
#4539 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4540 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4541 - info - DROP TABLE `ac_related_tasks`
#4542 - info - SHOW TABLES LIKE 'ac_task_segments'
#4543 - info - SHOW TABLES LIKE 'ac_task_segments'
#4544 - info - DROP TABLE `ac_task_segments`
#4545 - info - SHOW TABLES LIKE 'ac_status_updates'
#4546 - info - SHOW TABLES LIKE 'ac_status_updates'
#4547 - info - DROP TABLE `ac_status_updates`
#4548 - info - SHOW TABLES LIKE 'ac_documents'
#4549 - info - SHOW TABLES LIKE 'ac_documents'
#4550 - info - DROP TABLE `ac_documents`
#4551 - info - SHOW TABLES LIKE 'ac_time_records'
#4552 - info - SHOW TABLES LIKE 'ac_time_records'
#4553 - info - DROP TABLE `ac_time_records`
#4554 - info - SHOW TABLES LIKE 'ac_job_types'
#4555 - info - SHOW TABLES LIKE 'ac_job_types'
#4556 - info - DROP TABLE `ac_job_types`
#4557 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4558 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4559 - info - DROP TABLE `ac_project_hourly_rates`
#4560 - info - SHOW TABLES LIKE 'ac_expenses'
#4561 - info - SHOW TABLES LIKE 'ac_expenses'
#4562 - info - DROP TABLE `ac_expenses`
#4563 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4564 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4565 - info - DROP TABLE `ac_expense_categories`
#4566 - info - SHOW TABLES LIKE 'ac_estimates'
#4567 - info - SHOW TABLES LIKE 'ac_estimates'
#4568 - info - DROP TABLE `ac_estimates`
#4569 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4570 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4571 - info - DROP TABLE `ac_invoice_objects`
#4572 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4573 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4574 - info - DROP TABLE `ac_invoice_object_items`
#4575 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4576 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4577 - info - DROP TABLE `ac_invoice_item_templates`
#4578 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4579 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4580 - info - DROP TABLE `ac_invoice_note_templates`
#4581 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4582 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4583 - info - DROP TABLE `ac_invoice_related_records`
#4584 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4585 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4586 - info - DROP TABLE `ac_tax_rates`
#4587 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4588 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4589 - info - DROP TABLE `ac_notebook_pages`
#4590 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4591 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4592 - info - DROP TABLE `ac_notebook_page_versions`
#4593 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4594 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4595 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4596 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4597 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4598 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4599 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4600 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4601 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4602 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4603 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4604 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4605 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4606 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4607 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4608 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4609 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4610 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4611 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4612 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4613 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4614 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4615 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4616 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4617 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4618 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4619 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4620 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4621 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4622 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4623 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4624 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4625 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4626 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4627 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4628 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4629 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4630 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4631 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4632 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4633 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4634 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4635 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4636 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4637 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4638 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4639 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4640 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4641 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4642 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4643 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4644 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4645 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4646 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4647 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4648 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4649 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4650 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4651 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4652 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4653 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4654 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4655 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4656 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4657 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4658 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4659 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4660 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4661 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4662 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4663 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4664 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4665 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4666 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4667 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4668 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4669 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4670 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4671 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4672 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4673 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4674 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4675 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4676 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4677 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4678 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4697 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4698 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4699 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4700 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4701 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4702 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4703 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4704 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4705 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4708 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4709 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4710 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4711 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4712 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4714 - info - BEGIN WORK
#4715 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4716 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4717 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4718 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4719 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4720 - info - COMMIT
#4721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4734 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4735 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4736 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4737 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4738 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4739 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4740 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4741 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4742 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4743 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4744 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4745 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4746 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4747 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4748 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4749 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4750 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4751 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4752 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4753 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4754 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4755 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4756 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4757 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4758 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4759 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4760 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4761 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4762 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4772 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4773 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4774 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387395011;')
#4775 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4776 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4777 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4778 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4779 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4780 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4781 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4782 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4783 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4784 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4785 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4786 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4787 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4788 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4789 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4790 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4791 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4792 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4793 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4794 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4795 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4796 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4797 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4798 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4799 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4800 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4801 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4802 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4803 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#4804 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1

cache

#1 - info - Cache miss 'installed_non_system_modues'
#2 - info - Cache hit 'installed_non_system_modues'
#3 - info - Cache hit 'installed_non_system_modues'
#4 - info - Cache hit 'installed_non_system_modues'
#5 - info - Cache hit 'installed_non_system_modues'
#6 - info - Cache hit 'installed_non_system_modues'
#7 - info - Cache hit 'installed_non_system_modues'
#8 - info - Cache hit 'installed_non_system_modues'
#9 - info - Cache hit 'installed_non_system_modues'
#10 - info - Cache hit 'installed_non_system_modues'
#11 - info - Cache miss 'root_url'
#12 - info - Cache miss 'models/test_data_objects/1'
#13 - info - Cache hit 'models/test_data_objects/1'
#14 - info - Cache miss 'models/test_data_objects/1'
#15 - info - Cache miss 'something_to_get'
#16 - info - Cache hit 'something_to_get'
#17 - info - Cache miss 'something_to_get'
#18 - info - Cache miss 'config_values'
#19 - info - Cache hit 'config_values'
#20 - info - Cache hit 'config_values'
#21 - info - Cache hit 'config_values'
#22 - info - Cache miss 'models/users/1'
#23 - info - Cache miss 'config_values'
#24 - info - Cache hit 'config_values'
#25 - info - Cache miss 'models/users/1'
#26 - info - Cache hit 'models/users/1'
#27 - info - Cache hit 'models/users/1'
#28 - info - Cache miss 'models/users/1/config_options'
#29 - info - Cache miss 'config_values'
#30 - info - Cache hit 'models/users/1/config_options'
#31 - info - Cache hit 'config_values'
#32 - info - Cache hit 'models/users/1/config_options'
#33 - info - Cache hit 'config_values'
#34 - info - Cache hit 'models/users/1/config_options'
#35 - info - Cache hit 'config_values'
#36 - info - Cache hit 'models/users/1'
#37 - info - Cache hit 'models/users/1'
#38 - info - Cache hit 'models/users/1/config_options'
#39 - info - Cache hit 'models/users/1'
#40 - info - Cache hit 'models/users/1/config_options'
#41 - info - Cache hit 'models/users/1/config_options'
#42 - info - Cache hit 'models/users/1'
#43 - info - Cache hit 'models/users/1'
#44 - info - Cache miss 'models/test_data_objects/1'
#45 - info - Cache miss 'models/test_data_objects/1'
#46 - info - Cache miss 'models/test_data_objects/1'
#47 - info - Cache miss 'models/test_data_objects/12'
#48 - info - Cache hit 'config_values'
#49 - info - Cache hit 'config_values'
#50 - info - Cache miss 'models/users/1'
#51 - info - Cache miss 'config_values'
#52 - info - Cache hit 'config_values'
#53 - info - Cache miss 'models/users/1'
#54 - info - Cache miss 'config_values'
#55 - info - Cache hit 'config_values'
#56 - info - Cache hit 'config_values'
#57 - info - Cache hit 'config_values'
#58 - info - Cache hit 'config_values'
#59 - info - Cache hit 'config_values'
#60 - info - Cache miss 'config_values'
#61 - info - Cache hit 'config_values'
#62 - info - Cache miss 'models/users/1'
#63 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#64 - info - Cache miss 'models/test_config_options_object1s/2/config_options'
#65 - info - Cache miss 'models/test_config_options_object2s/1/config_options'
#66 - info - Cache miss 'config_values'
#67 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#68 - info - Cache hit 'models/test_config_options_object1s/1/config_options'
#69 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#70 - info - Cache hit 'config_values'
#71 - info - Cache hit 'config_values'
#72 - info - Cache hit 'config_values'
#73 - info - Cache miss 'models/users/1'
#74 - info - Cache hit 'models/users/1'
#75 - info - Cache miss 'models/users/1/config_options'
#76 - info - Cache miss 'models/users/1'

events

#1 - info - Event 'on_before_object_validation' triggered
#2 - info - Event 'on_after_object_validation' triggered
#3 - info - Event 'on_before_object_save' triggered
#4 - info - Event 'on_before_object_insert' triggered
#5 - info - Event 'on_object_inserted' triggered
#6 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#7 - info - Event 'on_after_object_save' triggered
#8 - info - Event 'on_before_object_validation' triggered
#9 - info - Event 'on_after_object_validation' triggered
#10 - info - Event 'on_before_object_save' triggered
#11 - info - Event 'on_before_object_update' triggered
#12 - info - Event 'on_object_updated' triggered
#13 - info - Event 'on_after_object_save' triggered
#14 - info - Event 'on_before_object_deleted' triggered
#15 - info - Event 'on_object_deleted' triggered
#16 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#17 - info - Event 'on_search_indices' triggered
#18 - info - Callback 'help_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#19 - info - Callback 'authentication_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#20 - info - Callback 'system_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#21 - info - Callback 'documents_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#22 - info - Event 'on_before_object_validation' triggered
#23 - info - Event 'on_after_object_validation' triggered
#24 - info - Event 'on_before_object_save' triggered
#25 - info - Event 'on_before_object_insert' triggered
#26 - info - Event 'on_object_inserted' triggered
#27 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#28 - info - Event 'on_after_object_save' triggered
#29 - info - Event 'on_before_object_validation' triggered
#30 - info - Event 'on_after_object_validation' triggered
#31 - info - Event 'on_before_object_save' triggered
#32 - info - Event 'on_before_object_insert' triggered
#33 - info - Event 'on_object_inserted' triggered
#34 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#35 - info - Event 'on_after_object_save' triggered
#36 - info - Event 'on_before_object_validation' triggered
#37 - info - Event 'on_after_object_validation' triggered
#38 - info - Event 'on_before_object_save' triggered
#39 - info - Event 'on_before_object_insert' triggered
#40 - info - Event 'on_object_inserted' triggered
#41 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#42 - info - Event 'on_after_object_save' triggered
#43 - info - Event 'on_before_object_deleted' triggered
#44 - info - Event 'on_object_deleted' triggered
#45 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#46 - info - Event 'on_before_object_validation' triggered
#47 - info - Event 'on_after_object_validation' triggered
#48 - info - Event 'on_before_object_save' triggered
#49 - info - Event 'on_before_object_insert' triggered
#50 - info - Event 'on_object_inserted' triggered
#51 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#52 - info - Event 'on_after_object_save' triggered
#53 - info - Event 'on_before_object_deleted' triggered
#54 - info - Event 'on_object_deleted' triggered
#55 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#56 - info - Event 'on_before_object_validation' triggered
#57 - info - Event 'on_after_object_validation' triggered
#58 - info - Event 'on_before_object_save' triggered
#59 - info - Event 'on_before_object_insert' triggered
#60 - info - Event 'on_object_inserted' triggered
#61 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#62 - info - Event 'on_after_object_save' triggered
#63 - info - Event 'on_before_object_validation' triggered
#64 - info - Event 'on_after_object_validation' triggered
#65 - info - Event 'on_before_object_save' triggered
#66 - info - Event 'on_before_object_insert' triggered
#67 - info - Event 'on_object_inserted' triggered
#68 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#69 - info - Event 'on_after_object_save' triggered
#70 - info - Event 'on_before_object_validation' triggered
#71 - info - Event 'on_after_object_validation' triggered
#72 - info - Event 'on_before_object_save' triggered
#73 - info - Event 'on_before_object_insert' triggered
#74 - info - Event 'on_object_inserted' triggered
#75 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#76 - info - Event 'on_after_object_save' triggered
#77 - info - Event 'on_before_object_validation' triggered
#78 - info - Event 'on_after_object_validation' triggered
#79 - info - Event 'on_before_object_save' triggered
#80 - info - Event 'on_before_object_update' triggered
#81 - info - Event 'on_object_updated' triggered
#82 - info - Event 'on_after_object_save' triggered
#83 - info - Event 'on_before_object_validation' triggered
#84 - info - Event 'on_after_object_validation' triggered
#85 - info - Event 'on_before_object_save' triggered
#86 - info - Event 'on_before_object_insert' triggered
#87 - info - Event 'on_object_inserted' triggered
#88 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#89 - info - Event 'on_after_object_save' triggered
#90 - info - Event 'on_before_object_validation' triggered
#91 - info - Event 'on_after_object_validation' triggered
#92 - info - Event 'on_before_object_save' triggered
#93 - info - Event 'on_before_object_update' triggered
#94 - info - Event 'on_object_updated' triggered
#95 - info - Event 'on_after_object_save' triggered
#96 - info - Event 'on_before_object_validation' triggered
#97 - info - Event 'on_after_object_validation' triggered
#98 - info - Event 'on_before_object_validation' triggered
#99 - info - Event 'on_after_object_validation' triggered
#100 - info - Event 'on_before_object_save' triggered
#101 - info - Event 'on_before_object_insert' triggered
#102 - info - Event 'on_object_inserted' triggered
#103 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#104 - info - Event 'on_after_object_save' triggered
#105 - info - Event 'on_before_object_validation' triggered
#106 - info - Event 'on_after_object_validation' triggered
#107 - info - Event 'on_before_object_validation' triggered
#108 - info - Event 'on_after_object_validation' triggered
#109 - info - Event 'on_before_object_save' triggered
#110 - info - Event 'on_before_object_insert' triggered
#111 - info - Event 'on_object_inserted' triggered
#112 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#113 - info - Event 'on_shutdown' triggered

======================================================

Logged on: Wednesday, 18-Dec-13 14:39:48 GMT
Memory usage: 122.52MB
Available groups: all, caching, sql, cache, events

all:

#1 - error - [Notice] Use of undefined constant WORK_PATH - assumed 'WORK_PATH' (in /Build/Workspaces/QA/angie/vendor/vcard/init.php on 12)
#2 - error - [Notice] Constant ANGIE_PATH already defined (in /Build/Workspaces/QA/activeCollab/instance/config/config.test.php on 7)
#3 - error - [Notice] Constant DB_CHARSET already defined (in /Build/Workspaces/QA/activeCollab/instance/config/config.test.php on 15)
#4 - info - APC cache backend loaded
#5 - info - SET NAMES 'utf8'
#6 - info - SET SESSION character_set_database = 'utf8'
#7 - info - SHOW TABLES LIKE 'ac_config_options'
#8 - info - SHOW TABLES LIKE 'ac_config_options'
#9 - info - DROP TABLE `ac_config_options`
#10 - info - SHOW TABLES LIKE 'ac_config_option_values'
#11 - info - SHOW TABLES LIKE 'ac_config_option_values'
#12 - info - DROP TABLE `ac_config_option_values`
#13 - info - SHOW TABLES LIKE 'ac_modules'
#14 - info - SHOW TABLES LIKE 'ac_modules'
#15 - info - DROP TABLE `ac_modules`
#16 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#17 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#18 - info - DROP TABLE `ac_executed_model_migrations`
#19 - info - SHOW TABLES LIKE 'ac_update_history'
#20 - info - SHOW TABLES LIKE 'ac_update_history'
#21 - info - DROP TABLE `ac_update_history`
#22 - info - SHOW TABLES LIKE 'ac_access_logs'
#23 - info - SHOW TABLES LIKE 'ac_access_logs'
#24 - info - DROP TABLE `ac_access_logs`
#25 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#26 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#27 - info - DROP TABLE `ac_access_logs_archive`
#28 - info - SHOW TABLES LIKE 'ac_object_contexts'
#29 - info - SHOW TABLES LIKE 'ac_object_contexts'
#30 - info - DROP TABLE `ac_object_contexts`
#31 - info - SHOW TABLES LIKE 'ac_routing_cache'
#32 - info - SHOW TABLES LIKE 'ac_routing_cache'
#33 - info - DROP TABLE `ac_routing_cache`
#34 - info - SHOW TABLES LIKE 'ac_currencies'
#35 - info - SHOW TABLES LIKE 'ac_currencies'
#36 - info - DROP TABLE `ac_currencies`
#37 - info - SHOW TABLES LIKE 'ac_day_offs'
#38 - info - SHOW TABLES LIKE 'ac_day_offs'
#39 - info - DROP TABLE `ac_day_offs`
#40 - info - SHOW TABLES LIKE 'ac_languages'
#41 - info - SHOW TABLES LIKE 'ac_languages'
#42 - info - DROP TABLE `ac_languages`
#43 - info - SHOW TABLES LIKE 'ac_language_phrases'
#44 - info - SHOW TABLES LIKE 'ac_language_phrases'
#45 - info - DROP TABLE `ac_language_phrases`
#46 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#47 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#48 - info - DROP TABLE `ac_language_phrase_translations`
#49 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#50 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#51 - info - DROP TABLE `ac_api_client_subscriptions`
#52 - info - SHOW TABLES LIKE 'ac_users'
#53 - info - SHOW TABLES LIKE 'ac_users'
#54 - info - DROP TABLE `ac_users`
#55 - info - SHOW TABLES LIKE 'ac_user_addresses'
#56 - info - SHOW TABLES LIKE 'ac_user_addresses'
#57 - info - DROP TABLE `ac_user_addresses`
#58 - info - SHOW TABLES LIKE 'ac_user_sessions'
#59 - info - SHOW TABLES LIKE 'ac_user_sessions'
#60 - info - DROP TABLE `ac_user_sessions`
#61 - info - SHOW TABLES LIKE 'ac_security_logs'
#62 - info - SHOW TABLES LIKE 'ac_security_logs'
#63 - info - DROP TABLE `ac_security_logs`
#64 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#65 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#66 - info - DROP TABLE `ac_api_token_logs`
#67 - info - SHOW TABLES LIKE 'ac_activity_logs'
#68 - info - SHOW TABLES LIKE 'ac_activity_logs'
#69 - info - DROP TABLE `ac_activity_logs`
#70 - info - SHOW TABLES LIKE 'ac_data_filters'
#71 - info - SHOW TABLES LIKE 'ac_data_filters'
#72 - info - DROP TABLE `ac_data_filters`
#73 - info - SHOW TABLES LIKE 'ac_modification_logs'
#74 - info - SHOW TABLES LIKE 'ac_modification_logs'
#75 - info - DROP TABLE `ac_modification_logs`
#76 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#77 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#78 - info - DROP TABLE `ac_modification_log_values`
#79 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#80 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#81 - info - DROP TABLE `ac_mailing_activity_logs`
#82 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#83 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#84 - info - DROP TABLE `ac_outgoing_messages`
#85 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#86 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#87 - info - DROP TABLE `ac_incoming_mail_attachments`
#88 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#89 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#90 - info - DROP TABLE `ac_incoming_mail_filters`
#91 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#92 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#93 - info - DROP TABLE `ac_incoming_mailboxes`
#94 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#95 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#96 - info - DROP TABLE `ac_incoming_mails`
#97 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#98 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#99 - info - DROP TABLE `ac_homescreen_tabs`
#100 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#101 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#102 - info - DROP TABLE `ac_homescreen_widgets`
#103 - info - SHOW TABLES LIKE 'ac_announcements'
#104 - info - SHOW TABLES LIKE 'ac_announcements'
#105 - info - DROP TABLE `ac_announcements`
#106 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#107 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#108 - info - DROP TABLE `ac_announcement_target_ids`
#109 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#110 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#111 - info - DROP TABLE `ac_announcement_dismissals`
#112 - info - SHOW TABLES LIKE 'ac_attachments'
#113 - info - SHOW TABLES LIKE 'ac_attachments'
#114 - info - DROP TABLE `ac_attachments`
#115 - info - SHOW TABLES LIKE 'ac_notifications'
#116 - info - SHOW TABLES LIKE 'ac_notifications'
#117 - info - DROP TABLE `ac_notifications`
#118 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#119 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#120 - info - DROP TABLE `ac_notification_recipients`
#121 - info - SHOW TABLES LIKE 'ac_subscriptions'
#122 - info - SHOW TABLES LIKE 'ac_subscriptions'
#123 - info - DROP TABLE `ac_subscriptions`
#124 - info - SHOW TABLES LIKE 'ac_comments'
#125 - info - SHOW TABLES LIKE 'ac_comments'
#126 - info - DROP TABLE `ac_comments`
#127 - info - SHOW TABLES LIKE 'ac_categories'
#128 - info - SHOW TABLES LIKE 'ac_categories'
#129 - info - DROP TABLE `ac_categories`
#130 - info - SHOW TABLES LIKE 'ac_labels'
#131 - info - SHOW TABLES LIKE 'ac_labels'
#132 - info - DROP TABLE `ac_labels`
#133 - info - SHOW TABLES LIKE 'ac_assignments'
#134 - info - SHOW TABLES LIKE 'ac_assignments'
#135 - info - DROP TABLE `ac_assignments`
#136 - info - SHOW TABLES LIKE 'ac_subtasks'
#137 - info - SHOW TABLES LIKE 'ac_subtasks'
#138 - info - DROP TABLE `ac_subtasks`
#139 - info - SHOW TABLES LIKE 'ac_favorites'
#140 - info - SHOW TABLES LIKE 'ac_favorites'
#141 - info - DROP TABLE `ac_favorites`
#142 - info - SHOW TABLES LIKE 'ac_code_snippets'
#143 - info - SHOW TABLES LIKE 'ac_code_snippets'
#144 - info - DROP TABLE `ac_code_snippets`
#145 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#146 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#147 - info - DROP TABLE `ac_payment_gateways`
#148 - info - SHOW TABLES LIKE 'ac_payments'
#149 - info - SHOW TABLES LIKE 'ac_payments'
#150 - info - DROP TABLE `ac_payments`
#151 - info - SHOW TABLES LIKE 'ac_reminders'
#152 - info - SHOW TABLES LIKE 'ac_reminders'
#153 - info - DROP TABLE `ac_reminders`
#154 - info - SHOW TABLES LIKE 'ac_reminder_users'
#155 - info - SHOW TABLES LIKE 'ac_reminder_users'
#156 - info - DROP TABLE `ac_reminder_users`
#157 - info - SHOW TABLES LIKE 'ac_custom_fields'
#158 - info - SHOW TABLES LIKE 'ac_custom_fields'
#159 - info - DROP TABLE `ac_custom_fields`
#160 - info - SHOW TABLES LIKE 'ac_calendars'
#161 - info - SHOW TABLES LIKE 'ac_calendars'
#162 - info - DROP TABLE `ac_calendars`
#163 - info - SHOW TABLES LIKE 'ac_calendar_events'
#164 - info - SHOW TABLES LIKE 'ac_calendar_events'
#165 - info - DROP TABLE `ac_calendar_events`
#166 - info - SHOW TABLES LIKE 'ac_calendar_users'
#167 - info - SHOW TABLES LIKE 'ac_calendar_users'
#168 - info - DROP TABLE `ac_calendar_users`
#169 - info - SHOW TABLES LIKE 'ac_data_sources'
#170 - info - SHOW TABLES LIKE 'ac_data_sources'
#171 - info - DROP TABLE `ac_data_sources`
#172 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#173 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#174 - info - DROP TABLE `ac_data_source_mappings`
#175 - info - SHOW TABLES LIKE 'ac_companies'
#176 - info - SHOW TABLES LIKE 'ac_companies'
#177 - info - DROP TABLE `ac_companies`
#178 - info - SHOW TABLES LIKE 'ac_projects'
#179 - info - SHOW TABLES LIKE 'ac_projects'
#180 - info - DROP TABLE `ac_projects`
#181 - info - SHOW TABLES LIKE 'ac_project_roles'
#182 - info - SHOW TABLES LIKE 'ac_project_roles'
#183 - info - DROP TABLE `ac_project_roles`
#184 - info - SHOW TABLES LIKE 'ac_project_users'
#185 - info - SHOW TABLES LIKE 'ac_project_users'
#186 - info - DROP TABLE `ac_project_users`
#187 - info - SHOW TABLES LIKE 'ac_project_requests'
#188 - info - SHOW TABLES LIKE 'ac_project_requests'
#189 - info - DROP TABLE `ac_project_requests`
#190 - info - SHOW TABLES LIKE 'ac_project_objects'
#191 - info - SHOW TABLES LIKE 'ac_project_objects'
#192 - info - DROP TABLE `ac_project_objects`
#193 - info - SHOW TABLES LIKE 'ac_project_templates'
#194 - info - SHOW TABLES LIKE 'ac_project_templates'
#195 - info - DROP TABLE `ac_project_templates`
#196 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#197 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#198 - info - DROP TABLE `ac_project_object_templates`
#199 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#200 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#201 - info - DROP TABLE `ac_shared_object_profiles`
#202 - info - SHOW TABLES LIKE 'ac_file_versions'
#203 - info - SHOW TABLES LIKE 'ac_file_versions'
#204 - info - DROP TABLE `ac_file_versions`
#205 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#206 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#207 - info - DROP TABLE `ac_text_document_versions`
#208 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#209 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#210 - info - DROP TABLE `ac_public_task_forms`
#211 - info - SHOW TABLES LIKE 'ac_related_tasks'
#212 - info - SHOW TABLES LIKE 'ac_related_tasks'
#213 - info - DROP TABLE `ac_related_tasks`
#214 - info - SHOW TABLES LIKE 'ac_task_segments'
#215 - info - SHOW TABLES LIKE 'ac_task_segments'
#216 - info - DROP TABLE `ac_task_segments`
#217 - info - SHOW TABLES LIKE 'ac_status_updates'
#218 - info - SHOW TABLES LIKE 'ac_status_updates'
#219 - info - DROP TABLE `ac_status_updates`
#220 - info - SHOW TABLES LIKE 'ac_documents'
#221 - info - SHOW TABLES LIKE 'ac_documents'
#222 - info - DROP TABLE `ac_documents`
#223 - info - SHOW TABLES LIKE 'ac_time_records'
#224 - info - SHOW TABLES LIKE 'ac_time_records'
#225 - info - DROP TABLE `ac_time_records`
#226 - info - SHOW TABLES LIKE 'ac_job_types'
#227 - info - SHOW TABLES LIKE 'ac_job_types'
#228 - info - DROP TABLE `ac_job_types`
#229 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#230 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#231 - info - DROP TABLE `ac_project_hourly_rates`
#232 - info - SHOW TABLES LIKE 'ac_expenses'
#233 - info - SHOW TABLES LIKE 'ac_expenses'
#234 - info - DROP TABLE `ac_expenses`
#235 - info - SHOW TABLES LIKE 'ac_expense_categories'
#236 - info - SHOW TABLES LIKE 'ac_expense_categories'
#237 - info - DROP TABLE `ac_expense_categories`
#238 - info - SHOW TABLES LIKE 'ac_estimates'
#239 - info - SHOW TABLES LIKE 'ac_estimates'
#240 - info - DROP TABLE `ac_estimates`
#241 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#242 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#243 - info - DROP TABLE `ac_invoice_objects`
#244 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#245 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#246 - info - DROP TABLE `ac_invoice_object_items`
#247 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#248 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#249 - info - DROP TABLE `ac_invoice_item_templates`
#250 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#251 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#252 - info - DROP TABLE `ac_invoice_note_templates`
#253 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#254 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#255 - info - DROP TABLE `ac_invoice_related_records`
#256 - info - SHOW TABLES LIKE 'ac_tax_rates'
#257 - info - SHOW TABLES LIKE 'ac_tax_rates'
#258 - info - DROP TABLE `ac_tax_rates`
#259 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#260 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#261 - info - DROP TABLE `ac_notebook_pages`
#262 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#263 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#264 - info - DROP TABLE `ac_notebook_page_versions`
#265 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#266 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#267 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#268 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#269 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#270 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#271 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#272 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#273 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#274 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#275 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#276 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#277 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#278 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#279 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#280 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#281 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#282 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#283 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#284 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#285 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#286 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#287 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#288 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#289 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#290 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#291 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#292 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#293 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#294 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#295 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#296 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#297 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#298 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#299 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#300 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#301 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#302 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#303 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#304 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#305 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#306 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#307 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#308 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#309 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#310 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#311 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#312 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#313 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#314 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#315 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#316 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#317 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#318 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#319 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#320 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#321 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#322 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#323 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#324 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#325 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#326 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#327 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#328 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#329 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#330 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#331 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#332 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#333 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#334 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#335 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#336 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#337 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#338 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#339 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#340 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#341 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#342 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#343 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#344 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#345 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#346 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#347 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#348 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#349 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#350 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#386 - info - BEGIN WORK
#387 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#388 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#389 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#390 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#391 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#392 - info - COMMIT
#393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#417 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#420 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#421 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#422 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#423 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#424 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#425 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#426 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#427 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#428 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#429 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#430 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#431 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#432 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#433 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377484;')
#447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#459 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#460 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#461 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#463 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#471 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#472 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#484 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#486 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#490 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#491 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#492 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#493 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#494 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:04', '1')
#495 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#496 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#497 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#498 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#500 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#502 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#508 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#509 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#510 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#511 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#513 - info - BEGIN WORK
#514 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#515 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#516 - info - COMMIT
#517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#518 - info - BEGIN WORK
#519 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#520 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#521 - info - COMMIT
#522 - info - BEGIN WORK
#523 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#524 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#525 - info - COMMIT
#526 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#527 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#528 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#554 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#557 - info - SHOW TABLES LIKE 'ac_job_types'
#558 - info - SELECT COUNT(id) FROM ac_job_types
#559 - info - SHOW TABLES LIKE 'ac_tax_rates'
#560 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#561 - info - BEGIN WORK
#562 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#563 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#564 - info - COMMIT
#565 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#566 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#567 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#568 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#569 - info - SELECT COUNT(name) FROM ac_modules
#570 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#571 - info - SELECT name FROM ac_modules
#572 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#573 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#574 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#575 - info - Cache miss 'installed_non_system_modues'
#576 - info - SELECT name, is_enabled FROM ac_modules WHERE name != 'system' ORDER BY position
#577 - info - Cache hit 'installed_non_system_modues'
#578 - info - Cache hit 'installed_non_system_modues'
#579 - info - Cache hit 'installed_non_system_modues'
#580 - info - Cache hit 'installed_non_system_modues'
#581 - info - Cache hit 'installed_non_system_modues'
#582 - info - Cache hit 'installed_non_system_modues'
#583 - info - Cache hit 'installed_non_system_modues'
#584 - info - Cache hit 'installed_non_system_modues'
#585 - info - Cache hit 'installed_non_system_modues'
#586 - info - Cache miss 'root_url'
#587 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#588 - info - File system cache backend loaded
#589 - info - BEGIN WORK
#590 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#591 - info - Event 'on_before_object_validation' triggered
#592 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#593 - info - Event 'on_after_object_validation' triggered
#594 - info - Event 'on_before_object_save' triggered
#595 - info - Event 'on_before_object_insert' triggered
#596 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'File', '2013-12-18 14:38:04')
#597 - info - Event 'on_object_inserted' triggered
#598 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#599 - info - Event 'on_after_object_save' triggered
#600 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#601 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#602 - info - COMMIT
#603 - info - Cache miss 'models/test_data_objects/1'
#604 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#605 - info - Cache hit 'models/test_data_objects/1'
#606 - info - BEGIN WORK
#607 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#608 - info - Event 'on_before_object_validation' triggered
#609 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'New name') AND (id <> '1')
#610 - info - Event 'on_after_object_validation' triggered
#611 - info - Event 'on_before_object_save' triggered
#612 - info - Event 'on_before_object_update' triggered
#613 - info - UPDATE ac_test_data_objects SET name = 'New name', updated_on = '2013-12-18 14:38:04' WHERE id = '1'
#614 - info - Event 'on_object_updated' triggered
#615 - info - Event 'on_after_object_save' triggered
#616 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#617 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#618 - info - COMMIT
#619 - info - Cache miss 'models/test_data_objects/1'
#620 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#621 - info - BEGIN WORK
#622 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#623 - info - Event 'on_before_object_deleted' triggered
#624 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#625 - info - Event 'on_object_deleted' triggered
#626 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#627 - info - COMMIT
#628 - info - DROP TABLE IF EXISTS ac_test_data_objects
#629 - info - File system cache backend loaded
#630 - info - Cache miss 'something_to_get'
#631 - info - Cache hit 'something_to_get'
#632 - info - File system cache backend loaded
#633 - info - Cache miss 'something_to_get'
#634 - info - SHOW TABLES LIKE 'ac_config_options'
#635 - info - SHOW TABLES LIKE 'ac_config_options'
#636 - info - DROP TABLE `ac_config_options`
#637 - info - SHOW TABLES LIKE 'ac_config_option_values'
#638 - info - SHOW TABLES LIKE 'ac_config_option_values'
#639 - info - DROP TABLE `ac_config_option_values`
#640 - info - SHOW TABLES LIKE 'ac_modules'
#641 - info - SHOW TABLES LIKE 'ac_modules'
#642 - info - DROP TABLE `ac_modules`
#643 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#644 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#645 - info - DROP TABLE `ac_executed_model_migrations`
#646 - info - SHOW TABLES LIKE 'ac_update_history'
#647 - info - SHOW TABLES LIKE 'ac_update_history'
#648 - info - DROP TABLE `ac_update_history`
#649 - info - SHOW TABLES LIKE 'ac_access_logs'
#650 - info - SHOW TABLES LIKE 'ac_access_logs'
#651 - info - DROP TABLE `ac_access_logs`
#652 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#653 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#654 - info - DROP TABLE `ac_access_logs_archive`
#655 - info - SHOW TABLES LIKE 'ac_object_contexts'
#656 - info - SHOW TABLES LIKE 'ac_object_contexts'
#657 - info - DROP TABLE `ac_object_contexts`
#658 - info - SHOW TABLES LIKE 'ac_routing_cache'
#659 - info - SHOW TABLES LIKE 'ac_routing_cache'
#660 - info - DROP TABLE `ac_routing_cache`
#661 - info - SHOW TABLES LIKE 'ac_currencies'
#662 - info - SHOW TABLES LIKE 'ac_currencies'
#663 - info - DROP TABLE `ac_currencies`
#664 - info - SHOW TABLES LIKE 'ac_day_offs'
#665 - info - SHOW TABLES LIKE 'ac_day_offs'
#666 - info - DROP TABLE `ac_day_offs`
#667 - info - SHOW TABLES LIKE 'ac_languages'
#668 - info - SHOW TABLES LIKE 'ac_languages'
#669 - info - DROP TABLE `ac_languages`
#670 - info - SHOW TABLES LIKE 'ac_language_phrases'
#671 - info - SHOW TABLES LIKE 'ac_language_phrases'
#672 - info - DROP TABLE `ac_language_phrases`
#673 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#674 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#675 - info - DROP TABLE `ac_language_phrase_translations`
#676 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#677 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#678 - info - DROP TABLE `ac_api_client_subscriptions`
#679 - info - SHOW TABLES LIKE 'ac_users'
#680 - info - SHOW TABLES LIKE 'ac_users'
#681 - info - DROP TABLE `ac_users`
#682 - info - SHOW TABLES LIKE 'ac_user_addresses'
#683 - info - SHOW TABLES LIKE 'ac_user_addresses'
#684 - info - DROP TABLE `ac_user_addresses`
#685 - info - SHOW TABLES LIKE 'ac_user_sessions'
#686 - info - SHOW TABLES LIKE 'ac_user_sessions'
#687 - info - DROP TABLE `ac_user_sessions`
#688 - info - SHOW TABLES LIKE 'ac_security_logs'
#689 - info - SHOW TABLES LIKE 'ac_security_logs'
#690 - info - DROP TABLE `ac_security_logs`
#691 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#692 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#693 - info - DROP TABLE `ac_api_token_logs`
#694 - info - SHOW TABLES LIKE 'ac_activity_logs'
#695 - info - SHOW TABLES LIKE 'ac_activity_logs'
#696 - info - DROP TABLE `ac_activity_logs`
#697 - info - SHOW TABLES LIKE 'ac_data_filters'
#698 - info - SHOW TABLES LIKE 'ac_data_filters'
#699 - info - DROP TABLE `ac_data_filters`
#700 - info - SHOW TABLES LIKE 'ac_modification_logs'
#701 - info - SHOW TABLES LIKE 'ac_modification_logs'
#702 - info - DROP TABLE `ac_modification_logs`
#703 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#704 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#705 - info - DROP TABLE `ac_modification_log_values`
#706 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#707 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#708 - info - DROP TABLE `ac_mailing_activity_logs`
#709 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#710 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#711 - info - DROP TABLE `ac_outgoing_messages`
#712 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#713 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#714 - info - DROP TABLE `ac_incoming_mail_attachments`
#715 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#716 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#717 - info - DROP TABLE `ac_incoming_mail_filters`
#718 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#719 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#720 - info - DROP TABLE `ac_incoming_mailboxes`
#721 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#722 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#723 - info - DROP TABLE `ac_incoming_mails`
#724 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#725 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#726 - info - DROP TABLE `ac_homescreen_tabs`
#727 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#728 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#729 - info - DROP TABLE `ac_homescreen_widgets`
#730 - info - SHOW TABLES LIKE 'ac_announcements'
#731 - info - SHOW TABLES LIKE 'ac_announcements'
#732 - info - DROP TABLE `ac_announcements`
#733 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#734 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#735 - info - DROP TABLE `ac_announcement_target_ids`
#736 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#737 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#738 - info - DROP TABLE `ac_announcement_dismissals`
#739 - info - SHOW TABLES LIKE 'ac_attachments'
#740 - info - SHOW TABLES LIKE 'ac_attachments'
#741 - info - DROP TABLE `ac_attachments`
#742 - info - SHOW TABLES LIKE 'ac_notifications'
#743 - info - SHOW TABLES LIKE 'ac_notifications'
#744 - info - DROP TABLE `ac_notifications`
#745 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#746 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#747 - info - DROP TABLE `ac_notification_recipients`
#748 - info - SHOW TABLES LIKE 'ac_subscriptions'
#749 - info - SHOW TABLES LIKE 'ac_subscriptions'
#750 - info - DROP TABLE `ac_subscriptions`
#751 - info - SHOW TABLES LIKE 'ac_comments'
#752 - info - SHOW TABLES LIKE 'ac_comments'
#753 - info - DROP TABLE `ac_comments`
#754 - info - SHOW TABLES LIKE 'ac_categories'
#755 - info - SHOW TABLES LIKE 'ac_categories'
#756 - info - DROP TABLE `ac_categories`
#757 - info - SHOW TABLES LIKE 'ac_labels'
#758 - info - SHOW TABLES LIKE 'ac_labels'
#759 - info - DROP TABLE `ac_labels`
#760 - info - SHOW TABLES LIKE 'ac_assignments'
#761 - info - SHOW TABLES LIKE 'ac_assignments'
#762 - info - DROP TABLE `ac_assignments`
#763 - info - SHOW TABLES LIKE 'ac_subtasks'
#764 - info - SHOW TABLES LIKE 'ac_subtasks'
#765 - info - DROP TABLE `ac_subtasks`
#766 - info - SHOW TABLES LIKE 'ac_favorites'
#767 - info - SHOW TABLES LIKE 'ac_favorites'
#768 - info - DROP TABLE `ac_favorites`
#769 - info - SHOW TABLES LIKE 'ac_code_snippets'
#770 - info - SHOW TABLES LIKE 'ac_code_snippets'
#771 - info - DROP TABLE `ac_code_snippets`
#772 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#773 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#774 - info - DROP TABLE `ac_payment_gateways`
#775 - info - SHOW TABLES LIKE 'ac_payments'
#776 - info - SHOW TABLES LIKE 'ac_payments'
#777 - info - DROP TABLE `ac_payments`
#778 - info - SHOW TABLES LIKE 'ac_reminders'
#779 - info - SHOW TABLES LIKE 'ac_reminders'
#780 - info - DROP TABLE `ac_reminders`
#781 - info - SHOW TABLES LIKE 'ac_reminder_users'
#782 - info - SHOW TABLES LIKE 'ac_reminder_users'
#783 - info - DROP TABLE `ac_reminder_users`
#784 - info - SHOW TABLES LIKE 'ac_custom_fields'
#785 - info - SHOW TABLES LIKE 'ac_custom_fields'
#786 - info - DROP TABLE `ac_custom_fields`
#787 - info - SHOW TABLES LIKE 'ac_calendars'
#788 - info - SHOW TABLES LIKE 'ac_calendars'
#789 - info - DROP TABLE `ac_calendars`
#790 - info - SHOW TABLES LIKE 'ac_calendar_events'
#791 - info - SHOW TABLES LIKE 'ac_calendar_events'
#792 - info - DROP TABLE `ac_calendar_events`
#793 - info - SHOW TABLES LIKE 'ac_calendar_users'
#794 - info - SHOW TABLES LIKE 'ac_calendar_users'
#795 - info - DROP TABLE `ac_calendar_users`
#796 - info - SHOW TABLES LIKE 'ac_data_sources'
#797 - info - SHOW TABLES LIKE 'ac_data_sources'
#798 - info - DROP TABLE `ac_data_sources`
#799 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#800 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#801 - info - DROP TABLE `ac_data_source_mappings`
#802 - info - SHOW TABLES LIKE 'ac_companies'
#803 - info - SHOW TABLES LIKE 'ac_companies'
#804 - info - DROP TABLE `ac_companies`
#805 - info - SHOW TABLES LIKE 'ac_projects'
#806 - info - SHOW TABLES LIKE 'ac_projects'
#807 - info - DROP TABLE `ac_projects`
#808 - info - SHOW TABLES LIKE 'ac_project_roles'
#809 - info - SHOW TABLES LIKE 'ac_project_roles'
#810 - info - DROP TABLE `ac_project_roles`
#811 - info - SHOW TABLES LIKE 'ac_project_users'
#812 - info - SHOW TABLES LIKE 'ac_project_users'
#813 - info - DROP TABLE `ac_project_users`
#814 - info - SHOW TABLES LIKE 'ac_project_requests'
#815 - info - SHOW TABLES LIKE 'ac_project_requests'
#816 - info - DROP TABLE `ac_project_requests`
#817 - info - SHOW TABLES LIKE 'ac_project_objects'
#818 - info - SHOW TABLES LIKE 'ac_project_objects'
#819 - info - DROP TABLE `ac_project_objects`
#820 - info - SHOW TABLES LIKE 'ac_project_templates'
#821 - info - SHOW TABLES LIKE 'ac_project_templates'
#822 - info - DROP TABLE `ac_project_templates`
#823 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#824 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#825 - info - DROP TABLE `ac_project_object_templates`
#826 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#827 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#828 - info - DROP TABLE `ac_shared_object_profiles`
#829 - info - SHOW TABLES LIKE 'ac_file_versions'
#830 - info - SHOW TABLES LIKE 'ac_file_versions'
#831 - info - DROP TABLE `ac_file_versions`
#832 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#833 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#834 - info - DROP TABLE `ac_text_document_versions`
#835 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#836 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#837 - info - DROP TABLE `ac_public_task_forms`
#838 - info - SHOW TABLES LIKE 'ac_related_tasks'
#839 - info - SHOW TABLES LIKE 'ac_related_tasks'
#840 - info - DROP TABLE `ac_related_tasks`
#841 - info - SHOW TABLES LIKE 'ac_task_segments'
#842 - info - SHOW TABLES LIKE 'ac_task_segments'
#843 - info - DROP TABLE `ac_task_segments`
#844 - info - SHOW TABLES LIKE 'ac_status_updates'
#845 - info - SHOW TABLES LIKE 'ac_status_updates'
#846 - info - DROP TABLE `ac_status_updates`
#847 - info - SHOW TABLES LIKE 'ac_documents'
#848 - info - SHOW TABLES LIKE 'ac_documents'
#849 - info - DROP TABLE `ac_documents`
#850 - info - SHOW TABLES LIKE 'ac_time_records'
#851 - info - SHOW TABLES LIKE 'ac_time_records'
#852 - info - DROP TABLE `ac_time_records`
#853 - info - SHOW TABLES LIKE 'ac_job_types'
#854 - info - SHOW TABLES LIKE 'ac_job_types'
#855 - info - DROP TABLE `ac_job_types`
#856 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#857 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#858 - info - DROP TABLE `ac_project_hourly_rates`
#859 - info - SHOW TABLES LIKE 'ac_expenses'
#860 - info - SHOW TABLES LIKE 'ac_expenses'
#861 - info - DROP TABLE `ac_expenses`
#862 - info - SHOW TABLES LIKE 'ac_expense_categories'
#863 - info - SHOW TABLES LIKE 'ac_expense_categories'
#864 - info - DROP TABLE `ac_expense_categories`
#865 - info - SHOW TABLES LIKE 'ac_estimates'
#866 - info - SHOW TABLES LIKE 'ac_estimates'
#867 - info - DROP TABLE `ac_estimates`
#868 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#869 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#870 - info - DROP TABLE `ac_invoice_objects`
#871 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#872 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#873 - info - DROP TABLE `ac_invoice_object_items`
#874 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#875 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#876 - info - DROP TABLE `ac_invoice_item_templates`
#877 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#878 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#879 - info - DROP TABLE `ac_invoice_note_templates`
#880 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#881 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#882 - info - DROP TABLE `ac_invoice_related_records`
#883 - info - SHOW TABLES LIKE 'ac_tax_rates'
#884 - info - SHOW TABLES LIKE 'ac_tax_rates'
#885 - info - DROP TABLE `ac_tax_rates`
#886 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#887 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#888 - info - DROP TABLE `ac_notebook_pages`
#889 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#890 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#891 - info - DROP TABLE `ac_notebook_page_versions`
#892 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#893 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#894 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#895 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#896 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#897 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#898 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#899 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#900 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#901 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#902 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#903 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#904 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#905 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#906 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#907 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#908 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#909 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#910 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#911 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#912 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#913 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#914 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#915 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#916 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#917 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#918 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#919 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#920 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#921 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#922 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#923 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#924 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#925 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#926 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#927 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#928 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#929 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#930 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#931 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#932 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#933 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#934 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#935 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#936 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#937 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#938 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#939 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#940 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#941 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#942 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#943 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#944 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#945 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#946 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#947 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#948 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#949 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#950 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#951 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#952 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#953 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#954 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#955 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#956 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#957 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#958 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#959 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#960 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#961 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#962 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#963 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#964 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#965 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#966 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#967 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#968 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#969 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#970 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#971 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#972 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#973 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#974 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#975 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#976 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#977 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1005 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1006 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1007 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1008 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1009 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1010 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1011 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1012 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1013 - info - BEGIN WORK
#1014 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1015 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1016 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1017 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1018 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1019 - info - COMMIT
#1020 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1036 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1042 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1043 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1044 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1045 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1046 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1047 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1048 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1049 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1050 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1051 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1052 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1053 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1054 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1055 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1056 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1057 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1058 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1059 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1060 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377485;')
#1074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1082 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1083 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1084 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1085 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1086 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1087 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1088 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1090 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1091 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1093 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1094 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1095 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1096 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1098 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1099 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1100 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1101 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1102 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1103 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1105 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1106 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1107 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1108 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1109 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1110 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1111 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1112 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1113 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1114 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1115 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1117 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1118 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1119 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1120 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1121 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:05', '1')
#1122 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1123 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1124 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1125 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1126 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1127 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1128 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1129 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1135 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1136 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1137 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1138 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1140 - info - BEGIN WORK
#1141 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1142 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1143 - info - COMMIT
#1144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1145 - info - BEGIN WORK
#1146 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1147 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1148 - info - COMMIT
#1149 - info - BEGIN WORK
#1150 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1151 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1152 - info - COMMIT
#1153 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1154 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1155 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1156 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1157 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1158 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1159 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1160 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1162 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1163 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1164 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1165 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1166 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1167 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1168 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1169 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1170 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1171 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1175 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1176 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1177 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1178 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1180 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1181 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1182 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1183 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1184 - info - SHOW TABLES LIKE 'ac_job_types'
#1185 - info - SELECT COUNT(id) FROM ac_job_types
#1186 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1187 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1188 - info - BEGIN WORK
#1189 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1190 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1191 - info - COMMIT
#1192 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1193 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1194 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1195 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1196 - info - SELECT COUNT(name) FROM ac_modules
#1197 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1198 - info - SELECT name FROM ac_modules
#1199 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1200 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1201 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1202 - info - Cache miss 'config_values'
#1203 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1204 - info - Cache hit 'config_values'
#1205 - info - SELECT value FROM ac_config_options WHERE name = 'search_provider'
#1206 - info - Event 'on_search_indices' triggered
#1207 - info - Callback 'help_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1208 - info - Callback 'authentication_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1209 - info - Callback 'system_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1210 - info - Callback 'documents_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1211 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1212 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1213 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1214 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1215 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1216 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1217 - info - BEGIN WORK
#1218 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1219 - info - Cache hit 'config_values'
#1220 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1221 - info - UPDATE ac_config_options SET value = 'i:1387377485;' WHERE name = 'search_initialized_on'
#1222 - info - COMMIT
#1223 - info - Cache hit 'config_values'
#1224 - info - Cache miss 'models/users/1'
#1225 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1226 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1227 - info - SHOW TABLES LIKE 'ac_%'
#1228 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1229 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1230 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1231 - info - SHOW TABLES LIKE 'ac_%'
#1232 - info - DROP TABLE ac_test_table
#1233 - info - SHOW TABLES LIKE 'ac_config_options'
#1234 - info - SHOW TABLES LIKE 'ac_config_options'
#1235 - info - DROP TABLE `ac_config_options`
#1236 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1237 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1238 - info - DROP TABLE `ac_config_option_values`
#1239 - info - SHOW TABLES LIKE 'ac_modules'
#1240 - info - SHOW TABLES LIKE 'ac_modules'
#1241 - info - DROP TABLE `ac_modules`
#1242 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1243 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1244 - info - DROP TABLE `ac_executed_model_migrations`
#1245 - info - SHOW TABLES LIKE 'ac_update_history'
#1246 - info - SHOW TABLES LIKE 'ac_update_history'
#1247 - info - DROP TABLE `ac_update_history`
#1248 - info - SHOW TABLES LIKE 'ac_access_logs'
#1249 - info - SHOW TABLES LIKE 'ac_access_logs'
#1250 - info - DROP TABLE `ac_access_logs`
#1251 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1252 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1253 - info - DROP TABLE `ac_access_logs_archive`
#1254 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1255 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1256 - info - DROP TABLE `ac_object_contexts`
#1257 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1258 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1259 - info - DROP TABLE `ac_routing_cache`
#1260 - info - SHOW TABLES LIKE 'ac_currencies'
#1261 - info - SHOW TABLES LIKE 'ac_currencies'
#1262 - info - DROP TABLE `ac_currencies`
#1263 - info - SHOW TABLES LIKE 'ac_day_offs'
#1264 - info - SHOW TABLES LIKE 'ac_day_offs'
#1265 - info - DROP TABLE `ac_day_offs`
#1266 - info - SHOW TABLES LIKE 'ac_languages'
#1267 - info - SHOW TABLES LIKE 'ac_languages'
#1268 - info - DROP TABLE `ac_languages`
#1269 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1270 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1271 - info - DROP TABLE `ac_language_phrases`
#1272 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1273 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1274 - info - DROP TABLE `ac_language_phrase_translations`
#1275 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1276 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1277 - info - DROP TABLE `ac_api_client_subscriptions`
#1278 - info - SHOW TABLES LIKE 'ac_users'
#1279 - info - SHOW TABLES LIKE 'ac_users'
#1280 - info - DROP TABLE `ac_users`
#1281 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1282 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1283 - info - DROP TABLE `ac_user_addresses`
#1284 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1285 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1286 - info - DROP TABLE `ac_user_sessions`
#1287 - info - SHOW TABLES LIKE 'ac_security_logs'
#1288 - info - SHOW TABLES LIKE 'ac_security_logs'
#1289 - info - DROP TABLE `ac_security_logs`
#1290 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1291 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1292 - info - DROP TABLE `ac_api_token_logs`
#1293 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1294 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1295 - info - DROP TABLE `ac_activity_logs`
#1296 - info - SHOW TABLES LIKE 'ac_data_filters'
#1297 - info - SHOW TABLES LIKE 'ac_data_filters'
#1298 - info - DROP TABLE `ac_data_filters`
#1299 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1300 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1301 - info - DROP TABLE `ac_modification_logs`
#1302 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1303 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1304 - info - DROP TABLE `ac_modification_log_values`
#1305 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1306 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1307 - info - DROP TABLE `ac_mailing_activity_logs`
#1308 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1309 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1310 - info - DROP TABLE `ac_outgoing_messages`
#1311 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1312 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1313 - info - DROP TABLE `ac_incoming_mail_attachments`
#1314 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1315 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1316 - info - DROP TABLE `ac_incoming_mail_filters`
#1317 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1318 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1319 - info - DROP TABLE `ac_incoming_mailboxes`
#1320 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1321 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1322 - info - DROP TABLE `ac_incoming_mails`
#1323 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1324 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1325 - info - DROP TABLE `ac_homescreen_tabs`
#1326 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1327 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1328 - info - DROP TABLE `ac_homescreen_widgets`
#1329 - info - SHOW TABLES LIKE 'ac_announcements'
#1330 - info - SHOW TABLES LIKE 'ac_announcements'
#1331 - info - DROP TABLE `ac_announcements`
#1332 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1333 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1334 - info - DROP TABLE `ac_announcement_target_ids`
#1335 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1336 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1337 - info - DROP TABLE `ac_announcement_dismissals`
#1338 - info - SHOW TABLES LIKE 'ac_attachments'
#1339 - info - SHOW TABLES LIKE 'ac_attachments'
#1340 - info - DROP TABLE `ac_attachments`
#1341 - info - SHOW TABLES LIKE 'ac_notifications'
#1342 - info - SHOW TABLES LIKE 'ac_notifications'
#1343 - info - DROP TABLE `ac_notifications`
#1344 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1345 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1346 - info - DROP TABLE `ac_notification_recipients`
#1347 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1348 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1349 - info - DROP TABLE `ac_subscriptions`
#1350 - info - SHOW TABLES LIKE 'ac_comments'
#1351 - info - SHOW TABLES LIKE 'ac_comments'
#1352 - info - DROP TABLE `ac_comments`
#1353 - info - SHOW TABLES LIKE 'ac_categories'
#1354 - info - SHOW TABLES LIKE 'ac_categories'
#1355 - info - DROP TABLE `ac_categories`
#1356 - info - SHOW TABLES LIKE 'ac_labels'
#1357 - info - SHOW TABLES LIKE 'ac_labels'
#1358 - info - DROP TABLE `ac_labels`
#1359 - info - SHOW TABLES LIKE 'ac_assignments'
#1360 - info - SHOW TABLES LIKE 'ac_assignments'
#1361 - info - DROP TABLE `ac_assignments`
#1362 - info - SHOW TABLES LIKE 'ac_subtasks'
#1363 - info - SHOW TABLES LIKE 'ac_subtasks'
#1364 - info - DROP TABLE `ac_subtasks`
#1365 - info - SHOW TABLES LIKE 'ac_favorites'
#1366 - info - SHOW TABLES LIKE 'ac_favorites'
#1367 - info - DROP TABLE `ac_favorites`
#1368 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1369 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1370 - info - DROP TABLE `ac_code_snippets`
#1371 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1372 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1373 - info - DROP TABLE `ac_payment_gateways`
#1374 - info - SHOW TABLES LIKE 'ac_payments'
#1375 - info - SHOW TABLES LIKE 'ac_payments'
#1376 - info - DROP TABLE `ac_payments`
#1377 - info - SHOW TABLES LIKE 'ac_reminders'
#1378 - info - SHOW TABLES LIKE 'ac_reminders'
#1379 - info - DROP TABLE `ac_reminders`
#1380 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1381 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1382 - info - DROP TABLE `ac_reminder_users`
#1383 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1384 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1385 - info - DROP TABLE `ac_custom_fields`
#1386 - info - SHOW TABLES LIKE 'ac_calendars'
#1387 - info - SHOW TABLES LIKE 'ac_calendars'
#1388 - info - DROP TABLE `ac_calendars`
#1389 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1390 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1391 - info - DROP TABLE `ac_calendar_events`
#1392 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1393 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1394 - info - DROP TABLE `ac_calendar_users`
#1395 - info - SHOW TABLES LIKE 'ac_data_sources'
#1396 - info - SHOW TABLES LIKE 'ac_data_sources'
#1397 - info - DROP TABLE `ac_data_sources`
#1398 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1399 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1400 - info - DROP TABLE `ac_data_source_mappings`
#1401 - info - SHOW TABLES LIKE 'ac_companies'
#1402 - info - SHOW TABLES LIKE 'ac_companies'
#1403 - info - DROP TABLE `ac_companies`
#1404 - info - SHOW TABLES LIKE 'ac_projects'
#1405 - info - SHOW TABLES LIKE 'ac_projects'
#1406 - info - DROP TABLE `ac_projects`
#1407 - info - SHOW TABLES LIKE 'ac_project_roles'
#1408 - info - SHOW TABLES LIKE 'ac_project_roles'
#1409 - info - DROP TABLE `ac_project_roles`
#1410 - info - SHOW TABLES LIKE 'ac_project_users'
#1411 - info - SHOW TABLES LIKE 'ac_project_users'
#1412 - info - DROP TABLE `ac_project_users`
#1413 - info - SHOW TABLES LIKE 'ac_project_requests'
#1414 - info - SHOW TABLES LIKE 'ac_project_requests'
#1415 - info - DROP TABLE `ac_project_requests`
#1416 - info - SHOW TABLES LIKE 'ac_project_objects'
#1417 - info - SHOW TABLES LIKE 'ac_project_objects'
#1418 - info - DROP TABLE `ac_project_objects`
#1419 - info - SHOW TABLES LIKE 'ac_project_templates'
#1420 - info - SHOW TABLES LIKE 'ac_project_templates'
#1421 - info - DROP TABLE `ac_project_templates`
#1422 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1423 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1424 - info - DROP TABLE `ac_project_object_templates`
#1425 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1426 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1427 - info - DROP TABLE `ac_shared_object_profiles`
#1428 - info - SHOW TABLES LIKE 'ac_file_versions'
#1429 - info - SHOW TABLES LIKE 'ac_file_versions'
#1430 - info - DROP TABLE `ac_file_versions`
#1431 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1432 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1433 - info - DROP TABLE `ac_text_document_versions`
#1434 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1435 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1436 - info - DROP TABLE `ac_public_task_forms`
#1437 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1438 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1439 - info - DROP TABLE `ac_related_tasks`
#1440 - info - SHOW TABLES LIKE 'ac_task_segments'
#1441 - info - SHOW TABLES LIKE 'ac_task_segments'
#1442 - info - DROP TABLE `ac_task_segments`
#1443 - info - SHOW TABLES LIKE 'ac_status_updates'
#1444 - info - SHOW TABLES LIKE 'ac_status_updates'
#1445 - info - DROP TABLE `ac_status_updates`
#1446 - info - SHOW TABLES LIKE 'ac_documents'
#1447 - info - SHOW TABLES LIKE 'ac_documents'
#1448 - info - DROP TABLE `ac_documents`
#1449 - info - SHOW TABLES LIKE 'ac_time_records'
#1450 - info - SHOW TABLES LIKE 'ac_time_records'
#1451 - info - DROP TABLE `ac_time_records`
#1452 - info - SHOW TABLES LIKE 'ac_job_types'
#1453 - info - SHOW TABLES LIKE 'ac_job_types'
#1454 - info - DROP TABLE `ac_job_types`
#1455 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1456 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1457 - info - DROP TABLE `ac_project_hourly_rates`
#1458 - info - SHOW TABLES LIKE 'ac_expenses'
#1459 - info - SHOW TABLES LIKE 'ac_expenses'
#1460 - info - DROP TABLE `ac_expenses`
#1461 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1462 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1463 - info - DROP TABLE `ac_expense_categories`
#1464 - info - SHOW TABLES LIKE 'ac_estimates'
#1465 - info - SHOW TABLES LIKE 'ac_estimates'
#1466 - info - DROP TABLE `ac_estimates`
#1467 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1468 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1469 - info - DROP TABLE `ac_invoice_objects`
#1470 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1471 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1472 - info - DROP TABLE `ac_invoice_object_items`
#1473 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1474 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1475 - info - DROP TABLE `ac_invoice_item_templates`
#1476 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1477 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1478 - info - DROP TABLE `ac_invoice_note_templates`
#1479 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1480 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1481 - info - DROP TABLE `ac_invoice_related_records`
#1482 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1483 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1484 - info - DROP TABLE `ac_tax_rates`
#1485 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1486 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1487 - info - DROP TABLE `ac_notebook_pages`
#1488 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1489 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1490 - info - DROP TABLE `ac_notebook_page_versions`
#1491 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1492 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1493 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1494 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1495 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1496 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1497 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1498 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1499 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1500 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1501 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1502 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1503 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1504 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1505 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1506 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1507 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1508 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1509 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1510 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1511 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1512 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1513 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1514 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1515 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1516 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1517 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1518 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1519 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1520 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1521 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1522 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1523 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1524 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1525 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1526 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1527 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1528 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1529 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1530 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1531 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1532 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1533 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1534 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1535 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1536 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1537 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1538 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1539 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1540 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1541 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1542 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1543 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1544 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1545 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1546 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1547 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1548 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1549 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1550 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1551 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1552 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1553 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1554 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1555 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1556 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1557 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1558 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1559 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1560 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1561 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1562 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1563 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1564 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1565 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1566 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1567 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1568 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1569 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1570 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1571 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1572 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1573 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1574 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1575 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1576 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#1578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#1579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#1580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#1581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#1582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#1583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#1584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#1585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#1586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#1587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#1588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#1589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#1590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#1591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#1592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#1593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#1594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#1595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#1596 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#1597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#1598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1602 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1604 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1605 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1607 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1608 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1609 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1610 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1612 - info - BEGIN WORK
#1613 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1614 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1615 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1616 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1617 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1618 - info - COMMIT
#1619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1646 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1647 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1648 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1649 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1650 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1651 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1652 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1653 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1654 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1655 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1656 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1657 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1658 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1659 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1660 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1661 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1662 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1666 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1667 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1668 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1669 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1670 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377486;')
#1673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1685 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1686 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1687 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1689 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1697 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1698 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1699 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1700 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1701 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1702 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1703 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1704 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1705 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1708 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1709 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1710 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1711 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1712 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1716 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1717 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1718 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1719 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1720 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:06', '1')
#1721 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1722 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1723 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1724 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1726 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1728 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1734 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1735 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1736 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1737 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1738 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1739 - info - BEGIN WORK
#1740 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1741 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1742 - info - COMMIT
#1743 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1744 - info - BEGIN WORK
#1745 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1746 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1747 - info - COMMIT
#1748 - info - BEGIN WORK
#1749 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1750 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1751 - info - COMMIT
#1752 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1753 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1754 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1756 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1757 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1758 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1759 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1760 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1761 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1762 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1772 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1773 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1774 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1775 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1776 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1777 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1778 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1779 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1780 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1781 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1782 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1783 - info - SHOW TABLES LIKE 'ac_job_types'
#1784 - info - SELECT COUNT(id) FROM ac_job_types
#1785 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1786 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1787 - info - BEGIN WORK
#1788 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1789 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1790 - info - COMMIT
#1791 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1792 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1793 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1794 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1795 - info - SELECT COUNT(name) FROM ac_modules
#1796 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1797 - info - SELECT name FROM ac_modules
#1798 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1799 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1800 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1801 - info - Cache miss 'config_values'
#1802 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1803 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1804 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1805 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1806 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1807 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1808 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1809 - info - BEGIN WORK
#1810 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1811 - info - Cache hit 'config_values'
#1812 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1813 - info - UPDATE ac_config_options SET value = 'i:1387377486;' WHERE name = 'search_initialized_on'
#1814 - info - COMMIT
#1815 - info - Cache miss 'models/users/1'
#1816 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1817 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1818 - info - SELECT COUNT(*) FROM ac_test_table
#1819 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1820 - info - DROP TABLE `ac_test_table_migrate_test`
#1821 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1822 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1823 - info - INSERT INTO ac_test_table_migrate_test (name) VALUES ('Test Migration')
#1824 - info - SHOW TABLES LIKE 'ac_test_table_ScEHahWWs8'
#1825 - info - RENAME TABLE ac_test_table TO ac_test_table_ScEHahWWs8, ac_test_table_migrate_test TO ac_test_table
#1826 - info - DROP TABLE ac_test_table_ScEHahWWs8
#1827 - info - SELECT COUNT(*) FROM ac_test_table
#1828 - info - DROP TABLE ac_test_table
#1829 - info - Cache hit 'models/users/1'
#1830 - info - Cache hit 'models/users/1'
#1831 - info - Cache miss 'models/users/1/config_options'
#1832 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_date' AND parent_type = 'User' AND parent_id = '1'
#1833 - info - Cache miss 'config_values'
#1834 - info - SELECT value FROM ac_config_options WHERE name = 'format_date'
#1835 - info - Cache hit 'models/users/1/config_options'
#1836 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_timezone' AND parent_type = 'User' AND parent_id = '1'
#1837 - info - Cache hit 'config_values'
#1838 - info - SELECT value FROM ac_config_options WHERE name = 'time_timezone'
#1839 - info - Cache hit 'models/users/1/config_options'
#1840 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_dst' AND parent_type = 'User' AND parent_id = '1'
#1841 - info - Cache hit 'config_values'
#1842 - info - SELECT value FROM ac_config_options WHERE name = 'time_dst'
#1843 - info - Cache hit 'models/users/1/config_options'
#1844 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_time' AND parent_type = 'User' AND parent_id = '1'
#1845 - info - Cache hit 'config_values'
#1846 - info - SELECT value FROM ac_config_options WHERE name = 'format_time'
#1847 - info - Cache hit 'models/users/1'
#1848 - info - Cache hit 'models/users/1'
#1849 - info - Cache hit 'models/users/1/config_options'
#1850 - info - Cache hit 'models/users/1'
#1851 - info - Cache hit 'models/users/1/config_options'
#1852 - info - Cache hit 'models/users/1/config_options'
#1853 - info - Cache hit 'models/users/1'
#1854 - info - CREATE TABLE ac_test_db_result_to_json (
        id int(11) NOT NULL auto_increment,
        string_field varchar(255) default NULL,
        int_field int(11) default NULL,
        other float default NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
#1855 - info - SHOW TABLES LIKE 'ac_%'
#1856 - info - INSERT INTO ac_test_db_result_to_json (id,string_field,int_field,other) VALUES (1,'A',5,3.2), (2,'Another record',18,NULL);
#1857 - info - SELECT * FROM ac_test_db_result_to_json
#1858 - info - DROP TABLE ac_test_db_result_to_json
#1859 - info - SHOW TABLES LIKE 'ac_%'
#1860 - info - Cache hit 'models/users/1'
#1861 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1862 - info - BEGIN WORK
#1863 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1864 - info - Event 'on_before_object_validation' triggered
#1865 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 1'
#1866 - info - Event 'on_after_object_validation' triggered
#1867 - info - Event 'on_before_object_save' triggered
#1868 - info - Event 'on_before_object_insert' triggered
#1869 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 1', 'TestDataObject', '2013-12-18 14:38:06')
#1870 - info - Event 'on_object_inserted' triggered
#1871 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1872 - info - Event 'on_after_object_save' triggered
#1873 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1874 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1875 - info - COMMIT
#1876 - info - BEGIN WORK
#1877 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1878 - info - Event 'on_before_object_validation' triggered
#1879 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 2'
#1880 - info - Event 'on_after_object_validation' triggered
#1881 - info - Event 'on_before_object_save' triggered
#1882 - info - Event 'on_before_object_insert' triggered
#1883 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 2', 'TestDataObject', '2013-12-18 14:38:06')
#1884 - info - Event 'on_object_inserted' triggered
#1885 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1886 - info - Event 'on_after_object_save' triggered
#1887 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1888 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1889 - info - COMMIT
#1890 - info - Cache miss 'models/test_data_objects/1'
#1891 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1892 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1893 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1894 - info - BEGIN WORK
#1895 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1896 - info - Event 'on_before_object_validation' triggered
#1897 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#1898 - info - Event 'on_after_object_validation' triggered
#1899 - info - Event 'on_before_object_save' triggered
#1900 - info - Event 'on_before_object_insert' triggered
#1901 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'TestDataObject', '2013-12-18 14:38:06')
#1902 - info - Event 'on_object_inserted' triggered
#1903 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1904 - info - Event 'on_after_object_save' triggered
#1905 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1906 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1907 - info - COMMIT
#1908 - info - BEGIN WORK
#1909 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1910 - info - Event 'on_before_object_deleted' triggered
#1911 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1912 - info - Event 'on_object_deleted' triggered
#1913 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#1914 - info - COMMIT
#1915 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1916 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1917 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1918 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1919 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object name', 'Object description')
#1920 - info - Cache miss 'models/test_data_objects/1'
#1921 - info - SELECT id, name, description, type, created_on, updated_on FROM ac_test_data_objects WHERE id = '1'  LIMIT 0, 1
#1922 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1923 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1924 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object #1', 'Description #1'), ('Object #2', 'Description #2'), ('Object #3', 'TestDataObject')
#1925 - info - SELECT * FROM ac_test_data_objects
#1926 - info - SELECT * FROM ac_test_data_objects ORDER BY name
#1927 - info - SELECT * FROM ac_test_data_objects WHERE name = 'Object #3'
#1928 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1929 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1930 - info - BEGIN WORK
#1931 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1932 - info - Event 'on_before_object_validation' triggered
#1933 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1934 - info - Event 'on_after_object_validation' triggered
#1935 - info - Event 'on_before_object_save' triggered
#1936 - info - Event 'on_before_object_insert' triggered
#1937 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 14:38:06')
#1938 - info - Event 'on_object_inserted' triggered
#1939 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1940 - info - Event 'on_after_object_save' triggered
#1941 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1942 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1943 - info - COMMIT
#1944 - info - BEGIN WORK
#1945 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1946 - info - Event 'on_before_object_deleted' triggered
#1947 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1948 - info - Event 'on_object_deleted' triggered
#1949 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#1950 - info - COMMIT
#1951 - info - BEGIN WORK
#1952 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1953 - info - Event 'on_before_object_validation' triggered
#1954 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1955 - info - Event 'on_after_object_validation' triggered
#1956 - info - Event 'on_before_object_save' triggered
#1957 - info - Event 'on_before_object_insert' triggered
#1958 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on, id) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 14:38:06', '1')
#1959 - info - Event 'on_object_inserted' triggered
#1960 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1961 - info - Event 'on_after_object_save' triggered
#1962 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1963 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1964 - info - COMMIT
#1965 - info - SELECT * FROM ac_test_data_objects WHERE id = '1'    LIMIT 0, 1
#1966 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1967 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1968 - info - BEGIN WORK
#1969 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1970 - info - Event 'on_before_object_validation' triggered
#1971 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1972 - info - Event 'on_after_object_validation' triggered
#1973 - info - Event 'on_before_object_save' triggered
#1974 - info - Event 'on_before_object_insert' triggered
#1975 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('First name', 'TestDataObject', '2013-12-18 14:38:06')
#1976 - info - Event 'on_object_inserted' triggered
#1977 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1978 - info - Event 'on_after_object_save' triggered
#1979 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1980 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1981 - info - COMMIT
#1982 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1983 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1984 - info - BEGIN WORK
#1985 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1986 - info - Event 'on_before_object_validation' triggered
#1987 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New name'
#1988 - info - Event 'on_after_object_validation' triggered
#1989 - info - Event 'on_before_object_save' triggered
#1990 - info - Event 'on_before_object_insert' triggered
#1991 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New name', 'TestDataObject', '2013-12-18 14:38:06')
#1992 - info - Event 'on_object_inserted' triggered
#1993 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1994 - info - Event 'on_after_object_save' triggered
#1995 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1996 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1997 - info - COMMIT
#1998 - info - Cache miss 'models/test_data_objects/1'
#1999 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#2000 - info - BEGIN WORK
#2001 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2002 - info - Event 'on_before_object_validation' triggered
#2003 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'Something something') AND (id <> '1')
#2004 - info - Event 'on_after_object_validation' triggered
#2005 - info - Event 'on_before_object_save' triggered
#2006 - info - Event 'on_before_object_update' triggered
#2007 - info - UPDATE ac_test_data_objects SET name = 'Something something', updated_on = '2013-12-18 14:38:06' WHERE id = '1'
#2008 - info - Event 'on_object_updated' triggered
#2009 - info - Event 'on_after_object_save' triggered
#2010 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2011 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2012 - info - COMMIT
#2013 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2014 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2015 - info - BEGIN WORK
#2016 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2017 - info - Event 'on_before_object_validation' triggered
#2018 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'My name'
#2019 - info - Event 'on_after_object_validation' triggered
#2020 - info - Event 'on_before_object_save' triggered
#2021 - info - Event 'on_before_object_insert' triggered
#2022 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('My name', 'TestDataObject', '2013-12-18 14:38:06')
#2023 - info - Event 'on_object_inserted' triggered
#2024 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2025 - info - Event 'on_after_object_save' triggered
#2026 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2027 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2028 - info - COMMIT
#2029 - info - BEGIN WORK
#2030 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2031 - info - Event 'on_before_object_validation' triggered
#2032 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'My name') AND (id <> '1')
#2033 - info - Event 'on_after_object_validation' triggered
#2034 - info - Event 'on_before_object_save' triggered
#2035 - info - Event 'on_before_object_update' triggered
#2036 - info - SELECT count(*) AS 'row_count' FROM ac_test_data_objects WHERE id = '1'
#2037 - info - UPDATE ac_test_data_objects SET id = '12', updated_on = '2013-12-18 14:38:06' WHERE id = '1'
#2038 - info - Event 'on_object_updated' triggered
#2039 - info - Event 'on_after_object_save' triggered
#2040 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2041 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2042 - info - COMMIT
#2043 - info - Cache miss 'models/test_data_objects/12'
#2044 - info - SELECT * FROM ac_test_data_objects WHERE id = '12' LIMIT 0, 1
#2045 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2046 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2047 - info - BEGIN WORK
#2048 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2049 - info - Event 'on_before_object_validation' triggered
#2050 - info - Event 'on_after_object_validation' triggered
#2051 - info - ROLLBACK
#2052 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#2053 - info - BEGIN WORK
#2054 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2055 - info - Event 'on_before_object_validation' triggered
#2056 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#2057 - info - Event 'on_after_object_validation' triggered
#2058 - info - Event 'on_before_object_save' triggered
#2059 - info - Event 'on_before_object_insert' triggered
#2060 - info - INSERT INTO ac_test_data_objects (type, created_on, name) VALUES ('TestDataObject', '2013-12-18 14:38:06', 'Unique name')
#2061 - info - Event 'on_object_inserted' triggered
#2062 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2063 - info - Event 'on_after_object_save' triggered
#2064 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2065 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2066 - info - COMMIT
#2067 - info - BEGIN WORK
#2068 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2069 - info - Event 'on_before_object_validation' triggered
#2070 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#2071 - info - Event 'on_after_object_validation' triggered
#2072 - info - ROLLBACK
#2073 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#2074 - info - BEGIN WORK
#2075 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2076 - info - Event 'on_before_object_validation' triggered
#2077 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New, better name'
#2078 - info - Event 'on_after_object_validation' triggered
#2079 - info - Event 'on_before_object_save' triggered
#2080 - info - Event 'on_before_object_insert' triggered
#2081 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New, better name', 'TestDataObject', '2013-12-18 14:38:06')
#2082 - info - Event 'on_object_inserted' triggered
#2083 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2084 - info - Event 'on_after_object_save' triggered
#2085 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2086 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2087 - info - COMMIT
#2088 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2089 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2090 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2091 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2092 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2093 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2094 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2095 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2096 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2097 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2098 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2099 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2100 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2101 - info - SHOW TABLES LIKE 'ac_config_options'
#2102 - info - SHOW TABLES LIKE 'ac_config_options'
#2103 - info - DROP TABLE `ac_config_options`
#2104 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2105 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2106 - info - DROP TABLE `ac_config_option_values`
#2107 - info - SHOW TABLES LIKE 'ac_modules'
#2108 - info - SHOW TABLES LIKE 'ac_modules'
#2109 - info - DROP TABLE `ac_modules`
#2110 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2111 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2112 - info - DROP TABLE `ac_executed_model_migrations`
#2113 - info - SHOW TABLES LIKE 'ac_update_history'
#2114 - info - SHOW TABLES LIKE 'ac_update_history'
#2115 - info - DROP TABLE `ac_update_history`
#2116 - info - SHOW TABLES LIKE 'ac_access_logs'
#2117 - info - SHOW TABLES LIKE 'ac_access_logs'
#2118 - info - DROP TABLE `ac_access_logs`
#2119 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2120 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2121 - info - DROP TABLE `ac_access_logs_archive`
#2122 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2123 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2124 - info - DROP TABLE `ac_object_contexts`
#2125 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2126 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2127 - info - DROP TABLE `ac_routing_cache`
#2128 - info - SHOW TABLES LIKE 'ac_currencies'
#2129 - info - SHOW TABLES LIKE 'ac_currencies'
#2130 - info - DROP TABLE `ac_currencies`
#2131 - info - SHOW TABLES LIKE 'ac_day_offs'
#2132 - info - SHOW TABLES LIKE 'ac_day_offs'
#2133 - info - DROP TABLE `ac_day_offs`
#2134 - info - SHOW TABLES LIKE 'ac_languages'
#2135 - info - SHOW TABLES LIKE 'ac_languages'
#2136 - info - DROP TABLE `ac_languages`
#2137 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2138 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2139 - info - DROP TABLE `ac_language_phrases`
#2140 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2141 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2142 - info - DROP TABLE `ac_language_phrase_translations`
#2143 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2144 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2145 - info - DROP TABLE `ac_api_client_subscriptions`
#2146 - info - SHOW TABLES LIKE 'ac_users'
#2147 - info - SHOW TABLES LIKE 'ac_users'
#2148 - info - DROP TABLE `ac_users`
#2149 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2150 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2151 - info - DROP TABLE `ac_user_addresses`
#2152 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2153 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2154 - info - DROP TABLE `ac_user_sessions`
#2155 - info - SHOW TABLES LIKE 'ac_security_logs'
#2156 - info - SHOW TABLES LIKE 'ac_security_logs'
#2157 - info - DROP TABLE `ac_security_logs`
#2158 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2159 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2160 - info - DROP TABLE `ac_api_token_logs`
#2161 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2162 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2163 - info - DROP TABLE `ac_activity_logs`
#2164 - info - SHOW TABLES LIKE 'ac_data_filters'
#2165 - info - SHOW TABLES LIKE 'ac_data_filters'
#2166 - info - DROP TABLE `ac_data_filters`
#2167 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2168 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2169 - info - DROP TABLE `ac_modification_logs`
#2170 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2171 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2172 - info - DROP TABLE `ac_modification_log_values`
#2173 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2174 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2175 - info - DROP TABLE `ac_mailing_activity_logs`
#2176 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2177 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2178 - info - DROP TABLE `ac_outgoing_messages`
#2179 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2180 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2181 - info - DROP TABLE `ac_incoming_mail_attachments`
#2182 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2183 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2184 - info - DROP TABLE `ac_incoming_mail_filters`
#2185 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2186 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2187 - info - DROP TABLE `ac_incoming_mailboxes`
#2188 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2189 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2190 - info - DROP TABLE `ac_incoming_mails`
#2191 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2192 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2193 - info - DROP TABLE `ac_homescreen_tabs`
#2194 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2195 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2196 - info - DROP TABLE `ac_homescreen_widgets`
#2197 - info - SHOW TABLES LIKE 'ac_announcements'
#2198 - info - SHOW TABLES LIKE 'ac_announcements'
#2199 - info - DROP TABLE `ac_announcements`
#2200 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2201 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2202 - info - DROP TABLE `ac_announcement_target_ids`
#2203 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2204 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2205 - info - DROP TABLE `ac_announcement_dismissals`
#2206 - info - SHOW TABLES LIKE 'ac_attachments'
#2207 - info - SHOW TABLES LIKE 'ac_attachments'
#2208 - info - DROP TABLE `ac_attachments`
#2209 - info - SHOW TABLES LIKE 'ac_notifications'
#2210 - info - SHOW TABLES LIKE 'ac_notifications'
#2211 - info - DROP TABLE `ac_notifications`
#2212 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2213 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2214 - info - DROP TABLE `ac_notification_recipients`
#2215 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2216 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2217 - info - DROP TABLE `ac_subscriptions`
#2218 - info - SHOW TABLES LIKE 'ac_comments'
#2219 - info - SHOW TABLES LIKE 'ac_comments'
#2220 - info - DROP TABLE `ac_comments`
#2221 - info - SHOW TABLES LIKE 'ac_categories'
#2222 - info - SHOW TABLES LIKE 'ac_categories'
#2223 - info - DROP TABLE `ac_categories`
#2224 - info - SHOW TABLES LIKE 'ac_labels'
#2225 - info - SHOW TABLES LIKE 'ac_labels'
#2226 - info - DROP TABLE `ac_labels`
#2227 - info - SHOW TABLES LIKE 'ac_assignments'
#2228 - info - SHOW TABLES LIKE 'ac_assignments'
#2229 - info - DROP TABLE `ac_assignments`
#2230 - info - SHOW TABLES LIKE 'ac_subtasks'
#2231 - info - SHOW TABLES LIKE 'ac_subtasks'
#2232 - info - DROP TABLE `ac_subtasks`
#2233 - info - SHOW TABLES LIKE 'ac_favorites'
#2234 - info - SHOW TABLES LIKE 'ac_favorites'
#2235 - info - DROP TABLE `ac_favorites`
#2236 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2237 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2238 - info - DROP TABLE `ac_code_snippets`
#2239 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2240 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2241 - info - DROP TABLE `ac_payment_gateways`
#2242 - info - SHOW TABLES LIKE 'ac_payments'
#2243 - info - SHOW TABLES LIKE 'ac_payments'
#2244 - info - DROP TABLE `ac_payments`
#2245 - info - SHOW TABLES LIKE 'ac_reminders'
#2246 - info - SHOW TABLES LIKE 'ac_reminders'
#2247 - info - DROP TABLE `ac_reminders`
#2248 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2249 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2250 - info - DROP TABLE `ac_reminder_users`
#2251 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2252 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2253 - info - DROP TABLE `ac_custom_fields`
#2254 - info - SHOW TABLES LIKE 'ac_calendars'
#2255 - info - SHOW TABLES LIKE 'ac_calendars'
#2256 - info - DROP TABLE `ac_calendars`
#2257 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2258 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2259 - info - DROP TABLE `ac_calendar_events`
#2260 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2261 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2262 - info - DROP TABLE `ac_calendar_users`
#2263 - info - SHOW TABLES LIKE 'ac_data_sources'
#2264 - info - SHOW TABLES LIKE 'ac_data_sources'
#2265 - info - DROP TABLE `ac_data_sources`
#2266 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2267 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2268 - info - DROP TABLE `ac_data_source_mappings`
#2269 - info - SHOW TABLES LIKE 'ac_companies'
#2270 - info - SHOW TABLES LIKE 'ac_companies'
#2271 - info - DROP TABLE `ac_companies`
#2272 - info - SHOW TABLES LIKE 'ac_projects'
#2273 - info - SHOW TABLES LIKE 'ac_projects'
#2274 - info - DROP TABLE `ac_projects`
#2275 - info - SHOW TABLES LIKE 'ac_project_roles'
#2276 - info - SHOW TABLES LIKE 'ac_project_roles'
#2277 - info - DROP TABLE `ac_project_roles`
#2278 - info - SHOW TABLES LIKE 'ac_project_users'
#2279 - info - SHOW TABLES LIKE 'ac_project_users'
#2280 - info - DROP TABLE `ac_project_users`
#2281 - info - SHOW TABLES LIKE 'ac_project_requests'
#2282 - info - SHOW TABLES LIKE 'ac_project_requests'
#2283 - info - DROP TABLE `ac_project_requests`
#2284 - info - SHOW TABLES LIKE 'ac_project_objects'
#2285 - info - SHOW TABLES LIKE 'ac_project_objects'
#2286 - info - DROP TABLE `ac_project_objects`
#2287 - info - SHOW TABLES LIKE 'ac_project_templates'
#2288 - info - SHOW TABLES LIKE 'ac_project_templates'
#2289 - info - DROP TABLE `ac_project_templates`
#2290 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2291 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2292 - info - DROP TABLE `ac_project_object_templates`
#2293 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2294 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2295 - info - DROP TABLE `ac_shared_object_profiles`
#2296 - info - SHOW TABLES LIKE 'ac_file_versions'
#2297 - info - SHOW TABLES LIKE 'ac_file_versions'
#2298 - info - DROP TABLE `ac_file_versions`
#2299 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2300 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2301 - info - DROP TABLE `ac_text_document_versions`
#2302 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2303 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2304 - info - DROP TABLE `ac_public_task_forms`
#2305 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2306 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2307 - info - DROP TABLE `ac_related_tasks`
#2308 - info - SHOW TABLES LIKE 'ac_task_segments'
#2309 - info - SHOW TABLES LIKE 'ac_task_segments'
#2310 - info - DROP TABLE `ac_task_segments`
#2311 - info - SHOW TABLES LIKE 'ac_status_updates'
#2312 - info - SHOW TABLES LIKE 'ac_status_updates'
#2313 - info - DROP TABLE `ac_status_updates`
#2314 - info - SHOW TABLES LIKE 'ac_documents'
#2315 - info - SHOW TABLES LIKE 'ac_documents'
#2316 - info - DROP TABLE `ac_documents`
#2317 - info - SHOW TABLES LIKE 'ac_time_records'
#2318 - info - SHOW TABLES LIKE 'ac_time_records'
#2319 - info - DROP TABLE `ac_time_records`
#2320 - info - SHOW TABLES LIKE 'ac_job_types'
#2321 - info - SHOW TABLES LIKE 'ac_job_types'
#2322 - info - DROP TABLE `ac_job_types`
#2323 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2324 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2325 - info - DROP TABLE `ac_project_hourly_rates`
#2326 - info - SHOW TABLES LIKE 'ac_expenses'
#2327 - info - SHOW TABLES LIKE 'ac_expenses'
#2328 - info - DROP TABLE `ac_expenses`
#2329 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2330 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2331 - info - DROP TABLE `ac_expense_categories`
#2332 - info - SHOW TABLES LIKE 'ac_estimates'
#2333 - info - SHOW TABLES LIKE 'ac_estimates'
#2334 - info - DROP TABLE `ac_estimates`
#2335 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2336 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2337 - info - DROP TABLE `ac_invoice_objects`
#2338 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2339 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2340 - info - DROP TABLE `ac_invoice_object_items`
#2341 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2342 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2343 - info - DROP TABLE `ac_invoice_item_templates`
#2344 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2345 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2346 - info - DROP TABLE `ac_invoice_note_templates`
#2347 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2348 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2349 - info - DROP TABLE `ac_invoice_related_records`
#2350 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2351 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2352 - info - DROP TABLE `ac_tax_rates`
#2353 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2354 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2355 - info - DROP TABLE `ac_notebook_pages`
#2356 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2357 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2358 - info - DROP TABLE `ac_notebook_page_versions`
#2359 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2360 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2361 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2362 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2363 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2364 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2365 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2366 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2367 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2368 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2369 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2370 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2371 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2372 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2373 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2374 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2375 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2376 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2377 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2378 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2379 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2380 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2381 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2382 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2383 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2384 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2385 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2386 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2387 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2388 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2389 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2390 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2391 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2392 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2393 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2394 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2395 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2396 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2397 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2398 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2399 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2400 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2401 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2402 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2403 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2404 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2405 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2406 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2407 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2408 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2409 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2410 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2411 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2412 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2413 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2414 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2415 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2416 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2417 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2418 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2419 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2420 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2421 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2422 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2423 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2424 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2425 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2426 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2427 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2428 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2429 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2430 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2431 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2432 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2433 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2434 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2435 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2436 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2437 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2438 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2439 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2440 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2441 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2442 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2443 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2444 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2480 - info - BEGIN WORK
#2481 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2482 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2483 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2484 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2485 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2486 - info - COMMIT
#2487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2514 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2515 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2516 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2517 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2518 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2519 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2520 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2521 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2522 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2523 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2524 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2525 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2526 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2527 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377487;')
#2541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2553 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2554 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2555 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2557 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2560 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2562 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2563 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2564 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2565 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2566 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2567 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2568 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2571 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#2572 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#2573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#2574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#2575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#2576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#2577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#2578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#2579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#2580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#2581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#2582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#2583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#2584 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#2585 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#2586 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#2587 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#2588 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:07', '1')
#2589 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2590 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2591 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2592 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#2594 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#2596 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#2598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#2599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#2600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#2601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#2602 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#2603 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#2604 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#2605 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#2607 - info - BEGIN WORK
#2608 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#2609 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#2610 - info - COMMIT
#2611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#2612 - info - BEGIN WORK
#2613 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2614 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#2615 - info - COMMIT
#2616 - info - BEGIN WORK
#2617 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2618 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#2619 - info - COMMIT
#2620 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2621 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2622 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#2623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#2624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#2625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#2626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#2627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#2628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#2629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#2630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#2631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#2632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#2633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#2634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#2635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#2636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#2637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#2638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#2639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#2640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#2641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#2642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#2643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#2644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#2645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#2646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#2647 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#2648 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#2649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#2650 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#2651 - info - SHOW TABLES LIKE 'ac_job_types'
#2652 - info - SELECT COUNT(id) FROM ac_job_types
#2653 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2654 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#2655 - info - BEGIN WORK
#2656 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#2657 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#2658 - info - COMMIT
#2659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#2660 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2661 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2662 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#2663 - info - SELECT COUNT(name) FROM ac_modules
#2664 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#2665 - info - SELECT name FROM ac_modules
#2666 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#2667 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#2668 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#2669 - info - Cache hit 'config_values'
#2670 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#2671 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#2672 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#2673 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#2674 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#2675 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#2676 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#2677 - info - BEGIN WORK
#2678 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#2679 - info - Cache hit 'config_values'
#2680 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#2681 - info - UPDATE ac_config_options SET value = 'i:1387377487;' WHERE name = 'search_initialized_on'
#2682 - info - COMMIT
#2683 - info - Cache miss 'models/users/1'
#2684 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#2685 - info - SELECT COUNT(*) FROM  ac_config_options
#2686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'i:12;')
#2687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 2', 'N;')
#2688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 's:9:\"something\";')
#2689 - info - SELECT COUNT(*) FROM  ac_config_options
#2690 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2691 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2692 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2693 - info - BEGIN WORK
#2694 - info - Transaction level increased to 1. Message: Begin Work: Removing config option
#2695 - info - DELETE FROM ac_config_options WHERE name = 'Option 2'
#2696 - info - DELETE FROM ac_config_option_values WHERE name = 'Option 2'
#2697 - info - COMMIT
#2698 - info - SELECT COUNT(*) FROM  ac_config_options
#2699 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2700 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2701 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2702 - info - BEGIN WORK
#2703 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#2704 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#2705 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 3')
#2706 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3')
#2707 - info - COMMIT
#2708 - info - SELECT COUNT(*) FROM  ac_config_options
#2709 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2710 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2711 - info - SHOW TABLES LIKE 'ac_config_options'
#2712 - info - SHOW TABLES LIKE 'ac_config_options'
#2713 - info - DROP TABLE `ac_config_options`
#2714 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2715 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2716 - info - DROP TABLE `ac_config_option_values`
#2717 - info - SHOW TABLES LIKE 'ac_modules'
#2718 - info - SHOW TABLES LIKE 'ac_modules'
#2719 - info - DROP TABLE `ac_modules`
#2720 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2721 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2722 - info - DROP TABLE `ac_executed_model_migrations`
#2723 - info - SHOW TABLES LIKE 'ac_update_history'
#2724 - info - SHOW TABLES LIKE 'ac_update_history'
#2725 - info - DROP TABLE `ac_update_history`
#2726 - info - SHOW TABLES LIKE 'ac_access_logs'
#2727 - info - SHOW TABLES LIKE 'ac_access_logs'
#2728 - info - DROP TABLE `ac_access_logs`
#2729 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2730 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2731 - info - DROP TABLE `ac_access_logs_archive`
#2732 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2733 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2734 - info - DROP TABLE `ac_object_contexts`
#2735 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2736 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2737 - info - DROP TABLE `ac_routing_cache`
#2738 - info - SHOW TABLES LIKE 'ac_currencies'
#2739 - info - SHOW TABLES LIKE 'ac_currencies'
#2740 - info - DROP TABLE `ac_currencies`
#2741 - info - SHOW TABLES LIKE 'ac_day_offs'
#2742 - info - SHOW TABLES LIKE 'ac_day_offs'
#2743 - info - DROP TABLE `ac_day_offs`
#2744 - info - SHOW TABLES LIKE 'ac_languages'
#2745 - info - SHOW TABLES LIKE 'ac_languages'
#2746 - info - DROP TABLE `ac_languages`
#2747 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2748 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2749 - info - DROP TABLE `ac_language_phrases`
#2750 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2751 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2752 - info - DROP TABLE `ac_language_phrase_translations`
#2753 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2754 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2755 - info - DROP TABLE `ac_api_client_subscriptions`
#2756 - info - SHOW TABLES LIKE 'ac_users'
#2757 - info - SHOW TABLES LIKE 'ac_users'
#2758 - info - DROP TABLE `ac_users`
#2759 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2760 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2761 - info - DROP TABLE `ac_user_addresses`
#2762 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2763 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2764 - info - DROP TABLE `ac_user_sessions`
#2765 - info - SHOW TABLES LIKE 'ac_security_logs'
#2766 - info - SHOW TABLES LIKE 'ac_security_logs'
#2767 - info - DROP TABLE `ac_security_logs`
#2768 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2769 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2770 - info - DROP TABLE `ac_api_token_logs`
#2771 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2772 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2773 - info - DROP TABLE `ac_activity_logs`
#2774 - info - SHOW TABLES LIKE 'ac_data_filters'
#2775 - info - SHOW TABLES LIKE 'ac_data_filters'
#2776 - info - DROP TABLE `ac_data_filters`
#2777 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2778 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2779 - info - DROP TABLE `ac_modification_logs`
#2780 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2781 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2782 - info - DROP TABLE `ac_modification_log_values`
#2783 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2784 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2785 - info - DROP TABLE `ac_mailing_activity_logs`
#2786 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2787 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2788 - info - DROP TABLE `ac_outgoing_messages`
#2789 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2790 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2791 - info - DROP TABLE `ac_incoming_mail_attachments`
#2792 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2793 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2794 - info - DROP TABLE `ac_incoming_mail_filters`
#2795 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2796 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2797 - info - DROP TABLE `ac_incoming_mailboxes`
#2798 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2799 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2800 - info - DROP TABLE `ac_incoming_mails`
#2801 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2802 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2803 - info - DROP TABLE `ac_homescreen_tabs`
#2804 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2805 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2806 - info - DROP TABLE `ac_homescreen_widgets`
#2807 - info - SHOW TABLES LIKE 'ac_announcements'
#2808 - info - SHOW TABLES LIKE 'ac_announcements'
#2809 - info - DROP TABLE `ac_announcements`
#2810 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2811 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2812 - info - DROP TABLE `ac_announcement_target_ids`
#2813 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2814 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2815 - info - DROP TABLE `ac_announcement_dismissals`
#2816 - info - SHOW TABLES LIKE 'ac_attachments'
#2817 - info - SHOW TABLES LIKE 'ac_attachments'
#2818 - info - DROP TABLE `ac_attachments`
#2819 - info - SHOW TABLES LIKE 'ac_notifications'
#2820 - info - SHOW TABLES LIKE 'ac_notifications'
#2821 - info - DROP TABLE `ac_notifications`
#2822 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2823 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2824 - info - DROP TABLE `ac_notification_recipients`
#2825 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2826 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2827 - info - DROP TABLE `ac_subscriptions`
#2828 - info - SHOW TABLES LIKE 'ac_comments'
#2829 - info - SHOW TABLES LIKE 'ac_comments'
#2830 - info - DROP TABLE `ac_comments`
#2831 - info - SHOW TABLES LIKE 'ac_categories'
#2832 - info - SHOW TABLES LIKE 'ac_categories'
#2833 - info - DROP TABLE `ac_categories`
#2834 - info - SHOW TABLES LIKE 'ac_labels'
#2835 - info - SHOW TABLES LIKE 'ac_labels'
#2836 - info - DROP TABLE `ac_labels`
#2837 - info - SHOW TABLES LIKE 'ac_assignments'
#2838 - info - SHOW TABLES LIKE 'ac_assignments'
#2839 - info - DROP TABLE `ac_assignments`
#2840 - info - SHOW TABLES LIKE 'ac_subtasks'
#2841 - info - SHOW TABLES LIKE 'ac_subtasks'
#2842 - info - DROP TABLE `ac_subtasks`
#2843 - info - SHOW TABLES LIKE 'ac_favorites'
#2844 - info - SHOW TABLES LIKE 'ac_favorites'
#2845 - info - DROP TABLE `ac_favorites`
#2846 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2847 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2848 - info - DROP TABLE `ac_code_snippets`
#2849 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2850 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2851 - info - DROP TABLE `ac_payment_gateways`
#2852 - info - SHOW TABLES LIKE 'ac_payments'
#2853 - info - SHOW TABLES LIKE 'ac_payments'
#2854 - info - DROP TABLE `ac_payments`
#2855 - info - SHOW TABLES LIKE 'ac_reminders'
#2856 - info - SHOW TABLES LIKE 'ac_reminders'
#2857 - info - DROP TABLE `ac_reminders`
#2858 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2859 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2860 - info - DROP TABLE `ac_reminder_users`
#2861 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2862 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2863 - info - DROP TABLE `ac_custom_fields`
#2864 - info - SHOW TABLES LIKE 'ac_calendars'
#2865 - info - SHOW TABLES LIKE 'ac_calendars'
#2866 - info - DROP TABLE `ac_calendars`
#2867 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2868 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2869 - info - DROP TABLE `ac_calendar_events`
#2870 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2871 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2872 - info - DROP TABLE `ac_calendar_users`
#2873 - info - SHOW TABLES LIKE 'ac_data_sources'
#2874 - info - SHOW TABLES LIKE 'ac_data_sources'
#2875 - info - DROP TABLE `ac_data_sources`
#2876 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2877 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2878 - info - DROP TABLE `ac_data_source_mappings`
#2879 - info - SHOW TABLES LIKE 'ac_companies'
#2880 - info - SHOW TABLES LIKE 'ac_companies'
#2881 - info - DROP TABLE `ac_companies`
#2882 - info - SHOW TABLES LIKE 'ac_projects'
#2883 - info - SHOW TABLES LIKE 'ac_projects'
#2884 - info - DROP TABLE `ac_projects`
#2885 - info - SHOW TABLES LIKE 'ac_project_roles'
#2886 - info - SHOW TABLES LIKE 'ac_project_roles'
#2887 - info - DROP TABLE `ac_project_roles`
#2888 - info - SHOW TABLES LIKE 'ac_project_users'
#2889 - info - SHOW TABLES LIKE 'ac_project_users'
#2890 - info - DROP TABLE `ac_project_users`
#2891 - info - SHOW TABLES LIKE 'ac_project_requests'
#2892 - info - SHOW TABLES LIKE 'ac_project_requests'
#2893 - info - DROP TABLE `ac_project_requests`
#2894 - info - SHOW TABLES LIKE 'ac_project_objects'
#2895 - info - SHOW TABLES LIKE 'ac_project_objects'
#2896 - info - DROP TABLE `ac_project_objects`
#2897 - info - SHOW TABLES LIKE 'ac_project_templates'
#2898 - info - SHOW TABLES LIKE 'ac_project_templates'
#2899 - info - DROP TABLE `ac_project_templates`
#2900 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2901 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2902 - info - DROP TABLE `ac_project_object_templates`
#2903 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2904 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2905 - info - DROP TABLE `ac_shared_object_profiles`
#2906 - info - SHOW TABLES LIKE 'ac_file_versions'
#2907 - info - SHOW TABLES LIKE 'ac_file_versions'
#2908 - info - DROP TABLE `ac_file_versions`
#2909 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2910 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2911 - info - DROP TABLE `ac_text_document_versions`
#2912 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2913 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2914 - info - DROP TABLE `ac_public_task_forms`
#2915 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2916 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2917 - info - DROP TABLE `ac_related_tasks`
#2918 - info - SHOW TABLES LIKE 'ac_task_segments'
#2919 - info - SHOW TABLES LIKE 'ac_task_segments'
#2920 - info - DROP TABLE `ac_task_segments`
#2921 - info - SHOW TABLES LIKE 'ac_status_updates'
#2922 - info - SHOW TABLES LIKE 'ac_status_updates'
#2923 - info - DROP TABLE `ac_status_updates`
#2924 - info - SHOW TABLES LIKE 'ac_documents'
#2925 - info - SHOW TABLES LIKE 'ac_documents'
#2926 - info - DROP TABLE `ac_documents`
#2927 - info - SHOW TABLES LIKE 'ac_time_records'
#2928 - info - SHOW TABLES LIKE 'ac_time_records'
#2929 - info - DROP TABLE `ac_time_records`
#2930 - info - SHOW TABLES LIKE 'ac_job_types'
#2931 - info - SHOW TABLES LIKE 'ac_job_types'
#2932 - info - DROP TABLE `ac_job_types`
#2933 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2934 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2935 - info - DROP TABLE `ac_project_hourly_rates`
#2936 - info - SHOW TABLES LIKE 'ac_expenses'
#2937 - info - SHOW TABLES LIKE 'ac_expenses'
#2938 - info - DROP TABLE `ac_expenses`
#2939 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2940 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2941 - info - DROP TABLE `ac_expense_categories`
#2942 - info - SHOW TABLES LIKE 'ac_estimates'
#2943 - info - SHOW TABLES LIKE 'ac_estimates'
#2944 - info - DROP TABLE `ac_estimates`
#2945 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2946 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2947 - info - DROP TABLE `ac_invoice_objects`
#2948 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2949 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2950 - info - DROP TABLE `ac_invoice_object_items`
#2951 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2952 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2953 - info - DROP TABLE `ac_invoice_item_templates`
#2954 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2955 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2956 - info - DROP TABLE `ac_invoice_note_templates`
#2957 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2958 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2959 - info - DROP TABLE `ac_invoice_related_records`
#2960 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2961 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2962 - info - DROP TABLE `ac_tax_rates`
#2963 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2964 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2965 - info - DROP TABLE `ac_notebook_pages`
#2966 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2967 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2968 - info - DROP TABLE `ac_notebook_page_versions`
#2969 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2970 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2971 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2972 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2973 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2974 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2975 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2976 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2977 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2978 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2979 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2980 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2981 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2982 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2983 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2984 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2985 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2986 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2987 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2988 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2989 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2990 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2991 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2992 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2993 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2994 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2995 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2996 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2997 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2998 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2999 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3000 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3001 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3002 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3003 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3004 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3005 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3006 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3007 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3008 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3009 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3010 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3011 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3012 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3013 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3014 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3015 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3016 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3017 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3018 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3019 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3020 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3021 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3022 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3023 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3024 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3025 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3026 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3027 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3028 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3029 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3030 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3031 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3032 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3033 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3034 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3035 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3036 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3037 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3038 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3039 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3040 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3041 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3042 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3043 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3044 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3045 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3046 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3047 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3048 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3049 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3050 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3051 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3052 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3053 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3054 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3056 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3058 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3059 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3082 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3083 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3084 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3085 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3086 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3087 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3090 - info - BEGIN WORK
#3091 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3092 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3093 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3094 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3095 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3096 - info - COMMIT
#3097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3098 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3100 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3101 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3102 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3103 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3105 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3106 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3107 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3108 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3109 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3110 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3111 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3112 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3113 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3114 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3115 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3117 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3119 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3121 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3122 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3124 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3125 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3126 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3127 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3128 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3129 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3130 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3131 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3132 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3133 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3134 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3135 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3136 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3137 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3145 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3146 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3147 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3148 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3149 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377487;')
#3151 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3153 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3154 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3155 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3156 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3157 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3158 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3159 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3160 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3162 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3163 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3164 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3165 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3166 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3167 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3168 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3169 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3170 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3171 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3175 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3176 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3177 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3178 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3180 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3181 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3182 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3183 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3184 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3185 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3186 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3187 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3188 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3189 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3190 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3191 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3192 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3193 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3194 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3195 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3196 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3197 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3198 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:07', '1')
#3199 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3200 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3201 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3202 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3203 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3204 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3205 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3206 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3207 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3208 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3209 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3210 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3211 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3212 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3213 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3214 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3215 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3216 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3217 - info - BEGIN WORK
#3218 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3219 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3220 - info - COMMIT
#3221 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3222 - info - BEGIN WORK
#3223 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3224 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3225 - info - COMMIT
#3226 - info - BEGIN WORK
#3227 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3228 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3229 - info - COMMIT
#3230 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3231 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3232 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3233 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3234 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3235 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3236 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3237 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3238 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3239 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3240 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3241 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3242 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3243 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3244 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3245 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3246 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3247 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3248 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3249 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3250 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3251 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3252 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3253 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3254 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3255 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3256 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3257 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3258 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3259 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3260 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3261 - info - SHOW TABLES LIKE 'ac_job_types'
#3262 - info - SELECT COUNT(id) FROM ac_job_types
#3263 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3264 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3265 - info - BEGIN WORK
#3266 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3267 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3268 - info - COMMIT
#3269 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3270 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3271 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3272 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3273 - info - SELECT COUNT(name) FROM ac_modules
#3274 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3275 - info - SELECT name FROM ac_modules
#3276 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3277 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3278 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3279 - info - Cache miss 'config_values'
#3280 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3281 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3282 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3283 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3284 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3285 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3286 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3287 - info - BEGIN WORK
#3288 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3289 - info - Cache hit 'config_values'
#3290 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3291 - info - UPDATE ac_config_options SET value = 'i:1387377487;' WHERE name = 'search_initialized_on'
#3292 - info - COMMIT
#3293 - info - Cache miss 'models/users/1'
#3294 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3295 - info - SELECT COUNT(*) FROM  ac_config_options
#3296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'N;')
#3297 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 1', 'N;')
#3298 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 'N;')
#3299 - info - SELECT COUNT(*) FROM ac_config_options
#3300 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3301 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3302 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3303 - info - BEGIN WORK
#3304 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3305 - info - Cache miss 'config_values'
#3306 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3307 - info - UPDATE ac_config_options SET value = 's:7:\"Value 1\";' WHERE name = 'Option 1'
#3308 - info - COMMIT
#3309 - info - BEGIN WORK
#3310 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3311 - info - Cache hit 'config_values'
#3312 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3313 - info - UPDATE ac_config_options SET value = 's:7:\"Value 2\";' WHERE name = 'Option 2'
#3314 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3315 - info - UPDATE ac_config_options SET value = 's:7:\"Value 3\";' WHERE name = 'Option 3'
#3316 - info - COMMIT
#3317 - info - Cache hit 'config_values'
#3318 - info - Cache hit 'config_values'
#3319 - info - Cache hit 'config_values'
#3320 - info - Cache hit 'config_values'
#3321 - info - BEGIN WORK
#3322 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#3323 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#3324 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3325 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3326 - info - COMMIT
#3327 - info - SELECT COUNT(*) FROM ac_config_options
#3328 - info - SHOW TABLES LIKE 'ac_config_options'
#3329 - info - SHOW TABLES LIKE 'ac_config_options'
#3330 - info - DROP TABLE `ac_config_options`
#3331 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3332 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3333 - info - DROP TABLE `ac_config_option_values`
#3334 - info - SHOW TABLES LIKE 'ac_modules'
#3335 - info - SHOW TABLES LIKE 'ac_modules'
#3336 - info - DROP TABLE `ac_modules`
#3337 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3338 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3339 - info - DROP TABLE `ac_executed_model_migrations`
#3340 - info - SHOW TABLES LIKE 'ac_update_history'
#3341 - info - SHOW TABLES LIKE 'ac_update_history'
#3342 - info - DROP TABLE `ac_update_history`
#3343 - info - SHOW TABLES LIKE 'ac_access_logs'
#3344 - info - SHOW TABLES LIKE 'ac_access_logs'
#3345 - info - DROP TABLE `ac_access_logs`
#3346 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3347 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3348 - info - DROP TABLE `ac_access_logs_archive`
#3349 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3350 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3351 - info - DROP TABLE `ac_object_contexts`
#3352 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3353 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3354 - info - DROP TABLE `ac_routing_cache`
#3355 - info - SHOW TABLES LIKE 'ac_currencies'
#3356 - info - SHOW TABLES LIKE 'ac_currencies'
#3357 - info - DROP TABLE `ac_currencies`
#3358 - info - SHOW TABLES LIKE 'ac_day_offs'
#3359 - info - SHOW TABLES LIKE 'ac_day_offs'
#3360 - info - DROP TABLE `ac_day_offs`
#3361 - info - SHOW TABLES LIKE 'ac_languages'
#3362 - info - SHOW TABLES LIKE 'ac_languages'
#3363 - info - DROP TABLE `ac_languages`
#3364 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3365 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3366 - info - DROP TABLE `ac_language_phrases`
#3367 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3368 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3369 - info - DROP TABLE `ac_language_phrase_translations`
#3370 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3371 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3372 - info - DROP TABLE `ac_api_client_subscriptions`
#3373 - info - SHOW TABLES LIKE 'ac_users'
#3374 - info - SHOW TABLES LIKE 'ac_users'
#3375 - info - DROP TABLE `ac_users`
#3376 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3377 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3378 - info - DROP TABLE `ac_user_addresses`
#3379 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3380 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3381 - info - DROP TABLE `ac_user_sessions`
#3382 - info - SHOW TABLES LIKE 'ac_security_logs'
#3383 - info - SHOW TABLES LIKE 'ac_security_logs'
#3384 - info - DROP TABLE `ac_security_logs`
#3385 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3386 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3387 - info - DROP TABLE `ac_api_token_logs`
#3388 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3389 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3390 - info - DROP TABLE `ac_activity_logs`
#3391 - info - SHOW TABLES LIKE 'ac_data_filters'
#3392 - info - SHOW TABLES LIKE 'ac_data_filters'
#3393 - info - DROP TABLE `ac_data_filters`
#3394 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3395 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3396 - info - DROP TABLE `ac_modification_logs`
#3397 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3398 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3399 - info - DROP TABLE `ac_modification_log_values`
#3400 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3401 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3402 - info - DROP TABLE `ac_mailing_activity_logs`
#3403 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3404 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3405 - info - DROP TABLE `ac_outgoing_messages`
#3406 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3407 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3408 - info - DROP TABLE `ac_incoming_mail_attachments`
#3409 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3410 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3411 - info - DROP TABLE `ac_incoming_mail_filters`
#3412 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3413 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3414 - info - DROP TABLE `ac_incoming_mailboxes`
#3415 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3416 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3417 - info - DROP TABLE `ac_incoming_mails`
#3418 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3419 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3420 - info - DROP TABLE `ac_homescreen_tabs`
#3421 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3422 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3423 - info - DROP TABLE `ac_homescreen_widgets`
#3424 - info - SHOW TABLES LIKE 'ac_announcements'
#3425 - info - SHOW TABLES LIKE 'ac_announcements'
#3426 - info - DROP TABLE `ac_announcements`
#3427 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3428 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3429 - info - DROP TABLE `ac_announcement_target_ids`
#3430 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3431 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3432 - info - DROP TABLE `ac_announcement_dismissals`
#3433 - info - SHOW TABLES LIKE 'ac_attachments'
#3434 - info - SHOW TABLES LIKE 'ac_attachments'
#3435 - info - DROP TABLE `ac_attachments`
#3436 - info - SHOW TABLES LIKE 'ac_notifications'
#3437 - info - SHOW TABLES LIKE 'ac_notifications'
#3438 - info - DROP TABLE `ac_notifications`
#3439 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3440 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3441 - info - DROP TABLE `ac_notification_recipients`
#3442 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3443 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3444 - info - DROP TABLE `ac_subscriptions`
#3445 - info - SHOW TABLES LIKE 'ac_comments'
#3446 - info - SHOW TABLES LIKE 'ac_comments'
#3447 - info - DROP TABLE `ac_comments`
#3448 - info - SHOW TABLES LIKE 'ac_categories'
#3449 - info - SHOW TABLES LIKE 'ac_categories'
#3450 - info - DROP TABLE `ac_categories`
#3451 - info - SHOW TABLES LIKE 'ac_labels'
#3452 - info - SHOW TABLES LIKE 'ac_labels'
#3453 - info - DROP TABLE `ac_labels`
#3454 - info - SHOW TABLES LIKE 'ac_assignments'
#3455 - info - SHOW TABLES LIKE 'ac_assignments'
#3456 - info - DROP TABLE `ac_assignments`
#3457 - info - SHOW TABLES LIKE 'ac_subtasks'
#3458 - info - SHOW TABLES LIKE 'ac_subtasks'
#3459 - info - DROP TABLE `ac_subtasks`
#3460 - info - SHOW TABLES LIKE 'ac_favorites'
#3461 - info - SHOW TABLES LIKE 'ac_favorites'
#3462 - info - DROP TABLE `ac_favorites`
#3463 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3464 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3465 - info - DROP TABLE `ac_code_snippets`
#3466 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3467 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3468 - info - DROP TABLE `ac_payment_gateways`
#3469 - info - SHOW TABLES LIKE 'ac_payments'
#3470 - info - SHOW TABLES LIKE 'ac_payments'
#3471 - info - DROP TABLE `ac_payments`
#3472 - info - SHOW TABLES LIKE 'ac_reminders'
#3473 - info - SHOW TABLES LIKE 'ac_reminders'
#3474 - info - DROP TABLE `ac_reminders`
#3475 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3476 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3477 - info - DROP TABLE `ac_reminder_users`
#3478 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3479 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3480 - info - DROP TABLE `ac_custom_fields`
#3481 - info - SHOW TABLES LIKE 'ac_calendars'
#3482 - info - SHOW TABLES LIKE 'ac_calendars'
#3483 - info - DROP TABLE `ac_calendars`
#3484 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3485 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3486 - info - DROP TABLE `ac_calendar_events`
#3487 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3488 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3489 - info - DROP TABLE `ac_calendar_users`
#3490 - info - SHOW TABLES LIKE 'ac_data_sources'
#3491 - info - SHOW TABLES LIKE 'ac_data_sources'
#3492 - info - DROP TABLE `ac_data_sources`
#3493 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3494 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3495 - info - DROP TABLE `ac_data_source_mappings`
#3496 - info - SHOW TABLES LIKE 'ac_companies'
#3497 - info - SHOW TABLES LIKE 'ac_companies'
#3498 - info - DROP TABLE `ac_companies`
#3499 - info - SHOW TABLES LIKE 'ac_projects'
#3500 - info - SHOW TABLES LIKE 'ac_projects'
#3501 - info - DROP TABLE `ac_projects`
#3502 - info - SHOW TABLES LIKE 'ac_project_roles'
#3503 - info - SHOW TABLES LIKE 'ac_project_roles'
#3504 - info - DROP TABLE `ac_project_roles`
#3505 - info - SHOW TABLES LIKE 'ac_project_users'
#3506 - info - SHOW TABLES LIKE 'ac_project_users'
#3507 - info - DROP TABLE `ac_project_users`
#3508 - info - SHOW TABLES LIKE 'ac_project_requests'
#3509 - info - SHOW TABLES LIKE 'ac_project_requests'
#3510 - info - DROP TABLE `ac_project_requests`
#3511 - info - SHOW TABLES LIKE 'ac_project_objects'
#3512 - info - SHOW TABLES LIKE 'ac_project_objects'
#3513 - info - DROP TABLE `ac_project_objects`
#3514 - info - SHOW TABLES LIKE 'ac_project_templates'
#3515 - info - SHOW TABLES LIKE 'ac_project_templates'
#3516 - info - DROP TABLE `ac_project_templates`
#3517 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3518 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3519 - info - DROP TABLE `ac_project_object_templates`
#3520 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3521 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3522 - info - DROP TABLE `ac_shared_object_profiles`
#3523 - info - SHOW TABLES LIKE 'ac_file_versions'
#3524 - info - SHOW TABLES LIKE 'ac_file_versions'
#3525 - info - DROP TABLE `ac_file_versions`
#3526 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3527 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3528 - info - DROP TABLE `ac_text_document_versions`
#3529 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3530 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3531 - info - DROP TABLE `ac_public_task_forms`
#3532 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3533 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3534 - info - DROP TABLE `ac_related_tasks`
#3535 - info - SHOW TABLES LIKE 'ac_task_segments'
#3536 - info - SHOW TABLES LIKE 'ac_task_segments'
#3537 - info - DROP TABLE `ac_task_segments`
#3538 - info - SHOW TABLES LIKE 'ac_status_updates'
#3539 - info - SHOW TABLES LIKE 'ac_status_updates'
#3540 - info - DROP TABLE `ac_status_updates`
#3541 - info - SHOW TABLES LIKE 'ac_documents'
#3542 - info - SHOW TABLES LIKE 'ac_documents'
#3543 - info - DROP TABLE `ac_documents`
#3544 - info - SHOW TABLES LIKE 'ac_time_records'
#3545 - info - SHOW TABLES LIKE 'ac_time_records'
#3546 - info - DROP TABLE `ac_time_records`
#3547 - info - SHOW TABLES LIKE 'ac_job_types'
#3548 - info - SHOW TABLES LIKE 'ac_job_types'
#3549 - info - DROP TABLE `ac_job_types`
#3550 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3551 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3552 - info - DROP TABLE `ac_project_hourly_rates`
#3553 - info - SHOW TABLES LIKE 'ac_expenses'
#3554 - info - SHOW TABLES LIKE 'ac_expenses'
#3555 - info - DROP TABLE `ac_expenses`
#3556 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3557 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3558 - info - DROP TABLE `ac_expense_categories`
#3559 - info - SHOW TABLES LIKE 'ac_estimates'
#3560 - info - SHOW TABLES LIKE 'ac_estimates'
#3561 - info - DROP TABLE `ac_estimates`
#3562 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3563 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3564 - info - DROP TABLE `ac_invoice_objects`
#3565 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3566 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3567 - info - DROP TABLE `ac_invoice_object_items`
#3568 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3569 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3570 - info - DROP TABLE `ac_invoice_item_templates`
#3571 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3572 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3573 - info - DROP TABLE `ac_invoice_note_templates`
#3574 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3575 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3576 - info - DROP TABLE `ac_invoice_related_records`
#3577 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3578 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3579 - info - DROP TABLE `ac_tax_rates`
#3580 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3581 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3582 - info - DROP TABLE `ac_notebook_pages`
#3583 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3584 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3585 - info - DROP TABLE `ac_notebook_page_versions`
#3586 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3587 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3588 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3589 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3590 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3591 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3592 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3593 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3594 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3595 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3596 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3597 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3598 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3599 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3600 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3601 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3602 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3603 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3604 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3605 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3606 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3607 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3608 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3609 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3610 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3611 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3612 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3613 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3614 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3615 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3616 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3617 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3618 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3619 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3620 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3621 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3622 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3623 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3624 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3625 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3626 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3627 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3628 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3629 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3630 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3631 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3632 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3633 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3634 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3635 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3636 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3637 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3638 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3639 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3640 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3641 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3642 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3643 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3644 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3645 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3646 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3647 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3648 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3649 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3650 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3651 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3652 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3653 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3654 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3655 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3656 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3657 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3658 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3659 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3660 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3661 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3662 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3663 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3664 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3665 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3666 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3667 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3668 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3669 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3670 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3671 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3697 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3698 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3699 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3700 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3701 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3702 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3703 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3704 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3705 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3707 - info - BEGIN WORK
#3708 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3709 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3710 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3711 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3712 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3713 - info - COMMIT
#3714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3716 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3718 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3734 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3735 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3736 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3737 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3738 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3739 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3740 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3741 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3742 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3743 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3744 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3745 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3746 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3747 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3748 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3749 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3750 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3751 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3752 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3753 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3754 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3756 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3757 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3758 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3759 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3760 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3761 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3762 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377488;')
#3768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3772 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3773 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3774 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3775 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3776 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3777 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3778 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3779 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3780 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3781 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3782 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3783 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3784 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3785 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3786 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3787 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3788 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3789 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3790 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3791 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3792 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3793 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3794 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3795 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3796 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3797 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3798 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3799 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3800 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3801 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3802 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3803 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3804 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3805 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3806 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3807 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3808 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3809 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3810 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3811 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3812 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3813 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3814 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3815 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:08', '1')
#3816 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3817 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3818 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3819 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3820 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3821 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3822 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3823 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3824 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3825 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3826 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3827 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3828 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3829 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3830 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3831 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3832 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3833 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3834 - info - BEGIN WORK
#3835 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3836 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3837 - info - COMMIT
#3838 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3839 - info - BEGIN WORK
#3840 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3841 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3842 - info - COMMIT
#3843 - info - BEGIN WORK
#3844 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3845 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3846 - info - COMMIT
#3847 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3848 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3849 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3850 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3851 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3852 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3853 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3854 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3855 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3856 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3857 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3858 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3859 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3860 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3861 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3862 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3863 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3864 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3865 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3866 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3867 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3868 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3869 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3870 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3871 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3872 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3873 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3874 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3875 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3876 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3877 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3878 - info - SHOW TABLES LIKE 'ac_job_types'
#3879 - info - SELECT COUNT(id) FROM ac_job_types
#3880 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3881 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3882 - info - BEGIN WORK
#3883 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3884 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3885 - info - COMMIT
#3886 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3887 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3888 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3889 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3890 - info - SELECT COUNT(name) FROM ac_modules
#3891 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3892 - info - SELECT name FROM ac_modules
#3893 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3894 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3895 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3896 - info - Cache miss 'config_values'
#3897 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3898 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3899 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3900 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3901 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3902 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3903 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3904 - info - BEGIN WORK
#3905 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3906 - info - Cache hit 'config_values'
#3907 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3908 - info - UPDATE ac_config_options SET value = 'i:1387377488;' WHERE name = 'search_initialized_on'
#3909 - info - COMMIT
#3910 - info - Cache miss 'models/users/1'
#3911 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3912 - info - SELECT COUNT(*) FROM  ac_config_options
#3913 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'system', 'i:1983;')
#3914 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'system', 's:10:\"Google.com\";')
#3915 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'system', 'a:6:{i:0;s:8:\"Belgrade\";i:1;s:6:\"Zagreb\";i:2;s:9:\"Ljubljana\";i:3;s:8:\"Sarajevo\";i:4;s:9:\"Podgorica\";i:5;s:7:\"Skoplje\";}')
#3916 - info - SELECT COUNT(*) FROM ac_config_options
#3917 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3918 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3919 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3920 - info - BEGIN WORK
#3921 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3922 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3923 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3924 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3925 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '1', 's:7:\"Value 1\";')
#3926 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3927 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3928 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '1', 's:7:\"Value 3\";')
#3929 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3930 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3931 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 2', 'TestConfigOptionsObject1', '1', 's:7:\"Value 2\";')
#3932 - info - COMMIT
#3933 - info - BEGIN WORK
#3934 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3935 - info - Cache miss 'models/test_config_options_object1s/2/config_options'
#3936 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3937 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3938 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '2', 's:25:\"Value 1 for second object\";')
#3939 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3940 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3941 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '2', 's:7:\"Value 3\";')
#3942 - info - COMMIT
#3943 - info - BEGIN WORK
#3944 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3945 - info - Cache miss 'models/test_config_options_object2s/1/config_options'
#3946 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3947 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject2' AND parent_id = '1'
#3948 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject2', '1', 'i:1;')
#3949 - info - COMMIT
#3950 - info - SELECT COUNT(*) FROM ac_config_option_values
#3951 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3952 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject2'
#3953 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3954 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3955 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3956 - info - DELETE FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3957 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3958 - info - Cache miss 'config_values'
#3959 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3960 - info - BEGIN WORK
#3961 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3962 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3963 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3964 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3965 - info - UPDATE ac_config_option_values SET value = 's:9:\"Yahoo.com\";' WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3966 - info - COMMIT
#3967 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3968 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3969 - info - Cache hit 'models/test_config_options_object1s/1/config_options'
#3970 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3971 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 2') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3972 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3973 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3974 - info - Cache hit 'config_values'
#3975 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3976 - info - SHOW TABLES LIKE 'ac_config_options'
#3977 - info - SHOW TABLES LIKE 'ac_config_options'
#3978 - info - DROP TABLE `ac_config_options`
#3979 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3980 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3981 - info - DROP TABLE `ac_config_option_values`
#3982 - info - SHOW TABLES LIKE 'ac_modules'
#3983 - info - SHOW TABLES LIKE 'ac_modules'
#3984 - info - DROP TABLE `ac_modules`
#3985 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3986 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3987 - info - DROP TABLE `ac_executed_model_migrations`
#3988 - info - SHOW TABLES LIKE 'ac_update_history'
#3989 - info - SHOW TABLES LIKE 'ac_update_history'
#3990 - info - DROP TABLE `ac_update_history`
#3991 - info - SHOW TABLES LIKE 'ac_access_logs'
#3992 - info - SHOW TABLES LIKE 'ac_access_logs'
#3993 - info - DROP TABLE `ac_access_logs`
#3994 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3995 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3996 - info - DROP TABLE `ac_access_logs_archive`
#3997 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3998 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3999 - info - DROP TABLE `ac_object_contexts`
#4000 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4001 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4002 - info - DROP TABLE `ac_routing_cache`
#4003 - info - SHOW TABLES LIKE 'ac_currencies'
#4004 - info - SHOW TABLES LIKE 'ac_currencies'
#4005 - info - DROP TABLE `ac_currencies`
#4006 - info - SHOW TABLES LIKE 'ac_day_offs'
#4007 - info - SHOW TABLES LIKE 'ac_day_offs'
#4008 - info - DROP TABLE `ac_day_offs`
#4009 - info - SHOW TABLES LIKE 'ac_languages'
#4010 - info - SHOW TABLES LIKE 'ac_languages'
#4011 - info - DROP TABLE `ac_languages`
#4012 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4013 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4014 - info - DROP TABLE `ac_language_phrases`
#4015 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4016 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4017 - info - DROP TABLE `ac_language_phrase_translations`
#4018 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4019 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4020 - info - DROP TABLE `ac_api_client_subscriptions`
#4021 - info - SHOW TABLES LIKE 'ac_users'
#4022 - info - SHOW TABLES LIKE 'ac_users'
#4023 - info - DROP TABLE `ac_users`
#4024 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4025 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4026 - info - DROP TABLE `ac_user_addresses`
#4027 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4028 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4029 - info - DROP TABLE `ac_user_sessions`
#4030 - info - SHOW TABLES LIKE 'ac_security_logs'
#4031 - info - SHOW TABLES LIKE 'ac_security_logs'
#4032 - info - DROP TABLE `ac_security_logs`
#4033 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4034 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4035 - info - DROP TABLE `ac_api_token_logs`
#4036 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4037 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4038 - info - DROP TABLE `ac_activity_logs`
#4039 - info - SHOW TABLES LIKE 'ac_data_filters'
#4040 - info - SHOW TABLES LIKE 'ac_data_filters'
#4041 - info - DROP TABLE `ac_data_filters`
#4042 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4043 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4044 - info - DROP TABLE `ac_modification_logs`
#4045 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4046 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4047 - info - DROP TABLE `ac_modification_log_values`
#4048 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4049 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4050 - info - DROP TABLE `ac_mailing_activity_logs`
#4051 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4052 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4053 - info - DROP TABLE `ac_outgoing_messages`
#4054 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4055 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4056 - info - DROP TABLE `ac_incoming_mail_attachments`
#4057 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4058 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4059 - info - DROP TABLE `ac_incoming_mail_filters`
#4060 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4061 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4062 - info - DROP TABLE `ac_incoming_mailboxes`
#4063 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4064 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4065 - info - DROP TABLE `ac_incoming_mails`
#4066 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4067 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4068 - info - DROP TABLE `ac_homescreen_tabs`
#4069 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4070 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4071 - info - DROP TABLE `ac_homescreen_widgets`
#4072 - info - SHOW TABLES LIKE 'ac_announcements'
#4073 - info - SHOW TABLES LIKE 'ac_announcements'
#4074 - info - DROP TABLE `ac_announcements`
#4075 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4076 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4077 - info - DROP TABLE `ac_announcement_target_ids`
#4078 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4079 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4080 - info - DROP TABLE `ac_announcement_dismissals`
#4081 - info - SHOW TABLES LIKE 'ac_attachments'
#4082 - info - SHOW TABLES LIKE 'ac_attachments'
#4083 - info - DROP TABLE `ac_attachments`
#4084 - info - SHOW TABLES LIKE 'ac_notifications'
#4085 - info - SHOW TABLES LIKE 'ac_notifications'
#4086 - info - DROP TABLE `ac_notifications`
#4087 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4088 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4089 - info - DROP TABLE `ac_notification_recipients`
#4090 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4091 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4092 - info - DROP TABLE `ac_subscriptions`
#4093 - info - SHOW TABLES LIKE 'ac_comments'
#4094 - info - SHOW TABLES LIKE 'ac_comments'
#4095 - info - DROP TABLE `ac_comments`
#4096 - info - SHOW TABLES LIKE 'ac_categories'
#4097 - info - SHOW TABLES LIKE 'ac_categories'
#4098 - info - DROP TABLE `ac_categories`
#4099 - info - SHOW TABLES LIKE 'ac_labels'
#4100 - info - SHOW TABLES LIKE 'ac_labels'
#4101 - info - DROP TABLE `ac_labels`
#4102 - info - SHOW TABLES LIKE 'ac_assignments'
#4103 - info - SHOW TABLES LIKE 'ac_assignments'
#4104 - info - DROP TABLE `ac_assignments`
#4105 - info - SHOW TABLES LIKE 'ac_subtasks'
#4106 - info - SHOW TABLES LIKE 'ac_subtasks'
#4107 - info - DROP TABLE `ac_subtasks`
#4108 - info - SHOW TABLES LIKE 'ac_favorites'
#4109 - info - SHOW TABLES LIKE 'ac_favorites'
#4110 - info - DROP TABLE `ac_favorites`
#4111 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4112 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4113 - info - DROP TABLE `ac_code_snippets`
#4114 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4115 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4116 - info - DROP TABLE `ac_payment_gateways`
#4117 - info - SHOW TABLES LIKE 'ac_payments'
#4118 - info - SHOW TABLES LIKE 'ac_payments'
#4119 - info - DROP TABLE `ac_payments`
#4120 - info - SHOW TABLES LIKE 'ac_reminders'
#4121 - info - SHOW TABLES LIKE 'ac_reminders'
#4122 - info - DROP TABLE `ac_reminders`
#4123 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4124 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4125 - info - DROP TABLE `ac_reminder_users`
#4126 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4127 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4128 - info - DROP TABLE `ac_custom_fields`
#4129 - info - SHOW TABLES LIKE 'ac_calendars'
#4130 - info - SHOW TABLES LIKE 'ac_calendars'
#4131 - info - DROP TABLE `ac_calendars`
#4132 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4133 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4134 - info - DROP TABLE `ac_calendar_events`
#4135 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4136 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4137 - info - DROP TABLE `ac_calendar_users`
#4138 - info - SHOW TABLES LIKE 'ac_data_sources'
#4139 - info - SHOW TABLES LIKE 'ac_data_sources'
#4140 - info - DROP TABLE `ac_data_sources`
#4141 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4142 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4143 - info - DROP TABLE `ac_data_source_mappings`
#4144 - info - SHOW TABLES LIKE 'ac_companies'
#4145 - info - SHOW TABLES LIKE 'ac_companies'
#4146 - info - DROP TABLE `ac_companies`
#4147 - info - SHOW TABLES LIKE 'ac_projects'
#4148 - info - SHOW TABLES LIKE 'ac_projects'
#4149 - info - DROP TABLE `ac_projects`
#4150 - info - SHOW TABLES LIKE 'ac_project_roles'
#4151 - info - SHOW TABLES LIKE 'ac_project_roles'
#4152 - info - DROP TABLE `ac_project_roles`
#4153 - info - SHOW TABLES LIKE 'ac_project_users'
#4154 - info - SHOW TABLES LIKE 'ac_project_users'
#4155 - info - DROP TABLE `ac_project_users`
#4156 - info - SHOW TABLES LIKE 'ac_project_requests'
#4157 - info - SHOW TABLES LIKE 'ac_project_requests'
#4158 - info - DROP TABLE `ac_project_requests`
#4159 - info - SHOW TABLES LIKE 'ac_project_objects'
#4160 - info - SHOW TABLES LIKE 'ac_project_objects'
#4161 - info - DROP TABLE `ac_project_objects`
#4162 - info - SHOW TABLES LIKE 'ac_project_templates'
#4163 - info - SHOW TABLES LIKE 'ac_project_templates'
#4164 - info - DROP TABLE `ac_project_templates`
#4165 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4166 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4167 - info - DROP TABLE `ac_project_object_templates`
#4168 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4169 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4170 - info - DROP TABLE `ac_shared_object_profiles`
#4171 - info - SHOW TABLES LIKE 'ac_file_versions'
#4172 - info - SHOW TABLES LIKE 'ac_file_versions'
#4173 - info - DROP TABLE `ac_file_versions`
#4174 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4175 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4176 - info - DROP TABLE `ac_text_document_versions`
#4177 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4178 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4179 - info - DROP TABLE `ac_public_task_forms`
#4180 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4181 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4182 - info - DROP TABLE `ac_related_tasks`
#4183 - info - SHOW TABLES LIKE 'ac_task_segments'
#4184 - info - SHOW TABLES LIKE 'ac_task_segments'
#4185 - info - DROP TABLE `ac_task_segments`
#4186 - info - SHOW TABLES LIKE 'ac_status_updates'
#4187 - info - SHOW TABLES LIKE 'ac_status_updates'
#4188 - info - DROP TABLE `ac_status_updates`
#4189 - info - SHOW TABLES LIKE 'ac_documents'
#4190 - info - SHOW TABLES LIKE 'ac_documents'
#4191 - info - DROP TABLE `ac_documents`
#4192 - info - SHOW TABLES LIKE 'ac_time_records'
#4193 - info - SHOW TABLES LIKE 'ac_time_records'
#4194 - info - DROP TABLE `ac_time_records`
#4195 - info - SHOW TABLES LIKE 'ac_job_types'
#4196 - info - SHOW TABLES LIKE 'ac_job_types'
#4197 - info - DROP TABLE `ac_job_types`
#4198 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4199 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4200 - info - DROP TABLE `ac_project_hourly_rates`
#4201 - info - SHOW TABLES LIKE 'ac_expenses'
#4202 - info - SHOW TABLES LIKE 'ac_expenses'
#4203 - info - DROP TABLE `ac_expenses`
#4204 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4205 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4206 - info - DROP TABLE `ac_expense_categories`
#4207 - info - SHOW TABLES LIKE 'ac_estimates'
#4208 - info - SHOW TABLES LIKE 'ac_estimates'
#4209 - info - DROP TABLE `ac_estimates`
#4210 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4211 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4212 - info - DROP TABLE `ac_invoice_objects`
#4213 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4214 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4215 - info - DROP TABLE `ac_invoice_object_items`
#4216 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4217 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4218 - info - DROP TABLE `ac_invoice_item_templates`
#4219 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4220 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4221 - info - DROP TABLE `ac_invoice_note_templates`
#4222 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4223 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4224 - info - DROP TABLE `ac_invoice_related_records`
#4225 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4226 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4227 - info - DROP TABLE `ac_tax_rates`
#4228 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4229 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4230 - info - DROP TABLE `ac_notebook_pages`
#4231 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4232 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4233 - info - DROP TABLE `ac_notebook_page_versions`
#4234 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4235 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4236 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4237 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4238 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4239 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4240 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4241 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4242 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4243 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4244 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4245 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4246 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4247 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4248 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4249 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4250 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4251 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4252 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4253 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4254 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4255 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4256 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4257 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4258 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4259 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4260 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4261 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4262 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4263 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4264 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4265 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4266 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4267 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4268 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4269 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4270 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4271 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4272 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4273 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4274 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4275 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4276 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4277 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4278 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4279 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4280 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4281 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4282 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4283 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4284 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4285 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4286 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4287 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4288 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4289 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4290 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4291 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4292 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4293 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4294 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4295 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4296 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4297 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4298 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4299 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4300 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4301 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4302 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4303 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4304 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4305 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4306 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4307 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4308 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4309 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4310 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4311 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4312 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4313 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4314 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4315 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4316 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4317 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4318 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4319 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4345 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4346 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4347 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4348 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4349 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4350 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4355 - info - BEGIN WORK
#4356 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4357 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4358 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4359 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4360 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4361 - info - COMMIT
#4362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4386 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4387 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4388 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4389 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4390 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4391 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4392 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4393 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4394 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4395 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4396 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4397 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4398 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4399 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4400 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4401 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4402 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377489;')
#4416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4417 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4420 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4421 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4422 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4423 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4424 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4425 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4428 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4429 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4430 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4432 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4440 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4441 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#4445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#4446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#4447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#4448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#4449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#4450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#4451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#4452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#4453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#4454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#4455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#4456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#4457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#4458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#4459 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#4460 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#4461 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#4462 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#4463 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:09', '1')
#4464 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4465 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4466 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4467 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#4469 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#4471 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#4473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#4474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#4475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#4476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#4477 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#4478 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#4479 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#4480 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#4482 - info - BEGIN WORK
#4483 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#4484 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#4485 - info - COMMIT
#4486 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#4487 - info - BEGIN WORK
#4488 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4489 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#4490 - info - COMMIT
#4491 - info - BEGIN WORK
#4492 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4493 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#4494 - info - COMMIT
#4495 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4496 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4497 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#4498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#4499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#4500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#4501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#4502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#4503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#4504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#4505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#4506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#4507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#4508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#4509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#4510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#4511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#4512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#4513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#4514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#4515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#4516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#4517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#4518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#4519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#4520 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#4521 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#4522 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#4523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#4524 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#4525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#4526 - info - SHOW TABLES LIKE 'ac_job_types'
#4527 - info - SELECT COUNT(id) FROM ac_job_types
#4528 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4529 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#4530 - info - BEGIN WORK
#4531 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#4532 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#4533 - info - COMMIT
#4534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#4535 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4536 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4537 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#4538 - info - SELECT COUNT(name) FROM ac_modules
#4539 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#4540 - info - SELECT name FROM ac_modules
#4541 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#4542 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#4543 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#4544 - info - Cache hit 'config_values'
#4545 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#4546 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#4547 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#4548 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#4549 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#4550 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#4551 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#4552 - info - BEGIN WORK
#4553 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#4554 - info - Cache hit 'config_values'
#4555 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#4556 - info - UPDATE ac_config_options SET value = 'i:1387377489;' WHERE name = 'search_initialized_on'
#4557 - info - COMMIT
#4558 - info - Cache miss 'models/users/1'
#4559 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#4560 - info - Cache hit 'models/users/1'
#4561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('testing_user_model', 'system', 'N;')
#4562 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'testing_user_model'
#4563 - info - BEGIN WORK
#4564 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#4565 - info - Cache miss 'models/users/1/config_options'
#4566 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'testing_user_model'
#4567 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4568 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('testing_user_model', 'User', '1', 'i:123;')
#4569 - info - COMMIT
#4570 - info - Cache hit 'models/users/1/config_options'
#4571 - info - SELECT value FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4572 - info - SELECT * FROM ac_config_option_values WHERE name = 'testing_user_model'
#4573 - info - SHOW TABLES LIKE 'ac_config_options'
#4574 - info - SHOW TABLES LIKE 'ac_config_options'
#4575 - info - DROP TABLE `ac_config_options`
#4576 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4577 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4578 - info - DROP TABLE `ac_config_option_values`
#4579 - info - SHOW TABLES LIKE 'ac_modules'
#4580 - info - SHOW TABLES LIKE 'ac_modules'
#4581 - info - DROP TABLE `ac_modules`
#4582 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4583 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4584 - info - DROP TABLE `ac_executed_model_migrations`
#4585 - info - SHOW TABLES LIKE 'ac_update_history'
#4586 - info - SHOW TABLES LIKE 'ac_update_history'
#4587 - info - DROP TABLE `ac_update_history`
#4588 - info - SHOW TABLES LIKE 'ac_access_logs'
#4589 - info - SHOW TABLES LIKE 'ac_access_logs'
#4590 - info - DROP TABLE `ac_access_logs`
#4591 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4592 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4593 - info - DROP TABLE `ac_access_logs_archive`
#4594 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4595 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4596 - info - DROP TABLE `ac_object_contexts`
#4597 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4598 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4599 - info - DROP TABLE `ac_routing_cache`
#4600 - info - SHOW TABLES LIKE 'ac_currencies'
#4601 - info - SHOW TABLES LIKE 'ac_currencies'
#4602 - info - DROP TABLE `ac_currencies`
#4603 - info - SHOW TABLES LIKE 'ac_day_offs'
#4604 - info - SHOW TABLES LIKE 'ac_day_offs'
#4605 - info - DROP TABLE `ac_day_offs`
#4606 - info - SHOW TABLES LIKE 'ac_languages'
#4607 - info - SHOW TABLES LIKE 'ac_languages'
#4608 - info - DROP TABLE `ac_languages`
#4609 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4610 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4611 - info - DROP TABLE `ac_language_phrases`
#4612 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4613 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4614 - info - DROP TABLE `ac_language_phrase_translations`
#4615 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4616 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4617 - info - DROP TABLE `ac_api_client_subscriptions`
#4618 - info - SHOW TABLES LIKE 'ac_users'
#4619 - info - SHOW TABLES LIKE 'ac_users'
#4620 - info - DROP TABLE `ac_users`
#4621 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4622 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4623 - info - DROP TABLE `ac_user_addresses`
#4624 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4625 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4626 - info - DROP TABLE `ac_user_sessions`
#4627 - info - SHOW TABLES LIKE 'ac_security_logs'
#4628 - info - SHOW TABLES LIKE 'ac_security_logs'
#4629 - info - DROP TABLE `ac_security_logs`
#4630 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4631 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4632 - info - DROP TABLE `ac_api_token_logs`
#4633 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4634 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4635 - info - DROP TABLE `ac_activity_logs`
#4636 - info - SHOW TABLES LIKE 'ac_data_filters'
#4637 - info - SHOW TABLES LIKE 'ac_data_filters'
#4638 - info - DROP TABLE `ac_data_filters`
#4639 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4640 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4641 - info - DROP TABLE `ac_modification_logs`
#4642 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4643 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4644 - info - DROP TABLE `ac_modification_log_values`
#4645 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4646 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4647 - info - DROP TABLE `ac_mailing_activity_logs`
#4648 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4649 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4650 - info - DROP TABLE `ac_outgoing_messages`
#4651 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4652 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4653 - info - DROP TABLE `ac_incoming_mail_attachments`
#4654 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4655 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4656 - info - DROP TABLE `ac_incoming_mail_filters`
#4657 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4658 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4659 - info - DROP TABLE `ac_incoming_mailboxes`
#4660 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4661 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4662 - info - DROP TABLE `ac_incoming_mails`
#4663 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4664 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4665 - info - DROP TABLE `ac_homescreen_tabs`
#4666 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4667 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4668 - info - DROP TABLE `ac_homescreen_widgets`
#4669 - info - SHOW TABLES LIKE 'ac_announcements'
#4670 - info - SHOW TABLES LIKE 'ac_announcements'
#4671 - info - DROP TABLE `ac_announcements`
#4672 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4673 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4674 - info - DROP TABLE `ac_announcement_target_ids`
#4675 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4676 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4677 - info - DROP TABLE `ac_announcement_dismissals`
#4678 - info - SHOW TABLES LIKE 'ac_attachments'
#4679 - info - SHOW TABLES LIKE 'ac_attachments'
#4680 - info - DROP TABLE `ac_attachments`
#4681 - info - SHOW TABLES LIKE 'ac_notifications'
#4682 - info - SHOW TABLES LIKE 'ac_notifications'
#4683 - info - DROP TABLE `ac_notifications`
#4684 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4685 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4686 - info - DROP TABLE `ac_notification_recipients`
#4687 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4688 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4689 - info - DROP TABLE `ac_subscriptions`
#4690 - info - SHOW TABLES LIKE 'ac_comments'
#4691 - info - SHOW TABLES LIKE 'ac_comments'
#4692 - info - DROP TABLE `ac_comments`
#4693 - info - SHOW TABLES LIKE 'ac_categories'
#4694 - info - SHOW TABLES LIKE 'ac_categories'
#4695 - info - DROP TABLE `ac_categories`
#4696 - info - SHOW TABLES LIKE 'ac_labels'
#4697 - info - SHOW TABLES LIKE 'ac_labels'
#4698 - info - DROP TABLE `ac_labels`
#4699 - info - SHOW TABLES LIKE 'ac_assignments'
#4700 - info - SHOW TABLES LIKE 'ac_assignments'
#4701 - info - DROP TABLE `ac_assignments`
#4702 - info - SHOW TABLES LIKE 'ac_subtasks'
#4703 - info - SHOW TABLES LIKE 'ac_subtasks'
#4704 - info - DROP TABLE `ac_subtasks`
#4705 - info - SHOW TABLES LIKE 'ac_favorites'
#4706 - info - SHOW TABLES LIKE 'ac_favorites'
#4707 - info - DROP TABLE `ac_favorites`
#4708 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4709 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4710 - info - DROP TABLE `ac_code_snippets`
#4711 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4712 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4713 - info - DROP TABLE `ac_payment_gateways`
#4714 - info - SHOW TABLES LIKE 'ac_payments'
#4715 - info - SHOW TABLES LIKE 'ac_payments'
#4716 - info - DROP TABLE `ac_payments`
#4717 - info - SHOW TABLES LIKE 'ac_reminders'
#4718 - info - SHOW TABLES LIKE 'ac_reminders'
#4719 - info - DROP TABLE `ac_reminders`
#4720 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4721 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4722 - info - DROP TABLE `ac_reminder_users`
#4723 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4724 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4725 - info - DROP TABLE `ac_custom_fields`
#4726 - info - SHOW TABLES LIKE 'ac_calendars'
#4727 - info - SHOW TABLES LIKE 'ac_calendars'
#4728 - info - DROP TABLE `ac_calendars`
#4729 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4730 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4731 - info - DROP TABLE `ac_calendar_events`
#4732 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4733 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4734 - info - DROP TABLE `ac_calendar_users`
#4735 - info - SHOW TABLES LIKE 'ac_data_sources'
#4736 - info - SHOW TABLES LIKE 'ac_data_sources'
#4737 - info - DROP TABLE `ac_data_sources`
#4738 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4739 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4740 - info - DROP TABLE `ac_data_source_mappings`
#4741 - info - SHOW TABLES LIKE 'ac_companies'
#4742 - info - SHOW TABLES LIKE 'ac_companies'
#4743 - info - DROP TABLE `ac_companies`
#4744 - info - SHOW TABLES LIKE 'ac_projects'
#4745 - info - SHOW TABLES LIKE 'ac_projects'
#4746 - info - DROP TABLE `ac_projects`
#4747 - info - SHOW TABLES LIKE 'ac_project_roles'
#4748 - info - SHOW TABLES LIKE 'ac_project_roles'
#4749 - info - DROP TABLE `ac_project_roles`
#4750 - info - SHOW TABLES LIKE 'ac_project_users'
#4751 - info - SHOW TABLES LIKE 'ac_project_users'
#4752 - info - DROP TABLE `ac_project_users`
#4753 - info - SHOW TABLES LIKE 'ac_project_requests'
#4754 - info - SHOW TABLES LIKE 'ac_project_requests'
#4755 - info - DROP TABLE `ac_project_requests`
#4756 - info - SHOW TABLES LIKE 'ac_project_objects'
#4757 - info - SHOW TABLES LIKE 'ac_project_objects'
#4758 - info - DROP TABLE `ac_project_objects`
#4759 - info - SHOW TABLES LIKE 'ac_project_templates'
#4760 - info - SHOW TABLES LIKE 'ac_project_templates'
#4761 - info - DROP TABLE `ac_project_templates`
#4762 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4763 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4764 - info - DROP TABLE `ac_project_object_templates`
#4765 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4766 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4767 - info - DROP TABLE `ac_shared_object_profiles`
#4768 - info - SHOW TABLES LIKE 'ac_file_versions'
#4769 - info - SHOW TABLES LIKE 'ac_file_versions'
#4770 - info - DROP TABLE `ac_file_versions`
#4771 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4772 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4773 - info - DROP TABLE `ac_text_document_versions`
#4774 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4775 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4776 - info - DROP TABLE `ac_public_task_forms`
#4777 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4778 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4779 - info - DROP TABLE `ac_related_tasks`
#4780 - info - SHOW TABLES LIKE 'ac_task_segments'
#4781 - info - SHOW TABLES LIKE 'ac_task_segments'
#4782 - info - DROP TABLE `ac_task_segments`
#4783 - info - SHOW TABLES LIKE 'ac_status_updates'
#4784 - info - SHOW TABLES LIKE 'ac_status_updates'
#4785 - info - DROP TABLE `ac_status_updates`
#4786 - info - SHOW TABLES LIKE 'ac_documents'
#4787 - info - SHOW TABLES LIKE 'ac_documents'
#4788 - info - DROP TABLE `ac_documents`
#4789 - info - SHOW TABLES LIKE 'ac_time_records'
#4790 - info - SHOW TABLES LIKE 'ac_time_records'
#4791 - info - DROP TABLE `ac_time_records`
#4792 - info - SHOW TABLES LIKE 'ac_job_types'
#4793 - info - SHOW TABLES LIKE 'ac_job_types'
#4794 - info - DROP TABLE `ac_job_types`
#4795 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4796 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4797 - info - DROP TABLE `ac_project_hourly_rates`
#4798 - info - SHOW TABLES LIKE 'ac_expenses'
#4799 - info - SHOW TABLES LIKE 'ac_expenses'
#4800 - info - DROP TABLE `ac_expenses`
#4801 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4802 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4803 - info - DROP TABLE `ac_expense_categories`
#4804 - info - SHOW TABLES LIKE 'ac_estimates'
#4805 - info - SHOW TABLES LIKE 'ac_estimates'
#4806 - info - DROP TABLE `ac_estimates`
#4807 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4808 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4809 - info - DROP TABLE `ac_invoice_objects`
#4810 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4811 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4812 - info - DROP TABLE `ac_invoice_object_items`
#4813 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4814 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4815 - info - DROP TABLE `ac_invoice_item_templates`
#4816 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4817 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4818 - info - DROP TABLE `ac_invoice_note_templates`
#4819 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4820 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4821 - info - DROP TABLE `ac_invoice_related_records`
#4822 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4823 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4824 - info - DROP TABLE `ac_tax_rates`
#4825 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4826 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4827 - info - DROP TABLE `ac_notebook_pages`
#4828 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4829 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4830 - info - DROP TABLE `ac_notebook_page_versions`
#4831 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4832 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4833 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4834 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4835 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4836 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4837 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4838 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4839 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4840 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4841 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4842 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4843 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4844 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4845 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4846 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4847 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4848 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4849 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4850 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4851 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4852 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4853 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4854 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4855 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4856 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4857 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4858 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4859 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4860 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4861 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4862 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4863 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4864 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4865 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4866 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4867 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4868 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4869 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4870 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4871 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4872 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4873 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4874 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4875 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4876 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4877 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4878 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4879 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4880 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4881 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4882 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4883 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4884 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4885 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4886 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4887 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4888 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4889 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4890 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4891 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4892 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4893 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4894 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4895 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4896 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4897 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4898 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4899 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4900 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4901 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4902 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4903 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4904 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4905 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4906 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4907 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4908 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4909 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4910 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4911 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4912 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4913 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4914 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4915 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4916 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4917 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4918 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4919 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4920 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4921 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4922 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4923 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4924 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4925 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4926 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4931 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4932 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4933 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4934 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4935 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4952 - info - BEGIN WORK
#4953 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4954 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4955 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4956 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4957 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4958 - info - COMMIT
#4959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4963 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4964 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4965 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4966 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4967 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4986 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4987 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4988 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4989 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4990 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4991 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4992 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4993 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4994 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4995 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4996 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4997 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4998 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4999 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#5000 - info - Event 'on_shutdown' triggered

caching

#1 - info - APC cache backend loaded
#2 - info - File system cache backend loaded
#3 - info - File system cache backend loaded
#4 - info - File system cache backend loaded

sql

#1 - info - SET NAMES 'utf8'
#2 - info - SET SESSION character_set_database = 'utf8'
#3 - info - SHOW TABLES LIKE 'ac_config_options'
#4 - info - SHOW TABLES LIKE 'ac_config_options'
#5 - info - DROP TABLE `ac_config_options`
#6 - info - SHOW TABLES LIKE 'ac_config_option_values'
#7 - info - SHOW TABLES LIKE 'ac_config_option_values'
#8 - info - DROP TABLE `ac_config_option_values`
#9 - info - SHOW TABLES LIKE 'ac_modules'
#10 - info - SHOW TABLES LIKE 'ac_modules'
#11 - info - DROP TABLE `ac_modules`
#12 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#13 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#14 - info - DROP TABLE `ac_executed_model_migrations`
#15 - info - SHOW TABLES LIKE 'ac_update_history'
#16 - info - SHOW TABLES LIKE 'ac_update_history'
#17 - info - DROP TABLE `ac_update_history`
#18 - info - SHOW TABLES LIKE 'ac_access_logs'
#19 - info - SHOW TABLES LIKE 'ac_access_logs'
#20 - info - DROP TABLE `ac_access_logs`
#21 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#22 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#23 - info - DROP TABLE `ac_access_logs_archive`
#24 - info - SHOW TABLES LIKE 'ac_object_contexts'
#25 - info - SHOW TABLES LIKE 'ac_object_contexts'
#26 - info - DROP TABLE `ac_object_contexts`
#27 - info - SHOW TABLES LIKE 'ac_routing_cache'
#28 - info - SHOW TABLES LIKE 'ac_routing_cache'
#29 - info - DROP TABLE `ac_routing_cache`
#30 - info - SHOW TABLES LIKE 'ac_currencies'
#31 - info - SHOW TABLES LIKE 'ac_currencies'
#32 - info - DROP TABLE `ac_currencies`
#33 - info - SHOW TABLES LIKE 'ac_day_offs'
#34 - info - SHOW TABLES LIKE 'ac_day_offs'
#35 - info - DROP TABLE `ac_day_offs`
#36 - info - SHOW TABLES LIKE 'ac_languages'
#37 - info - SHOW TABLES LIKE 'ac_languages'
#38 - info - DROP TABLE `ac_languages`
#39 - info - SHOW TABLES LIKE 'ac_language_phrases'
#40 - info - SHOW TABLES LIKE 'ac_language_phrases'
#41 - info - DROP TABLE `ac_language_phrases`
#42 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#43 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#44 - info - DROP TABLE `ac_language_phrase_translations`
#45 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#46 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#47 - info - DROP TABLE `ac_api_client_subscriptions`
#48 - info - SHOW TABLES LIKE 'ac_users'
#49 - info - SHOW TABLES LIKE 'ac_users'
#50 - info - DROP TABLE `ac_users`
#51 - info - SHOW TABLES LIKE 'ac_user_addresses'
#52 - info - SHOW TABLES LIKE 'ac_user_addresses'
#53 - info - DROP TABLE `ac_user_addresses`
#54 - info - SHOW TABLES LIKE 'ac_user_sessions'
#55 - info - SHOW TABLES LIKE 'ac_user_sessions'
#56 - info - DROP TABLE `ac_user_sessions`
#57 - info - SHOW TABLES LIKE 'ac_security_logs'
#58 - info - SHOW TABLES LIKE 'ac_security_logs'
#59 - info - DROP TABLE `ac_security_logs`
#60 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#61 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#62 - info - DROP TABLE `ac_api_token_logs`
#63 - info - SHOW TABLES LIKE 'ac_activity_logs'
#64 - info - SHOW TABLES LIKE 'ac_activity_logs'
#65 - info - DROP TABLE `ac_activity_logs`
#66 - info - SHOW TABLES LIKE 'ac_data_filters'
#67 - info - SHOW TABLES LIKE 'ac_data_filters'
#68 - info - DROP TABLE `ac_data_filters`
#69 - info - SHOW TABLES LIKE 'ac_modification_logs'
#70 - info - SHOW TABLES LIKE 'ac_modification_logs'
#71 - info - DROP TABLE `ac_modification_logs`
#72 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#73 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#74 - info - DROP TABLE `ac_modification_log_values`
#75 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#76 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#77 - info - DROP TABLE `ac_mailing_activity_logs`
#78 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#79 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#80 - info - DROP TABLE `ac_outgoing_messages`
#81 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#82 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#83 - info - DROP TABLE `ac_incoming_mail_attachments`
#84 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#85 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#86 - info - DROP TABLE `ac_incoming_mail_filters`
#87 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#88 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#89 - info - DROP TABLE `ac_incoming_mailboxes`
#90 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#91 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#92 - info - DROP TABLE `ac_incoming_mails`
#93 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#94 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#95 - info - DROP TABLE `ac_homescreen_tabs`
#96 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#97 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#98 - info - DROP TABLE `ac_homescreen_widgets`
#99 - info - SHOW TABLES LIKE 'ac_announcements'
#100 - info - SHOW TABLES LIKE 'ac_announcements'
#101 - info - DROP TABLE `ac_announcements`
#102 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#103 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#104 - info - DROP TABLE `ac_announcement_target_ids`
#105 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#106 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#107 - info - DROP TABLE `ac_announcement_dismissals`
#108 - info - SHOW TABLES LIKE 'ac_attachments'
#109 - info - SHOW TABLES LIKE 'ac_attachments'
#110 - info - DROP TABLE `ac_attachments`
#111 - info - SHOW TABLES LIKE 'ac_notifications'
#112 - info - SHOW TABLES LIKE 'ac_notifications'
#113 - info - DROP TABLE `ac_notifications`
#114 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#115 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#116 - info - DROP TABLE `ac_notification_recipients`
#117 - info - SHOW TABLES LIKE 'ac_subscriptions'
#118 - info - SHOW TABLES LIKE 'ac_subscriptions'
#119 - info - DROP TABLE `ac_subscriptions`
#120 - info - SHOW TABLES LIKE 'ac_comments'
#121 - info - SHOW TABLES LIKE 'ac_comments'
#122 - info - DROP TABLE `ac_comments`
#123 - info - SHOW TABLES LIKE 'ac_categories'
#124 - info - SHOW TABLES LIKE 'ac_categories'
#125 - info - DROP TABLE `ac_categories`
#126 - info - SHOW TABLES LIKE 'ac_labels'
#127 - info - SHOW TABLES LIKE 'ac_labels'
#128 - info - DROP TABLE `ac_labels`
#129 - info - SHOW TABLES LIKE 'ac_assignments'
#130 - info - SHOW TABLES LIKE 'ac_assignments'
#131 - info - DROP TABLE `ac_assignments`
#132 - info - SHOW TABLES LIKE 'ac_subtasks'
#133 - info - SHOW TABLES LIKE 'ac_subtasks'
#134 - info - DROP TABLE `ac_subtasks`
#135 - info - SHOW TABLES LIKE 'ac_favorites'
#136 - info - SHOW TABLES LIKE 'ac_favorites'
#137 - info - DROP TABLE `ac_favorites`
#138 - info - SHOW TABLES LIKE 'ac_code_snippets'
#139 - info - SHOW TABLES LIKE 'ac_code_snippets'
#140 - info - DROP TABLE `ac_code_snippets`
#141 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#142 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#143 - info - DROP TABLE `ac_payment_gateways`
#144 - info - SHOW TABLES LIKE 'ac_payments'
#145 - info - SHOW TABLES LIKE 'ac_payments'
#146 - info - DROP TABLE `ac_payments`
#147 - info - SHOW TABLES LIKE 'ac_reminders'
#148 - info - SHOW TABLES LIKE 'ac_reminders'
#149 - info - DROP TABLE `ac_reminders`
#150 - info - SHOW TABLES LIKE 'ac_reminder_users'
#151 - info - SHOW TABLES LIKE 'ac_reminder_users'
#152 - info - DROP TABLE `ac_reminder_users`
#153 - info - SHOW TABLES LIKE 'ac_custom_fields'
#154 - info - SHOW TABLES LIKE 'ac_custom_fields'
#155 - info - DROP TABLE `ac_custom_fields`
#156 - info - SHOW TABLES LIKE 'ac_calendars'
#157 - info - SHOW TABLES LIKE 'ac_calendars'
#158 - info - DROP TABLE `ac_calendars`
#159 - info - SHOW TABLES LIKE 'ac_calendar_events'
#160 - info - SHOW TABLES LIKE 'ac_calendar_events'
#161 - info - DROP TABLE `ac_calendar_events`
#162 - info - SHOW TABLES LIKE 'ac_calendar_users'
#163 - info - SHOW TABLES LIKE 'ac_calendar_users'
#164 - info - DROP TABLE `ac_calendar_users`
#165 - info - SHOW TABLES LIKE 'ac_data_sources'
#166 - info - SHOW TABLES LIKE 'ac_data_sources'
#167 - info - DROP TABLE `ac_data_sources`
#168 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#169 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#170 - info - DROP TABLE `ac_data_source_mappings`
#171 - info - SHOW TABLES LIKE 'ac_companies'
#172 - info - SHOW TABLES LIKE 'ac_companies'
#173 - info - DROP TABLE `ac_companies`
#174 - info - SHOW TABLES LIKE 'ac_projects'
#175 - info - SHOW TABLES LIKE 'ac_projects'
#176 - info - DROP TABLE `ac_projects`
#177 - info - SHOW TABLES LIKE 'ac_project_roles'
#178 - info - SHOW TABLES LIKE 'ac_project_roles'
#179 - info - DROP TABLE `ac_project_roles`
#180 - info - SHOW TABLES LIKE 'ac_project_users'
#181 - info - SHOW TABLES LIKE 'ac_project_users'
#182 - info - DROP TABLE `ac_project_users`
#183 - info - SHOW TABLES LIKE 'ac_project_requests'
#184 - info - SHOW TABLES LIKE 'ac_project_requests'
#185 - info - DROP TABLE `ac_project_requests`
#186 - info - SHOW TABLES LIKE 'ac_project_objects'
#187 - info - SHOW TABLES LIKE 'ac_project_objects'
#188 - info - DROP TABLE `ac_project_objects`
#189 - info - SHOW TABLES LIKE 'ac_project_templates'
#190 - info - SHOW TABLES LIKE 'ac_project_templates'
#191 - info - DROP TABLE `ac_project_templates`
#192 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#193 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#194 - info - DROP TABLE `ac_project_object_templates`
#195 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#196 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#197 - info - DROP TABLE `ac_shared_object_profiles`
#198 - info - SHOW TABLES LIKE 'ac_file_versions'
#199 - info - SHOW TABLES LIKE 'ac_file_versions'
#200 - info - DROP TABLE `ac_file_versions`
#201 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#202 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#203 - info - DROP TABLE `ac_text_document_versions`
#204 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#205 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#206 - info - DROP TABLE `ac_public_task_forms`
#207 - info - SHOW TABLES LIKE 'ac_related_tasks'
#208 - info - SHOW TABLES LIKE 'ac_related_tasks'
#209 - info - DROP TABLE `ac_related_tasks`
#210 - info - SHOW TABLES LIKE 'ac_task_segments'
#211 - info - SHOW TABLES LIKE 'ac_task_segments'
#212 - info - DROP TABLE `ac_task_segments`
#213 - info - SHOW TABLES LIKE 'ac_status_updates'
#214 - info - SHOW TABLES LIKE 'ac_status_updates'
#215 - info - DROP TABLE `ac_status_updates`
#216 - info - SHOW TABLES LIKE 'ac_documents'
#217 - info - SHOW TABLES LIKE 'ac_documents'
#218 - info - DROP TABLE `ac_documents`
#219 - info - SHOW TABLES LIKE 'ac_time_records'
#220 - info - SHOW TABLES LIKE 'ac_time_records'
#221 - info - DROP TABLE `ac_time_records`
#222 - info - SHOW TABLES LIKE 'ac_job_types'
#223 - info - SHOW TABLES LIKE 'ac_job_types'
#224 - info - DROP TABLE `ac_job_types`
#225 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#226 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#227 - info - DROP TABLE `ac_project_hourly_rates`
#228 - info - SHOW TABLES LIKE 'ac_expenses'
#229 - info - SHOW TABLES LIKE 'ac_expenses'
#230 - info - DROP TABLE `ac_expenses`
#231 - info - SHOW TABLES LIKE 'ac_expense_categories'
#232 - info - SHOW TABLES LIKE 'ac_expense_categories'
#233 - info - DROP TABLE `ac_expense_categories`
#234 - info - SHOW TABLES LIKE 'ac_estimates'
#235 - info - SHOW TABLES LIKE 'ac_estimates'
#236 - info - DROP TABLE `ac_estimates`
#237 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#238 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#239 - info - DROP TABLE `ac_invoice_objects`
#240 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#241 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#242 - info - DROP TABLE `ac_invoice_object_items`
#243 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#244 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#245 - info - DROP TABLE `ac_invoice_item_templates`
#246 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#247 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#248 - info - DROP TABLE `ac_invoice_note_templates`
#249 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#250 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#251 - info - DROP TABLE `ac_invoice_related_records`
#252 - info - SHOW TABLES LIKE 'ac_tax_rates'
#253 - info - SHOW TABLES LIKE 'ac_tax_rates'
#254 - info - DROP TABLE `ac_tax_rates`
#255 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#256 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#257 - info - DROP TABLE `ac_notebook_pages`
#258 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#259 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#260 - info - DROP TABLE `ac_notebook_page_versions`
#261 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#262 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#263 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#264 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#265 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#266 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#267 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#268 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#269 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#270 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#271 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#272 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#273 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#274 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#275 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#276 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#277 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#278 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#279 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#280 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#281 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#282 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#283 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#284 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#285 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#286 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#287 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#288 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#289 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#290 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#291 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#292 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#293 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#294 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#295 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#296 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#297 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#298 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#299 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#300 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#301 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#302 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#303 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#304 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#305 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#306 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#307 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#308 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#309 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#310 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#311 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#312 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#313 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#314 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#315 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#316 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#317 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#318 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#319 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#320 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#321 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#322 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#323 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#324 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#325 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#326 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#327 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#328 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#329 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#330 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#331 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#332 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#333 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#334 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#335 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#336 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#337 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#338 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#339 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#340 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#341 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#342 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#343 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#344 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#345 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#346 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#347 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#348 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#349 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#350 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#382 - info - BEGIN WORK
#383 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#384 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#385 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#386 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#387 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#388 - info - COMMIT
#389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#390 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#416 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#417 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#418 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#419 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#420 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#421 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#422 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#423 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#424 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#425 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#426 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#427 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#428 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#429 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377484;')
#443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#455 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#456 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#457 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#459 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#467 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#468 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#484 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#486 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#487 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#488 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#489 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#490 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:04', '1')
#491 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#492 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#493 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#494 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#496 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#498 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#504 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#505 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#506 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#507 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#509 - info - BEGIN WORK
#510 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#511 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#512 - info - COMMIT
#513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#514 - info - BEGIN WORK
#515 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#516 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#517 - info - COMMIT
#518 - info - BEGIN WORK
#519 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#520 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#521 - info - COMMIT
#522 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#523 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#524 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#553 - info - SHOW TABLES LIKE 'ac_job_types'
#554 - info - SELECT COUNT(id) FROM ac_job_types
#555 - info - SHOW TABLES LIKE 'ac_tax_rates'
#556 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#557 - info - BEGIN WORK
#558 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#559 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#560 - info - COMMIT
#561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#562 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#563 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#564 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#565 - info - SELECT COUNT(name) FROM ac_modules
#566 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#567 - info - SELECT name FROM ac_modules
#568 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#569 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#570 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#571 - info - SELECT name, is_enabled FROM ac_modules WHERE name != 'system' ORDER BY position
#572 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#573 - info - BEGIN WORK
#574 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#575 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#576 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'File', '2013-12-18 14:38:04')
#577 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#578 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#579 - info - COMMIT
#580 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#581 - info - BEGIN WORK
#582 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#583 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'New name') AND (id <> '1')
#584 - info - UPDATE ac_test_data_objects SET name = 'New name', updated_on = '2013-12-18 14:38:04' WHERE id = '1'
#585 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#586 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#587 - info - COMMIT
#588 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#589 - info - BEGIN WORK
#590 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#591 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#592 - info - COMMIT
#593 - info - DROP TABLE IF EXISTS ac_test_data_objects
#594 - info - SHOW TABLES LIKE 'ac_config_options'
#595 - info - SHOW TABLES LIKE 'ac_config_options'
#596 - info - DROP TABLE `ac_config_options`
#597 - info - SHOW TABLES LIKE 'ac_config_option_values'
#598 - info - SHOW TABLES LIKE 'ac_config_option_values'
#599 - info - DROP TABLE `ac_config_option_values`
#600 - info - SHOW TABLES LIKE 'ac_modules'
#601 - info - SHOW TABLES LIKE 'ac_modules'
#602 - info - DROP TABLE `ac_modules`
#603 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#604 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#605 - info - DROP TABLE `ac_executed_model_migrations`
#606 - info - SHOW TABLES LIKE 'ac_update_history'
#607 - info - SHOW TABLES LIKE 'ac_update_history'
#608 - info - DROP TABLE `ac_update_history`
#609 - info - SHOW TABLES LIKE 'ac_access_logs'
#610 - info - SHOW TABLES LIKE 'ac_access_logs'
#611 - info - DROP TABLE `ac_access_logs`
#612 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#613 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#614 - info - DROP TABLE `ac_access_logs_archive`
#615 - info - SHOW TABLES LIKE 'ac_object_contexts'
#616 - info - SHOW TABLES LIKE 'ac_object_contexts'
#617 - info - DROP TABLE `ac_object_contexts`
#618 - info - SHOW TABLES LIKE 'ac_routing_cache'
#619 - info - SHOW TABLES LIKE 'ac_routing_cache'
#620 - info - DROP TABLE `ac_routing_cache`
#621 - info - SHOW TABLES LIKE 'ac_currencies'
#622 - info - SHOW TABLES LIKE 'ac_currencies'
#623 - info - DROP TABLE `ac_currencies`
#624 - info - SHOW TABLES LIKE 'ac_day_offs'
#625 - info - SHOW TABLES LIKE 'ac_day_offs'
#626 - info - DROP TABLE `ac_day_offs`
#627 - info - SHOW TABLES LIKE 'ac_languages'
#628 - info - SHOW TABLES LIKE 'ac_languages'
#629 - info - DROP TABLE `ac_languages`
#630 - info - SHOW TABLES LIKE 'ac_language_phrases'
#631 - info - SHOW TABLES LIKE 'ac_language_phrases'
#632 - info - DROP TABLE `ac_language_phrases`
#633 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#634 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#635 - info - DROP TABLE `ac_language_phrase_translations`
#636 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#637 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#638 - info - DROP TABLE `ac_api_client_subscriptions`
#639 - info - SHOW TABLES LIKE 'ac_users'
#640 - info - SHOW TABLES LIKE 'ac_users'
#641 - info - DROP TABLE `ac_users`
#642 - info - SHOW TABLES LIKE 'ac_user_addresses'
#643 - info - SHOW TABLES LIKE 'ac_user_addresses'
#644 - info - DROP TABLE `ac_user_addresses`
#645 - info - SHOW TABLES LIKE 'ac_user_sessions'
#646 - info - SHOW TABLES LIKE 'ac_user_sessions'
#647 - info - DROP TABLE `ac_user_sessions`
#648 - info - SHOW TABLES LIKE 'ac_security_logs'
#649 - info - SHOW TABLES LIKE 'ac_security_logs'
#650 - info - DROP TABLE `ac_security_logs`
#651 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#652 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#653 - info - DROP TABLE `ac_api_token_logs`
#654 - info - SHOW TABLES LIKE 'ac_activity_logs'
#655 - info - SHOW TABLES LIKE 'ac_activity_logs'
#656 - info - DROP TABLE `ac_activity_logs`
#657 - info - SHOW TABLES LIKE 'ac_data_filters'
#658 - info - SHOW TABLES LIKE 'ac_data_filters'
#659 - info - DROP TABLE `ac_data_filters`
#660 - info - SHOW TABLES LIKE 'ac_modification_logs'
#661 - info - SHOW TABLES LIKE 'ac_modification_logs'
#662 - info - DROP TABLE `ac_modification_logs`
#663 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#664 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#665 - info - DROP TABLE `ac_modification_log_values`
#666 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#667 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#668 - info - DROP TABLE `ac_mailing_activity_logs`
#669 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#670 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#671 - info - DROP TABLE `ac_outgoing_messages`
#672 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#673 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#674 - info - DROP TABLE `ac_incoming_mail_attachments`
#675 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#676 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#677 - info - DROP TABLE `ac_incoming_mail_filters`
#678 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#679 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#680 - info - DROP TABLE `ac_incoming_mailboxes`
#681 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#682 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#683 - info - DROP TABLE `ac_incoming_mails`
#684 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#685 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#686 - info - DROP TABLE `ac_homescreen_tabs`
#687 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#688 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#689 - info - DROP TABLE `ac_homescreen_widgets`
#690 - info - SHOW TABLES LIKE 'ac_announcements'
#691 - info - SHOW TABLES LIKE 'ac_announcements'
#692 - info - DROP TABLE `ac_announcements`
#693 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#694 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#695 - info - DROP TABLE `ac_announcement_target_ids`
#696 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#697 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#698 - info - DROP TABLE `ac_announcement_dismissals`
#699 - info - SHOW TABLES LIKE 'ac_attachments'
#700 - info - SHOW TABLES LIKE 'ac_attachments'
#701 - info - DROP TABLE `ac_attachments`
#702 - info - SHOW TABLES LIKE 'ac_notifications'
#703 - info - SHOW TABLES LIKE 'ac_notifications'
#704 - info - DROP TABLE `ac_notifications`
#705 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#706 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#707 - info - DROP TABLE `ac_notification_recipients`
#708 - info - SHOW TABLES LIKE 'ac_subscriptions'
#709 - info - SHOW TABLES LIKE 'ac_subscriptions'
#710 - info - DROP TABLE `ac_subscriptions`
#711 - info - SHOW TABLES LIKE 'ac_comments'
#712 - info - SHOW TABLES LIKE 'ac_comments'
#713 - info - DROP TABLE `ac_comments`
#714 - info - SHOW TABLES LIKE 'ac_categories'
#715 - info - SHOW TABLES LIKE 'ac_categories'
#716 - info - DROP TABLE `ac_categories`
#717 - info - SHOW TABLES LIKE 'ac_labels'
#718 - info - SHOW TABLES LIKE 'ac_labels'
#719 - info - DROP TABLE `ac_labels`
#720 - info - SHOW TABLES LIKE 'ac_assignments'
#721 - info - SHOW TABLES LIKE 'ac_assignments'
#722 - info - DROP TABLE `ac_assignments`
#723 - info - SHOW TABLES LIKE 'ac_subtasks'
#724 - info - SHOW TABLES LIKE 'ac_subtasks'
#725 - info - DROP TABLE `ac_subtasks`
#726 - info - SHOW TABLES LIKE 'ac_favorites'
#727 - info - SHOW TABLES LIKE 'ac_favorites'
#728 - info - DROP TABLE `ac_favorites`
#729 - info - SHOW TABLES LIKE 'ac_code_snippets'
#730 - info - SHOW TABLES LIKE 'ac_code_snippets'
#731 - info - DROP TABLE `ac_code_snippets`
#732 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#733 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#734 - info - DROP TABLE `ac_payment_gateways`
#735 - info - SHOW TABLES LIKE 'ac_payments'
#736 - info - SHOW TABLES LIKE 'ac_payments'
#737 - info - DROP TABLE `ac_payments`
#738 - info - SHOW TABLES LIKE 'ac_reminders'
#739 - info - SHOW TABLES LIKE 'ac_reminders'
#740 - info - DROP TABLE `ac_reminders`
#741 - info - SHOW TABLES LIKE 'ac_reminder_users'
#742 - info - SHOW TABLES LIKE 'ac_reminder_users'
#743 - info - DROP TABLE `ac_reminder_users`
#744 - info - SHOW TABLES LIKE 'ac_custom_fields'
#745 - info - SHOW TABLES LIKE 'ac_custom_fields'
#746 - info - DROP TABLE `ac_custom_fields`
#747 - info - SHOW TABLES LIKE 'ac_calendars'
#748 - info - SHOW TABLES LIKE 'ac_calendars'
#749 - info - DROP TABLE `ac_calendars`
#750 - info - SHOW TABLES LIKE 'ac_calendar_events'
#751 - info - SHOW TABLES LIKE 'ac_calendar_events'
#752 - info - DROP TABLE `ac_calendar_events`
#753 - info - SHOW TABLES LIKE 'ac_calendar_users'
#754 - info - SHOW TABLES LIKE 'ac_calendar_users'
#755 - info - DROP TABLE `ac_calendar_users`
#756 - info - SHOW TABLES LIKE 'ac_data_sources'
#757 - info - SHOW TABLES LIKE 'ac_data_sources'
#758 - info - DROP TABLE `ac_data_sources`
#759 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#760 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#761 - info - DROP TABLE `ac_data_source_mappings`
#762 - info - SHOW TABLES LIKE 'ac_companies'
#763 - info - SHOW TABLES LIKE 'ac_companies'
#764 - info - DROP TABLE `ac_companies`
#765 - info - SHOW TABLES LIKE 'ac_projects'
#766 - info - SHOW TABLES LIKE 'ac_projects'
#767 - info - DROP TABLE `ac_projects`
#768 - info - SHOW TABLES LIKE 'ac_project_roles'
#769 - info - SHOW TABLES LIKE 'ac_project_roles'
#770 - info - DROP TABLE `ac_project_roles`
#771 - info - SHOW TABLES LIKE 'ac_project_users'
#772 - info - SHOW TABLES LIKE 'ac_project_users'
#773 - info - DROP TABLE `ac_project_users`
#774 - info - SHOW TABLES LIKE 'ac_project_requests'
#775 - info - SHOW TABLES LIKE 'ac_project_requests'
#776 - info - DROP TABLE `ac_project_requests`
#777 - info - SHOW TABLES LIKE 'ac_project_objects'
#778 - info - SHOW TABLES LIKE 'ac_project_objects'
#779 - info - DROP TABLE `ac_project_objects`
#780 - info - SHOW TABLES LIKE 'ac_project_templates'
#781 - info - SHOW TABLES LIKE 'ac_project_templates'
#782 - info - DROP TABLE `ac_project_templates`
#783 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#784 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#785 - info - DROP TABLE `ac_project_object_templates`
#786 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#787 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#788 - info - DROP TABLE `ac_shared_object_profiles`
#789 - info - SHOW TABLES LIKE 'ac_file_versions'
#790 - info - SHOW TABLES LIKE 'ac_file_versions'
#791 - info - DROP TABLE `ac_file_versions`
#792 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#793 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#794 - info - DROP TABLE `ac_text_document_versions`
#795 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#796 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#797 - info - DROP TABLE `ac_public_task_forms`
#798 - info - SHOW TABLES LIKE 'ac_related_tasks'
#799 - info - SHOW TABLES LIKE 'ac_related_tasks'
#800 - info - DROP TABLE `ac_related_tasks`
#801 - info - SHOW TABLES LIKE 'ac_task_segments'
#802 - info - SHOW TABLES LIKE 'ac_task_segments'
#803 - info - DROP TABLE `ac_task_segments`
#804 - info - SHOW TABLES LIKE 'ac_status_updates'
#805 - info - SHOW TABLES LIKE 'ac_status_updates'
#806 - info - DROP TABLE `ac_status_updates`
#807 - info - SHOW TABLES LIKE 'ac_documents'
#808 - info - SHOW TABLES LIKE 'ac_documents'
#809 - info - DROP TABLE `ac_documents`
#810 - info - SHOW TABLES LIKE 'ac_time_records'
#811 - info - SHOW TABLES LIKE 'ac_time_records'
#812 - info - DROP TABLE `ac_time_records`
#813 - info - SHOW TABLES LIKE 'ac_job_types'
#814 - info - SHOW TABLES LIKE 'ac_job_types'
#815 - info - DROP TABLE `ac_job_types`
#816 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#817 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#818 - info - DROP TABLE `ac_project_hourly_rates`
#819 - info - SHOW TABLES LIKE 'ac_expenses'
#820 - info - SHOW TABLES LIKE 'ac_expenses'
#821 - info - DROP TABLE `ac_expenses`
#822 - info - SHOW TABLES LIKE 'ac_expense_categories'
#823 - info - SHOW TABLES LIKE 'ac_expense_categories'
#824 - info - DROP TABLE `ac_expense_categories`
#825 - info - SHOW TABLES LIKE 'ac_estimates'
#826 - info - SHOW TABLES LIKE 'ac_estimates'
#827 - info - DROP TABLE `ac_estimates`
#828 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#829 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#830 - info - DROP TABLE `ac_invoice_objects`
#831 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#832 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#833 - info - DROP TABLE `ac_invoice_object_items`
#834 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#835 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#836 - info - DROP TABLE `ac_invoice_item_templates`
#837 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#838 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#839 - info - DROP TABLE `ac_invoice_note_templates`
#840 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#841 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#842 - info - DROP TABLE `ac_invoice_related_records`
#843 - info - SHOW TABLES LIKE 'ac_tax_rates'
#844 - info - SHOW TABLES LIKE 'ac_tax_rates'
#845 - info - DROP TABLE `ac_tax_rates`
#846 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#847 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#848 - info - DROP TABLE `ac_notebook_pages`
#849 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#850 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#851 - info - DROP TABLE `ac_notebook_page_versions`
#852 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#853 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#854 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#855 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#856 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#857 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#858 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#859 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#860 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#861 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#862 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#863 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#864 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#865 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#866 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#867 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#868 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#869 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#870 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#871 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#872 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#873 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#874 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#875 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#876 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#877 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#878 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#879 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#880 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#881 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#882 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#883 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#884 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#885 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#886 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#887 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#888 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#889 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#890 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#891 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#892 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#893 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#894 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#895 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#896 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#897 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#898 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#899 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#900 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#901 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#902 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#903 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#904 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#905 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#906 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#907 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#908 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#909 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#910 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#911 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#912 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#913 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#914 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#915 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#916 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#917 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#918 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#919 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#920 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#921 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#922 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#923 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#924 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#925 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#926 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#927 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#928 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#929 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#930 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#931 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#932 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#933 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#934 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#935 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#936 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#937 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#952 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#953 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#954 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#955 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#956 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#957 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#958 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#963 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#964 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#965 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#966 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#967 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#973 - info - BEGIN WORK
#974 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#975 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#976 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#977 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#978 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#979 - info - COMMIT
#980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1005 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1006 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1007 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1008 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1009 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1010 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1011 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1012 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1013 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1014 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1015 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1016 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1017 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1018 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1019 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1020 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377485;')
#1034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1036 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1042 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1043 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1044 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1045 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1046 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1047 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1048 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1049 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1050 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1051 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1052 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1053 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1054 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1056 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1058 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1059 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1077 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1078 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1079 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1080 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1081 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:05', '1')
#1082 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1083 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1084 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1085 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1086 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1087 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1089 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1090 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1091 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1093 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1094 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1095 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1096 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1097 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1098 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1100 - info - BEGIN WORK
#1101 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1102 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1103 - info - COMMIT
#1104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1105 - info - BEGIN WORK
#1106 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1107 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1108 - info - COMMIT
#1109 - info - BEGIN WORK
#1110 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1111 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1112 - info - COMMIT
#1113 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1114 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1115 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1117 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1119 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1121 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1122 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1124 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1125 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1126 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1127 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1128 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1129 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1135 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1137 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1144 - info - SHOW TABLES LIKE 'ac_job_types'
#1145 - info - SELECT COUNT(id) FROM ac_job_types
#1146 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1147 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1148 - info - BEGIN WORK
#1149 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1150 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1151 - info - COMMIT
#1152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1153 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1154 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1155 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1156 - info - SELECT COUNT(name) FROM ac_modules
#1157 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1158 - info - SELECT name FROM ac_modules
#1159 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1160 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1161 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1162 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1163 - info - SELECT value FROM ac_config_options WHERE name = 'search_provider'
#1164 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1165 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1166 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1167 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1168 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1169 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1170 - info - BEGIN WORK
#1171 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1172 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1173 - info - UPDATE ac_config_options SET value = 'i:1387377485;' WHERE name = 'search_initialized_on'
#1174 - info - COMMIT
#1175 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1176 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1177 - info - SHOW TABLES LIKE 'ac_%'
#1178 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1179 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1180 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1181 - info - SHOW TABLES LIKE 'ac_%'
#1182 - info - DROP TABLE ac_test_table
#1183 - info - SHOW TABLES LIKE 'ac_config_options'
#1184 - info - SHOW TABLES LIKE 'ac_config_options'
#1185 - info - DROP TABLE `ac_config_options`
#1186 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1187 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1188 - info - DROP TABLE `ac_config_option_values`
#1189 - info - SHOW TABLES LIKE 'ac_modules'
#1190 - info - SHOW TABLES LIKE 'ac_modules'
#1191 - info - DROP TABLE `ac_modules`
#1192 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1193 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1194 - info - DROP TABLE `ac_executed_model_migrations`
#1195 - info - SHOW TABLES LIKE 'ac_update_history'
#1196 - info - SHOW TABLES LIKE 'ac_update_history'
#1197 - info - DROP TABLE `ac_update_history`
#1198 - info - SHOW TABLES LIKE 'ac_access_logs'
#1199 - info - SHOW TABLES LIKE 'ac_access_logs'
#1200 - info - DROP TABLE `ac_access_logs`
#1201 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1202 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1203 - info - DROP TABLE `ac_access_logs_archive`
#1204 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1205 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1206 - info - DROP TABLE `ac_object_contexts`
#1207 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1208 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1209 - info - DROP TABLE `ac_routing_cache`
#1210 - info - SHOW TABLES LIKE 'ac_currencies'
#1211 - info - SHOW TABLES LIKE 'ac_currencies'
#1212 - info - DROP TABLE `ac_currencies`
#1213 - info - SHOW TABLES LIKE 'ac_day_offs'
#1214 - info - SHOW TABLES LIKE 'ac_day_offs'
#1215 - info - DROP TABLE `ac_day_offs`
#1216 - info - SHOW TABLES LIKE 'ac_languages'
#1217 - info - SHOW TABLES LIKE 'ac_languages'
#1218 - info - DROP TABLE `ac_languages`
#1219 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1220 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1221 - info - DROP TABLE `ac_language_phrases`
#1222 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1223 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1224 - info - DROP TABLE `ac_language_phrase_translations`
#1225 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1226 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1227 - info - DROP TABLE `ac_api_client_subscriptions`
#1228 - info - SHOW TABLES LIKE 'ac_users'
#1229 - info - SHOW TABLES LIKE 'ac_users'
#1230 - info - DROP TABLE `ac_users`
#1231 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1232 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1233 - info - DROP TABLE `ac_user_addresses`
#1234 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1235 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1236 - info - DROP TABLE `ac_user_sessions`
#1237 - info - SHOW TABLES LIKE 'ac_security_logs'
#1238 - info - SHOW TABLES LIKE 'ac_security_logs'
#1239 - info - DROP TABLE `ac_security_logs`
#1240 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1241 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1242 - info - DROP TABLE `ac_api_token_logs`
#1243 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1244 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1245 - info - DROP TABLE `ac_activity_logs`
#1246 - info - SHOW TABLES LIKE 'ac_data_filters'
#1247 - info - SHOW TABLES LIKE 'ac_data_filters'
#1248 - info - DROP TABLE `ac_data_filters`
#1249 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1250 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1251 - info - DROP TABLE `ac_modification_logs`
#1252 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1253 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1254 - info - DROP TABLE `ac_modification_log_values`
#1255 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1256 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1257 - info - DROP TABLE `ac_mailing_activity_logs`
#1258 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1259 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1260 - info - DROP TABLE `ac_outgoing_messages`
#1261 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1262 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1263 - info - DROP TABLE `ac_incoming_mail_attachments`
#1264 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1265 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1266 - info - DROP TABLE `ac_incoming_mail_filters`
#1267 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1268 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1269 - info - DROP TABLE `ac_incoming_mailboxes`
#1270 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1271 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1272 - info - DROP TABLE `ac_incoming_mails`
#1273 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1274 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1275 - info - DROP TABLE `ac_homescreen_tabs`
#1276 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1277 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1278 - info - DROP TABLE `ac_homescreen_widgets`
#1279 - info - SHOW TABLES LIKE 'ac_announcements'
#1280 - info - SHOW TABLES LIKE 'ac_announcements'
#1281 - info - DROP TABLE `ac_announcements`
#1282 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1283 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1284 - info - DROP TABLE `ac_announcement_target_ids`
#1285 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1286 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1287 - info - DROP TABLE `ac_announcement_dismissals`
#1288 - info - SHOW TABLES LIKE 'ac_attachments'
#1289 - info - SHOW TABLES LIKE 'ac_attachments'
#1290 - info - DROP TABLE `ac_attachments`
#1291 - info - SHOW TABLES LIKE 'ac_notifications'
#1292 - info - SHOW TABLES LIKE 'ac_notifications'
#1293 - info - DROP TABLE `ac_notifications`
#1294 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1295 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1296 - info - DROP TABLE `ac_notification_recipients`
#1297 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1298 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1299 - info - DROP TABLE `ac_subscriptions`
#1300 - info - SHOW TABLES LIKE 'ac_comments'
#1301 - info - SHOW TABLES LIKE 'ac_comments'
#1302 - info - DROP TABLE `ac_comments`
#1303 - info - SHOW TABLES LIKE 'ac_categories'
#1304 - info - SHOW TABLES LIKE 'ac_categories'
#1305 - info - DROP TABLE `ac_categories`
#1306 - info - SHOW TABLES LIKE 'ac_labels'
#1307 - info - SHOW TABLES LIKE 'ac_labels'
#1308 - info - DROP TABLE `ac_labels`
#1309 - info - SHOW TABLES LIKE 'ac_assignments'
#1310 - info - SHOW TABLES LIKE 'ac_assignments'
#1311 - info - DROP TABLE `ac_assignments`
#1312 - info - SHOW TABLES LIKE 'ac_subtasks'
#1313 - info - SHOW TABLES LIKE 'ac_subtasks'
#1314 - info - DROP TABLE `ac_subtasks`
#1315 - info - SHOW TABLES LIKE 'ac_favorites'
#1316 - info - SHOW TABLES LIKE 'ac_favorites'
#1317 - info - DROP TABLE `ac_favorites`
#1318 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1319 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1320 - info - DROP TABLE `ac_code_snippets`
#1321 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1322 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1323 - info - DROP TABLE `ac_payment_gateways`
#1324 - info - SHOW TABLES LIKE 'ac_payments'
#1325 - info - SHOW TABLES LIKE 'ac_payments'
#1326 - info - DROP TABLE `ac_payments`
#1327 - info - SHOW TABLES LIKE 'ac_reminders'
#1328 - info - SHOW TABLES LIKE 'ac_reminders'
#1329 - info - DROP TABLE `ac_reminders`
#1330 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1331 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1332 - info - DROP TABLE `ac_reminder_users`
#1333 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1334 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1335 - info - DROP TABLE `ac_custom_fields`
#1336 - info - SHOW TABLES LIKE 'ac_calendars'
#1337 - info - SHOW TABLES LIKE 'ac_calendars'
#1338 - info - DROP TABLE `ac_calendars`
#1339 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1340 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1341 - info - DROP TABLE `ac_calendar_events`
#1342 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1343 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1344 - info - DROP TABLE `ac_calendar_users`
#1345 - info - SHOW TABLES LIKE 'ac_data_sources'
#1346 - info - SHOW TABLES LIKE 'ac_data_sources'
#1347 - info - DROP TABLE `ac_data_sources`
#1348 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1349 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1350 - info - DROP TABLE `ac_data_source_mappings`
#1351 - info - SHOW TABLES LIKE 'ac_companies'
#1352 - info - SHOW TABLES LIKE 'ac_companies'
#1353 - info - DROP TABLE `ac_companies`
#1354 - info - SHOW TABLES LIKE 'ac_projects'
#1355 - info - SHOW TABLES LIKE 'ac_projects'
#1356 - info - DROP TABLE `ac_projects`
#1357 - info - SHOW TABLES LIKE 'ac_project_roles'
#1358 - info - SHOW TABLES LIKE 'ac_project_roles'
#1359 - info - DROP TABLE `ac_project_roles`
#1360 - info - SHOW TABLES LIKE 'ac_project_users'
#1361 - info - SHOW TABLES LIKE 'ac_project_users'
#1362 - info - DROP TABLE `ac_project_users`
#1363 - info - SHOW TABLES LIKE 'ac_project_requests'
#1364 - info - SHOW TABLES LIKE 'ac_project_requests'
#1365 - info - DROP TABLE `ac_project_requests`
#1366 - info - SHOW TABLES LIKE 'ac_project_objects'
#1367 - info - SHOW TABLES LIKE 'ac_project_objects'
#1368 - info - DROP TABLE `ac_project_objects`
#1369 - info - SHOW TABLES LIKE 'ac_project_templates'
#1370 - info - SHOW TABLES LIKE 'ac_project_templates'
#1371 - info - DROP TABLE `ac_project_templates`
#1372 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1373 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1374 - info - DROP TABLE `ac_project_object_templates`
#1375 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1376 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1377 - info - DROP TABLE `ac_shared_object_profiles`
#1378 - info - SHOW TABLES LIKE 'ac_file_versions'
#1379 - info - SHOW TABLES LIKE 'ac_file_versions'
#1380 - info - DROP TABLE `ac_file_versions`
#1381 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1382 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1383 - info - DROP TABLE `ac_text_document_versions`
#1384 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1385 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1386 - info - DROP TABLE `ac_public_task_forms`
#1387 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1388 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1389 - info - DROP TABLE `ac_related_tasks`
#1390 - info - SHOW TABLES LIKE 'ac_task_segments'
#1391 - info - SHOW TABLES LIKE 'ac_task_segments'
#1392 - info - DROP TABLE `ac_task_segments`
#1393 - info - SHOW TABLES LIKE 'ac_status_updates'
#1394 - info - SHOW TABLES LIKE 'ac_status_updates'
#1395 - info - DROP TABLE `ac_status_updates`
#1396 - info - SHOW TABLES LIKE 'ac_documents'
#1397 - info - SHOW TABLES LIKE 'ac_documents'
#1398 - info - DROP TABLE `ac_documents`
#1399 - info - SHOW TABLES LIKE 'ac_time_records'
#1400 - info - SHOW TABLES LIKE 'ac_time_records'
#1401 - info - DROP TABLE `ac_time_records`
#1402 - info - SHOW TABLES LIKE 'ac_job_types'
#1403 - info - SHOW TABLES LIKE 'ac_job_types'
#1404 - info - DROP TABLE `ac_job_types`
#1405 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1406 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1407 - info - DROP TABLE `ac_project_hourly_rates`
#1408 - info - SHOW TABLES LIKE 'ac_expenses'
#1409 - info - SHOW TABLES LIKE 'ac_expenses'
#1410 - info - DROP TABLE `ac_expenses`
#1411 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1412 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1413 - info - DROP TABLE `ac_expense_categories`
#1414 - info - SHOW TABLES LIKE 'ac_estimates'
#1415 - info - SHOW TABLES LIKE 'ac_estimates'
#1416 - info - DROP TABLE `ac_estimates`
#1417 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1418 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1419 - info - DROP TABLE `ac_invoice_objects`
#1420 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1421 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1422 - info - DROP TABLE `ac_invoice_object_items`
#1423 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1424 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1425 - info - DROP TABLE `ac_invoice_item_templates`
#1426 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1427 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1428 - info - DROP TABLE `ac_invoice_note_templates`
#1429 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1430 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1431 - info - DROP TABLE `ac_invoice_related_records`
#1432 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1433 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1434 - info - DROP TABLE `ac_tax_rates`
#1435 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1436 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1437 - info - DROP TABLE `ac_notebook_pages`
#1438 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1439 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1440 - info - DROP TABLE `ac_notebook_page_versions`
#1441 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1442 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1443 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1444 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1445 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1446 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1447 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1448 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1449 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1450 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1451 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1452 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1453 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1454 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1455 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1456 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1457 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1458 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1459 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1460 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1461 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1462 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1463 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1464 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1465 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1466 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1467 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1468 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1469 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1470 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1471 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1472 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1473 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1474 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1475 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1476 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1477 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1478 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1479 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1480 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1481 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1482 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1483 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1484 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1485 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1486 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1487 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1488 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1489 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1490 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1491 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1492 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1493 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1494 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1495 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1496 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1497 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1498 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1499 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1500 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1501 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1502 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1503 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1504 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1505 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1506 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1507 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1508 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1509 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1510 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1511 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1512 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1513 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1514 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1515 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1516 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1517 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1518 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1519 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1520 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1521 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1522 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1523 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1524 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1525 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1526 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#1528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#1529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#1530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#1531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#1532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#1533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#1534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#1535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#1536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#1537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#1538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#1539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#1540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#1541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#1542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#1543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#1544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#1545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#1546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#1547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#1548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1554 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1557 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1560 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1562 - info - BEGIN WORK
#1563 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1564 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1565 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1566 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1567 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1568 - info - COMMIT
#1569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1571 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1572 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1596 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1597 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1598 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1599 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1600 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1601 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1602 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1603 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1604 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1605 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1606 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1607 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1608 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1609 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1610 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1612 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1613 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1614 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1615 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1616 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377486;')
#1623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1635 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1636 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1637 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1639 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1647 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1648 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1650 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1651 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1652 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1653 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1654 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1655 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1656 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1657 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1658 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1660 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1661 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1662 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1666 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1667 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1668 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1669 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1670 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:06', '1')
#1671 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1672 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1673 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1674 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1676 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1678 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1684 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1685 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1686 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1687 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1689 - info - BEGIN WORK
#1690 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1691 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1692 - info - COMMIT
#1693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1694 - info - BEGIN WORK
#1695 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1696 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1697 - info - COMMIT
#1698 - info - BEGIN WORK
#1699 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1700 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1701 - info - COMMIT
#1702 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1703 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1704 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1705 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1708 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1709 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1710 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1711 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1712 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1716 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1718 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1733 - info - SHOW TABLES LIKE 'ac_job_types'
#1734 - info - SELECT COUNT(id) FROM ac_job_types
#1735 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1736 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1737 - info - BEGIN WORK
#1738 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1739 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1740 - info - COMMIT
#1741 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1742 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1743 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1744 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1745 - info - SELECT COUNT(name) FROM ac_modules
#1746 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1747 - info - SELECT name FROM ac_modules
#1748 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1749 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1750 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1751 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1752 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1753 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1754 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1755 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1756 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1757 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1758 - info - BEGIN WORK
#1759 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1760 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1761 - info - UPDATE ac_config_options SET value = 'i:1387377486;' WHERE name = 'search_initialized_on'
#1762 - info - COMMIT
#1763 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1764 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1765 - info - SELECT COUNT(*) FROM ac_test_table
#1766 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1767 - info - DROP TABLE `ac_test_table_migrate_test`
#1768 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1769 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1770 - info - INSERT INTO ac_test_table_migrate_test (name) VALUES ('Test Migration')
#1771 - info - SHOW TABLES LIKE 'ac_test_table_ScEHahWWs8'
#1772 - info - RENAME TABLE ac_test_table TO ac_test_table_ScEHahWWs8, ac_test_table_migrate_test TO ac_test_table
#1773 - info - DROP TABLE ac_test_table_ScEHahWWs8
#1774 - info - SELECT COUNT(*) FROM ac_test_table
#1775 - info - DROP TABLE ac_test_table
#1776 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_date' AND parent_type = 'User' AND parent_id = '1'
#1777 - info - SELECT value FROM ac_config_options WHERE name = 'format_date'
#1778 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_timezone' AND parent_type = 'User' AND parent_id = '1'
#1779 - info - SELECT value FROM ac_config_options WHERE name = 'time_timezone'
#1780 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_dst' AND parent_type = 'User' AND parent_id = '1'
#1781 - info - SELECT value FROM ac_config_options WHERE name = 'time_dst'
#1782 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_time' AND parent_type = 'User' AND parent_id = '1'
#1783 - info - SELECT value FROM ac_config_options WHERE name = 'format_time'
#1784 - info - CREATE TABLE ac_test_db_result_to_json (
        id int(11) NOT NULL auto_increment,
        string_field varchar(255) default NULL,
        int_field int(11) default NULL,
        other float default NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
#1785 - info - SHOW TABLES LIKE 'ac_%'
#1786 - info - INSERT INTO ac_test_db_result_to_json (id,string_field,int_field,other) VALUES (1,'A',5,3.2), (2,'Another record',18,NULL);
#1787 - info - SELECT * FROM ac_test_db_result_to_json
#1788 - info - DROP TABLE ac_test_db_result_to_json
#1789 - info - SHOW TABLES LIKE 'ac_%'
#1790 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1791 - info - BEGIN WORK
#1792 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1793 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 1'
#1794 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 1', 'TestDataObject', '2013-12-18 14:38:06')
#1795 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1796 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1797 - info - COMMIT
#1798 - info - BEGIN WORK
#1799 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1800 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 2'
#1801 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 2', 'TestDataObject', '2013-12-18 14:38:06')
#1802 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1803 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1804 - info - COMMIT
#1805 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1806 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1807 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1808 - info - BEGIN WORK
#1809 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1810 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#1811 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'TestDataObject', '2013-12-18 14:38:06')
#1812 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1813 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1814 - info - COMMIT
#1815 - info - BEGIN WORK
#1816 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1817 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1818 - info - COMMIT
#1819 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1820 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1821 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1822 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1823 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object name', 'Object description')
#1824 - info - SELECT id, name, description, type, created_on, updated_on FROM ac_test_data_objects WHERE id = '1'  LIMIT 0, 1
#1825 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1826 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1827 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object #1', 'Description #1'), ('Object #2', 'Description #2'), ('Object #3', 'TestDataObject')
#1828 - info - SELECT * FROM ac_test_data_objects
#1829 - info - SELECT * FROM ac_test_data_objects ORDER BY name
#1830 - info - SELECT * FROM ac_test_data_objects WHERE name = 'Object #3'
#1831 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1832 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1833 - info - BEGIN WORK
#1834 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1835 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1836 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 14:38:06')
#1837 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1838 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1839 - info - COMMIT
#1840 - info - BEGIN WORK
#1841 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1842 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1843 - info - COMMIT
#1844 - info - BEGIN WORK
#1845 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1846 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1847 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on, id) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 14:38:06', '1')
#1848 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1849 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1850 - info - COMMIT
#1851 - info - SELECT * FROM ac_test_data_objects WHERE id = '1'    LIMIT 0, 1
#1852 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1853 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1854 - info - BEGIN WORK
#1855 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1856 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1857 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('First name', 'TestDataObject', '2013-12-18 14:38:06')
#1858 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1859 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1860 - info - COMMIT
#1861 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1862 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1863 - info - BEGIN WORK
#1864 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1865 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New name'
#1866 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New name', 'TestDataObject', '2013-12-18 14:38:06')
#1867 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1868 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1869 - info - COMMIT
#1870 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1871 - info - BEGIN WORK
#1872 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1873 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'Something something') AND (id <> '1')
#1874 - info - UPDATE ac_test_data_objects SET name = 'Something something', updated_on = '2013-12-18 14:38:06' WHERE id = '1'
#1875 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1876 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1877 - info - COMMIT
#1878 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1879 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1880 - info - BEGIN WORK
#1881 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1882 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'My name'
#1883 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('My name', 'TestDataObject', '2013-12-18 14:38:06')
#1884 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1885 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1886 - info - COMMIT
#1887 - info - BEGIN WORK
#1888 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1889 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'My name') AND (id <> '1')
#1890 - info - SELECT count(*) AS 'row_count' FROM ac_test_data_objects WHERE id = '1'
#1891 - info - UPDATE ac_test_data_objects SET id = '12', updated_on = '2013-12-18 14:38:06' WHERE id = '1'
#1892 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1893 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1894 - info - COMMIT
#1895 - info - SELECT * FROM ac_test_data_objects WHERE id = '12' LIMIT 0, 1
#1896 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1897 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1898 - info - BEGIN WORK
#1899 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1900 - info - ROLLBACK
#1901 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#1902 - info - BEGIN WORK
#1903 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1904 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#1905 - info - INSERT INTO ac_test_data_objects (type, created_on, name) VALUES ('TestDataObject', '2013-12-18 14:38:06', 'Unique name')
#1906 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1907 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1908 - info - COMMIT
#1909 - info - BEGIN WORK
#1910 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1911 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#1912 - info - ROLLBACK
#1913 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#1914 - info - BEGIN WORK
#1915 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1916 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New, better name'
#1917 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New, better name', 'TestDataObject', '2013-12-18 14:38:06')
#1918 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1919 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1920 - info - COMMIT
#1921 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1922 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1923 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1924 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1925 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1926 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1927 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1928 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1929 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1930 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1931 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1932 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1933 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1934 - info - SHOW TABLES LIKE 'ac_config_options'
#1935 - info - SHOW TABLES LIKE 'ac_config_options'
#1936 - info - DROP TABLE `ac_config_options`
#1937 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1938 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1939 - info - DROP TABLE `ac_config_option_values`
#1940 - info - SHOW TABLES LIKE 'ac_modules'
#1941 - info - SHOW TABLES LIKE 'ac_modules'
#1942 - info - DROP TABLE `ac_modules`
#1943 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1944 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1945 - info - DROP TABLE `ac_executed_model_migrations`
#1946 - info - SHOW TABLES LIKE 'ac_update_history'
#1947 - info - SHOW TABLES LIKE 'ac_update_history'
#1948 - info - DROP TABLE `ac_update_history`
#1949 - info - SHOW TABLES LIKE 'ac_access_logs'
#1950 - info - SHOW TABLES LIKE 'ac_access_logs'
#1951 - info - DROP TABLE `ac_access_logs`
#1952 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1953 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1954 - info - DROP TABLE `ac_access_logs_archive`
#1955 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1956 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1957 - info - DROP TABLE `ac_object_contexts`
#1958 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1959 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1960 - info - DROP TABLE `ac_routing_cache`
#1961 - info - SHOW TABLES LIKE 'ac_currencies'
#1962 - info - SHOW TABLES LIKE 'ac_currencies'
#1963 - info - DROP TABLE `ac_currencies`
#1964 - info - SHOW TABLES LIKE 'ac_day_offs'
#1965 - info - SHOW TABLES LIKE 'ac_day_offs'
#1966 - info - DROP TABLE `ac_day_offs`
#1967 - info - SHOW TABLES LIKE 'ac_languages'
#1968 - info - SHOW TABLES LIKE 'ac_languages'
#1969 - info - DROP TABLE `ac_languages`
#1970 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1971 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1972 - info - DROP TABLE `ac_language_phrases`
#1973 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1974 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1975 - info - DROP TABLE `ac_language_phrase_translations`
#1976 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1977 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1978 - info - DROP TABLE `ac_api_client_subscriptions`
#1979 - info - SHOW TABLES LIKE 'ac_users'
#1980 - info - SHOW TABLES LIKE 'ac_users'
#1981 - info - DROP TABLE `ac_users`
#1982 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1983 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1984 - info - DROP TABLE `ac_user_addresses`
#1985 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1986 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1987 - info - DROP TABLE `ac_user_sessions`
#1988 - info - SHOW TABLES LIKE 'ac_security_logs'
#1989 - info - SHOW TABLES LIKE 'ac_security_logs'
#1990 - info - DROP TABLE `ac_security_logs`
#1991 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1992 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1993 - info - DROP TABLE `ac_api_token_logs`
#1994 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1995 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1996 - info - DROP TABLE `ac_activity_logs`
#1997 - info - SHOW TABLES LIKE 'ac_data_filters'
#1998 - info - SHOW TABLES LIKE 'ac_data_filters'
#1999 - info - DROP TABLE `ac_data_filters`
#2000 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2001 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2002 - info - DROP TABLE `ac_modification_logs`
#2003 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2004 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2005 - info - DROP TABLE `ac_modification_log_values`
#2006 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2007 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2008 - info - DROP TABLE `ac_mailing_activity_logs`
#2009 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2010 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2011 - info - DROP TABLE `ac_outgoing_messages`
#2012 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2013 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2014 - info - DROP TABLE `ac_incoming_mail_attachments`
#2015 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2016 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2017 - info - DROP TABLE `ac_incoming_mail_filters`
#2018 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2019 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2020 - info - DROP TABLE `ac_incoming_mailboxes`
#2021 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2022 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2023 - info - DROP TABLE `ac_incoming_mails`
#2024 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2025 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2026 - info - DROP TABLE `ac_homescreen_tabs`
#2027 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2028 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2029 - info - DROP TABLE `ac_homescreen_widgets`
#2030 - info - SHOW TABLES LIKE 'ac_announcements'
#2031 - info - SHOW TABLES LIKE 'ac_announcements'
#2032 - info - DROP TABLE `ac_announcements`
#2033 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2034 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2035 - info - DROP TABLE `ac_announcement_target_ids`
#2036 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2037 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2038 - info - DROP TABLE `ac_announcement_dismissals`
#2039 - info - SHOW TABLES LIKE 'ac_attachments'
#2040 - info - SHOW TABLES LIKE 'ac_attachments'
#2041 - info - DROP TABLE `ac_attachments`
#2042 - info - SHOW TABLES LIKE 'ac_notifications'
#2043 - info - SHOW TABLES LIKE 'ac_notifications'
#2044 - info - DROP TABLE `ac_notifications`
#2045 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2046 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2047 - info - DROP TABLE `ac_notification_recipients`
#2048 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2049 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2050 - info - DROP TABLE `ac_subscriptions`
#2051 - info - SHOW TABLES LIKE 'ac_comments'
#2052 - info - SHOW TABLES LIKE 'ac_comments'
#2053 - info - DROP TABLE `ac_comments`
#2054 - info - SHOW TABLES LIKE 'ac_categories'
#2055 - info - SHOW TABLES LIKE 'ac_categories'
#2056 - info - DROP TABLE `ac_categories`
#2057 - info - SHOW TABLES LIKE 'ac_labels'
#2058 - info - SHOW TABLES LIKE 'ac_labels'
#2059 - info - DROP TABLE `ac_labels`
#2060 - info - SHOW TABLES LIKE 'ac_assignments'
#2061 - info - SHOW TABLES LIKE 'ac_assignments'
#2062 - info - DROP TABLE `ac_assignments`
#2063 - info - SHOW TABLES LIKE 'ac_subtasks'
#2064 - info - SHOW TABLES LIKE 'ac_subtasks'
#2065 - info - DROP TABLE `ac_subtasks`
#2066 - info - SHOW TABLES LIKE 'ac_favorites'
#2067 - info - SHOW TABLES LIKE 'ac_favorites'
#2068 - info - DROP TABLE `ac_favorites`
#2069 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2070 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2071 - info - DROP TABLE `ac_code_snippets`
#2072 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2073 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2074 - info - DROP TABLE `ac_payment_gateways`
#2075 - info - SHOW TABLES LIKE 'ac_payments'
#2076 - info - SHOW TABLES LIKE 'ac_payments'
#2077 - info - DROP TABLE `ac_payments`
#2078 - info - SHOW TABLES LIKE 'ac_reminders'
#2079 - info - SHOW TABLES LIKE 'ac_reminders'
#2080 - info - DROP TABLE `ac_reminders`
#2081 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2082 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2083 - info - DROP TABLE `ac_reminder_users`
#2084 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2085 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2086 - info - DROP TABLE `ac_custom_fields`
#2087 - info - SHOW TABLES LIKE 'ac_calendars'
#2088 - info - SHOW TABLES LIKE 'ac_calendars'
#2089 - info - DROP TABLE `ac_calendars`
#2090 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2091 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2092 - info - DROP TABLE `ac_calendar_events`
#2093 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2094 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2095 - info - DROP TABLE `ac_calendar_users`
#2096 - info - SHOW TABLES LIKE 'ac_data_sources'
#2097 - info - SHOW TABLES LIKE 'ac_data_sources'
#2098 - info - DROP TABLE `ac_data_sources`
#2099 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2100 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2101 - info - DROP TABLE `ac_data_source_mappings`
#2102 - info - SHOW TABLES LIKE 'ac_companies'
#2103 - info - SHOW TABLES LIKE 'ac_companies'
#2104 - info - DROP TABLE `ac_companies`
#2105 - info - SHOW TABLES LIKE 'ac_projects'
#2106 - info - SHOW TABLES LIKE 'ac_projects'
#2107 - info - DROP TABLE `ac_projects`
#2108 - info - SHOW TABLES LIKE 'ac_project_roles'
#2109 - info - SHOW TABLES LIKE 'ac_project_roles'
#2110 - info - DROP TABLE `ac_project_roles`
#2111 - info - SHOW TABLES LIKE 'ac_project_users'
#2112 - info - SHOW TABLES LIKE 'ac_project_users'
#2113 - info - DROP TABLE `ac_project_users`
#2114 - info - SHOW TABLES LIKE 'ac_project_requests'
#2115 - info - SHOW TABLES LIKE 'ac_project_requests'
#2116 - info - DROP TABLE `ac_project_requests`
#2117 - info - SHOW TABLES LIKE 'ac_project_objects'
#2118 - info - SHOW TABLES LIKE 'ac_project_objects'
#2119 - info - DROP TABLE `ac_project_objects`
#2120 - info - SHOW TABLES LIKE 'ac_project_templates'
#2121 - info - SHOW TABLES LIKE 'ac_project_templates'
#2122 - info - DROP TABLE `ac_project_templates`
#2123 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2124 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2125 - info - DROP TABLE `ac_project_object_templates`
#2126 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2127 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2128 - info - DROP TABLE `ac_shared_object_profiles`
#2129 - info - SHOW TABLES LIKE 'ac_file_versions'
#2130 - info - SHOW TABLES LIKE 'ac_file_versions'
#2131 - info - DROP TABLE `ac_file_versions`
#2132 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2133 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2134 - info - DROP TABLE `ac_text_document_versions`
#2135 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2136 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2137 - info - DROP TABLE `ac_public_task_forms`
#2138 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2139 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2140 - info - DROP TABLE `ac_related_tasks`
#2141 - info - SHOW TABLES LIKE 'ac_task_segments'
#2142 - info - SHOW TABLES LIKE 'ac_task_segments'
#2143 - info - DROP TABLE `ac_task_segments`
#2144 - info - SHOW TABLES LIKE 'ac_status_updates'
#2145 - info - SHOW TABLES LIKE 'ac_status_updates'
#2146 - info - DROP TABLE `ac_status_updates`
#2147 - info - SHOW TABLES LIKE 'ac_documents'
#2148 - info - SHOW TABLES LIKE 'ac_documents'
#2149 - info - DROP TABLE `ac_documents`
#2150 - info - SHOW TABLES LIKE 'ac_time_records'
#2151 - info - SHOW TABLES LIKE 'ac_time_records'
#2152 - info - DROP TABLE `ac_time_records`
#2153 - info - SHOW TABLES LIKE 'ac_job_types'
#2154 - info - SHOW TABLES LIKE 'ac_job_types'
#2155 - info - DROP TABLE `ac_job_types`
#2156 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2157 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2158 - info - DROP TABLE `ac_project_hourly_rates`
#2159 - info - SHOW TABLES LIKE 'ac_expenses'
#2160 - info - SHOW TABLES LIKE 'ac_expenses'
#2161 - info - DROP TABLE `ac_expenses`
#2162 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2163 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2164 - info - DROP TABLE `ac_expense_categories`
#2165 - info - SHOW TABLES LIKE 'ac_estimates'
#2166 - info - SHOW TABLES LIKE 'ac_estimates'
#2167 - info - DROP TABLE `ac_estimates`
#2168 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2169 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2170 - info - DROP TABLE `ac_invoice_objects`
#2171 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2172 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2173 - info - DROP TABLE `ac_invoice_object_items`
#2174 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2175 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2176 - info - DROP TABLE `ac_invoice_item_templates`
#2177 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2178 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2179 - info - DROP TABLE `ac_invoice_note_templates`
#2180 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2181 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2182 - info - DROP TABLE `ac_invoice_related_records`
#2183 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2184 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2185 - info - DROP TABLE `ac_tax_rates`
#2186 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2187 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2188 - info - DROP TABLE `ac_notebook_pages`
#2189 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2190 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2191 - info - DROP TABLE `ac_notebook_page_versions`
#2192 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2193 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2194 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2195 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2196 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2197 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2198 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2199 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2200 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2201 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2202 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2203 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2204 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2205 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2206 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2207 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2208 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2209 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2210 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2211 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2212 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2213 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2214 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2215 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2216 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2217 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2218 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2219 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2220 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2221 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2222 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2223 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2224 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2225 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2226 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2227 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2228 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2229 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2230 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2231 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2232 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2233 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2234 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2235 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2236 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2237 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2238 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2239 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2240 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2241 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2242 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2243 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2244 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2245 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2246 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2247 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2248 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2249 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2250 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2251 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2252 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2253 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2254 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2255 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2256 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2257 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2258 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2259 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2260 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2261 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2262 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2263 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2264 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2265 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2266 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2267 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2268 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2269 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2270 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2271 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2272 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2273 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2274 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2275 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2276 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2277 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2278 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2279 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2280 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2281 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2282 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2283 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2284 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2285 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2286 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2287 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2288 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2289 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2290 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2291 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2292 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2293 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2294 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2295 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2297 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2298 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2299 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2300 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2301 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2302 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2303 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2304 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2305 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2306 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2307 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2308 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2309 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2310 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2311 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2313 - info - BEGIN WORK
#2314 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2315 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2316 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2317 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2318 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2319 - info - COMMIT
#2320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2345 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2346 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2347 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2348 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2349 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2350 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2351 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2352 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2353 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2354 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2355 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2356 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2357 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2358 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2359 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2360 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377487;')
#2374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2386 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2387 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2388 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2390 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2398 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2399 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#2405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#2406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#2407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#2408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#2409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#2410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#2411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#2412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#2413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#2414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#2415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#2416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#2417 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#2418 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#2419 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#2420 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#2421 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:07', '1')
#2422 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2423 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2424 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2425 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#2427 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#2429 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#2431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#2432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#2433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#2434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#2435 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#2436 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#2437 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#2438 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#2440 - info - BEGIN WORK
#2441 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#2442 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#2443 - info - COMMIT
#2444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#2445 - info - BEGIN WORK
#2446 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2447 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#2448 - info - COMMIT
#2449 - info - BEGIN WORK
#2450 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2451 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#2452 - info - COMMIT
#2453 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2454 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2455 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#2456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#2457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#2458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#2459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#2460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#2461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#2462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#2463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#2464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#2465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#2466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#2467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#2468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#2469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#2470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#2471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#2472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#2473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#2474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#2475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#2476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#2477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#2478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#2479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#2480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#2481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#2482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#2483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#2484 - info - SHOW TABLES LIKE 'ac_job_types'
#2485 - info - SELECT COUNT(id) FROM ac_job_types
#2486 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2487 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#2488 - info - BEGIN WORK
#2489 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#2490 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#2491 - info - COMMIT
#2492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#2493 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2494 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2495 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#2496 - info - SELECT COUNT(name) FROM ac_modules
#2497 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#2498 - info - SELECT name FROM ac_modules
#2499 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#2500 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#2501 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#2502 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#2503 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#2504 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#2505 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#2506 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#2507 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#2508 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#2509 - info - BEGIN WORK
#2510 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#2511 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#2512 - info - UPDATE ac_config_options SET value = 'i:1387377487;' WHERE name = 'search_initialized_on'
#2513 - info - COMMIT
#2514 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#2515 - info - SELECT COUNT(*) FROM  ac_config_options
#2516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'i:12;')
#2517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 2', 'N;')
#2518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 's:9:\"something\";')
#2519 - info - SELECT COUNT(*) FROM  ac_config_options
#2520 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2521 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2522 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2523 - info - BEGIN WORK
#2524 - info - Transaction level increased to 1. Message: Begin Work: Removing config option
#2525 - info - DELETE FROM ac_config_options WHERE name = 'Option 2'
#2526 - info - DELETE FROM ac_config_option_values WHERE name = 'Option 2'
#2527 - info - COMMIT
#2528 - info - SELECT COUNT(*) FROM  ac_config_options
#2529 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2530 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2531 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2532 - info - BEGIN WORK
#2533 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#2534 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#2535 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 3')
#2536 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3')
#2537 - info - COMMIT
#2538 - info - SELECT COUNT(*) FROM  ac_config_options
#2539 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2540 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2541 - info - SHOW TABLES LIKE 'ac_config_options'
#2542 - info - SHOW TABLES LIKE 'ac_config_options'
#2543 - info - DROP TABLE `ac_config_options`
#2544 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2545 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2546 - info - DROP TABLE `ac_config_option_values`
#2547 - info - SHOW TABLES LIKE 'ac_modules'
#2548 - info - SHOW TABLES LIKE 'ac_modules'
#2549 - info - DROP TABLE `ac_modules`
#2550 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2551 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2552 - info - DROP TABLE `ac_executed_model_migrations`
#2553 - info - SHOW TABLES LIKE 'ac_update_history'
#2554 - info - SHOW TABLES LIKE 'ac_update_history'
#2555 - info - DROP TABLE `ac_update_history`
#2556 - info - SHOW TABLES LIKE 'ac_access_logs'
#2557 - info - SHOW TABLES LIKE 'ac_access_logs'
#2558 - info - DROP TABLE `ac_access_logs`
#2559 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2560 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2561 - info - DROP TABLE `ac_access_logs_archive`
#2562 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2563 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2564 - info - DROP TABLE `ac_object_contexts`
#2565 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2566 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2567 - info - DROP TABLE `ac_routing_cache`
#2568 - info - SHOW TABLES LIKE 'ac_currencies'
#2569 - info - SHOW TABLES LIKE 'ac_currencies'
#2570 - info - DROP TABLE `ac_currencies`
#2571 - info - SHOW TABLES LIKE 'ac_day_offs'
#2572 - info - SHOW TABLES LIKE 'ac_day_offs'
#2573 - info - DROP TABLE `ac_day_offs`
#2574 - info - SHOW TABLES LIKE 'ac_languages'
#2575 - info - SHOW TABLES LIKE 'ac_languages'
#2576 - info - DROP TABLE `ac_languages`
#2577 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2578 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2579 - info - DROP TABLE `ac_language_phrases`
#2580 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2581 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2582 - info - DROP TABLE `ac_language_phrase_translations`
#2583 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2584 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2585 - info - DROP TABLE `ac_api_client_subscriptions`
#2586 - info - SHOW TABLES LIKE 'ac_users'
#2587 - info - SHOW TABLES LIKE 'ac_users'
#2588 - info - DROP TABLE `ac_users`
#2589 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2590 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2591 - info - DROP TABLE `ac_user_addresses`
#2592 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2593 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2594 - info - DROP TABLE `ac_user_sessions`
#2595 - info - SHOW TABLES LIKE 'ac_security_logs'
#2596 - info - SHOW TABLES LIKE 'ac_security_logs'
#2597 - info - DROP TABLE `ac_security_logs`
#2598 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2599 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2600 - info - DROP TABLE `ac_api_token_logs`
#2601 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2602 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2603 - info - DROP TABLE `ac_activity_logs`
#2604 - info - SHOW TABLES LIKE 'ac_data_filters'
#2605 - info - SHOW TABLES LIKE 'ac_data_filters'
#2606 - info - DROP TABLE `ac_data_filters`
#2607 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2608 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2609 - info - DROP TABLE `ac_modification_logs`
#2610 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2611 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2612 - info - DROP TABLE `ac_modification_log_values`
#2613 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2614 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2615 - info - DROP TABLE `ac_mailing_activity_logs`
#2616 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2617 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2618 - info - DROP TABLE `ac_outgoing_messages`
#2619 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2620 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2621 - info - DROP TABLE `ac_incoming_mail_attachments`
#2622 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2623 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2624 - info - DROP TABLE `ac_incoming_mail_filters`
#2625 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2626 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2627 - info - DROP TABLE `ac_incoming_mailboxes`
#2628 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2629 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2630 - info - DROP TABLE `ac_incoming_mails`
#2631 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2632 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2633 - info - DROP TABLE `ac_homescreen_tabs`
#2634 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2635 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2636 - info - DROP TABLE `ac_homescreen_widgets`
#2637 - info - SHOW TABLES LIKE 'ac_announcements'
#2638 - info - SHOW TABLES LIKE 'ac_announcements'
#2639 - info - DROP TABLE `ac_announcements`
#2640 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2641 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2642 - info - DROP TABLE `ac_announcement_target_ids`
#2643 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2644 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2645 - info - DROP TABLE `ac_announcement_dismissals`
#2646 - info - SHOW TABLES LIKE 'ac_attachments'
#2647 - info - SHOW TABLES LIKE 'ac_attachments'
#2648 - info - DROP TABLE `ac_attachments`
#2649 - info - SHOW TABLES LIKE 'ac_notifications'
#2650 - info - SHOW TABLES LIKE 'ac_notifications'
#2651 - info - DROP TABLE `ac_notifications`
#2652 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2653 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2654 - info - DROP TABLE `ac_notification_recipients`
#2655 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2656 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2657 - info - DROP TABLE `ac_subscriptions`
#2658 - info - SHOW TABLES LIKE 'ac_comments'
#2659 - info - SHOW TABLES LIKE 'ac_comments'
#2660 - info - DROP TABLE `ac_comments`
#2661 - info - SHOW TABLES LIKE 'ac_categories'
#2662 - info - SHOW TABLES LIKE 'ac_categories'
#2663 - info - DROP TABLE `ac_categories`
#2664 - info - SHOW TABLES LIKE 'ac_labels'
#2665 - info - SHOW TABLES LIKE 'ac_labels'
#2666 - info - DROP TABLE `ac_labels`
#2667 - info - SHOW TABLES LIKE 'ac_assignments'
#2668 - info - SHOW TABLES LIKE 'ac_assignments'
#2669 - info - DROP TABLE `ac_assignments`
#2670 - info - SHOW TABLES LIKE 'ac_subtasks'
#2671 - info - SHOW TABLES LIKE 'ac_subtasks'
#2672 - info - DROP TABLE `ac_subtasks`
#2673 - info - SHOW TABLES LIKE 'ac_favorites'
#2674 - info - SHOW TABLES LIKE 'ac_favorites'
#2675 - info - DROP TABLE `ac_favorites`
#2676 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2677 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2678 - info - DROP TABLE `ac_code_snippets`
#2679 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2680 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2681 - info - DROP TABLE `ac_payment_gateways`
#2682 - info - SHOW TABLES LIKE 'ac_payments'
#2683 - info - SHOW TABLES LIKE 'ac_payments'
#2684 - info - DROP TABLE `ac_payments`
#2685 - info - SHOW TABLES LIKE 'ac_reminders'
#2686 - info - SHOW TABLES LIKE 'ac_reminders'
#2687 - info - DROP TABLE `ac_reminders`
#2688 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2689 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2690 - info - DROP TABLE `ac_reminder_users`
#2691 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2692 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2693 - info - DROP TABLE `ac_custom_fields`
#2694 - info - SHOW TABLES LIKE 'ac_calendars'
#2695 - info - SHOW TABLES LIKE 'ac_calendars'
#2696 - info - DROP TABLE `ac_calendars`
#2697 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2698 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2699 - info - DROP TABLE `ac_calendar_events`
#2700 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2701 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2702 - info - DROP TABLE `ac_calendar_users`
#2703 - info - SHOW TABLES LIKE 'ac_data_sources'
#2704 - info - SHOW TABLES LIKE 'ac_data_sources'
#2705 - info - DROP TABLE `ac_data_sources`
#2706 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2707 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2708 - info - DROP TABLE `ac_data_source_mappings`
#2709 - info - SHOW TABLES LIKE 'ac_companies'
#2710 - info - SHOW TABLES LIKE 'ac_companies'
#2711 - info - DROP TABLE `ac_companies`
#2712 - info - SHOW TABLES LIKE 'ac_projects'
#2713 - info - SHOW TABLES LIKE 'ac_projects'
#2714 - info - DROP TABLE `ac_projects`
#2715 - info - SHOW TABLES LIKE 'ac_project_roles'
#2716 - info - SHOW TABLES LIKE 'ac_project_roles'
#2717 - info - DROP TABLE `ac_project_roles`
#2718 - info - SHOW TABLES LIKE 'ac_project_users'
#2719 - info - SHOW TABLES LIKE 'ac_project_users'
#2720 - info - DROP TABLE `ac_project_users`
#2721 - info - SHOW TABLES LIKE 'ac_project_requests'
#2722 - info - SHOW TABLES LIKE 'ac_project_requests'
#2723 - info - DROP TABLE `ac_project_requests`
#2724 - info - SHOW TABLES LIKE 'ac_project_objects'
#2725 - info - SHOW TABLES LIKE 'ac_project_objects'
#2726 - info - DROP TABLE `ac_project_objects`
#2727 - info - SHOW TABLES LIKE 'ac_project_templates'
#2728 - info - SHOW TABLES LIKE 'ac_project_templates'
#2729 - info - DROP TABLE `ac_project_templates`
#2730 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2731 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2732 - info - DROP TABLE `ac_project_object_templates`
#2733 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2734 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2735 - info - DROP TABLE `ac_shared_object_profiles`
#2736 - info - SHOW TABLES LIKE 'ac_file_versions'
#2737 - info - SHOW TABLES LIKE 'ac_file_versions'
#2738 - info - DROP TABLE `ac_file_versions`
#2739 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2740 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2741 - info - DROP TABLE `ac_text_document_versions`
#2742 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2743 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2744 - info - DROP TABLE `ac_public_task_forms`
#2745 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2746 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2747 - info - DROP TABLE `ac_related_tasks`
#2748 - info - SHOW TABLES LIKE 'ac_task_segments'
#2749 - info - SHOW TABLES LIKE 'ac_task_segments'
#2750 - info - DROP TABLE `ac_task_segments`
#2751 - info - SHOW TABLES LIKE 'ac_status_updates'
#2752 - info - SHOW TABLES LIKE 'ac_status_updates'
#2753 - info - DROP TABLE `ac_status_updates`
#2754 - info - SHOW TABLES LIKE 'ac_documents'
#2755 - info - SHOW TABLES LIKE 'ac_documents'
#2756 - info - DROP TABLE `ac_documents`
#2757 - info - SHOW TABLES LIKE 'ac_time_records'
#2758 - info - SHOW TABLES LIKE 'ac_time_records'
#2759 - info - DROP TABLE `ac_time_records`
#2760 - info - SHOW TABLES LIKE 'ac_job_types'
#2761 - info - SHOW TABLES LIKE 'ac_job_types'
#2762 - info - DROP TABLE `ac_job_types`
#2763 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2764 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2765 - info - DROP TABLE `ac_project_hourly_rates`
#2766 - info - SHOW TABLES LIKE 'ac_expenses'
#2767 - info - SHOW TABLES LIKE 'ac_expenses'
#2768 - info - DROP TABLE `ac_expenses`
#2769 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2770 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2771 - info - DROP TABLE `ac_expense_categories`
#2772 - info - SHOW TABLES LIKE 'ac_estimates'
#2773 - info - SHOW TABLES LIKE 'ac_estimates'
#2774 - info - DROP TABLE `ac_estimates`
#2775 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2776 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2777 - info - DROP TABLE `ac_invoice_objects`
#2778 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2779 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2780 - info - DROP TABLE `ac_invoice_object_items`
#2781 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2782 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2783 - info - DROP TABLE `ac_invoice_item_templates`
#2784 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2785 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2786 - info - DROP TABLE `ac_invoice_note_templates`
#2787 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2788 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2789 - info - DROP TABLE `ac_invoice_related_records`
#2790 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2791 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2792 - info - DROP TABLE `ac_tax_rates`
#2793 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2794 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2795 - info - DROP TABLE `ac_notebook_pages`
#2796 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2797 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2798 - info - DROP TABLE `ac_notebook_page_versions`
#2799 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2800 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2801 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2802 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2803 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2804 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2805 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2806 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2807 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2808 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2809 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2810 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2811 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2812 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2813 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2814 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2815 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2816 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2817 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2818 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2819 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2820 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2821 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2822 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2823 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2824 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2825 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2826 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2827 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2828 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2829 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2830 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2831 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2832 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2833 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2834 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2835 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2836 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2837 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2838 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2839 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2840 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2841 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2842 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2843 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2844 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2845 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2846 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2847 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2848 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2849 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2850 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2851 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2852 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2853 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2854 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2855 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2856 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2857 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2858 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2859 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2860 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2861 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2862 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2863 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2864 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2865 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2866 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2867 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2868 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2869 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2870 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2871 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2872 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2873 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2874 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2875 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2876 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2877 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2878 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2879 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2880 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2881 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2882 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2883 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2884 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2885 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2886 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2887 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2888 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2889 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2890 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2891 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2892 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2893 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2894 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2895 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2896 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2897 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2898 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2899 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2900 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2901 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2902 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2903 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2904 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2905 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2906 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2907 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2908 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2909 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2910 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2911 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2912 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2913 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2914 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2915 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2916 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2917 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2918 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2919 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2920 - info - BEGIN WORK
#2921 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2922 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2923 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2924 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2925 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2926 - info - COMMIT
#2927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2931 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2932 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2933 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2934 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2935 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2952 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2953 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2954 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2955 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2956 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2957 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2958 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2959 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2960 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2961 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2962 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2963 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2964 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2965 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2966 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2967 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377487;')
#2981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2993 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2994 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2995 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2997 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3005 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3006 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3007 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3008 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3009 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3010 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3011 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3012 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3013 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3014 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3015 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3016 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3017 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3018 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3019 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3020 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3024 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3025 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3026 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3027 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3028 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:07', '1')
#3029 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3030 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3031 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3032 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3034 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3036 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3042 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3043 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3044 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3045 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3046 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3047 - info - BEGIN WORK
#3048 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3049 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3050 - info - COMMIT
#3051 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3052 - info - BEGIN WORK
#3053 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3054 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3055 - info - COMMIT
#3056 - info - BEGIN WORK
#3057 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3058 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3059 - info - COMMIT
#3060 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3061 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3062 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3082 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3083 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3084 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3085 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3086 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3087 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3090 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3091 - info - SHOW TABLES LIKE 'ac_job_types'
#3092 - info - SELECT COUNT(id) FROM ac_job_types
#3093 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3094 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3095 - info - BEGIN WORK
#3096 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3097 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3098 - info - COMMIT
#3099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3100 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3101 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3102 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3103 - info - SELECT COUNT(name) FROM ac_modules
#3104 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3105 - info - SELECT name FROM ac_modules
#3106 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3107 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3108 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3109 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3110 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3111 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3112 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3113 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3114 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3115 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3116 - info - BEGIN WORK
#3117 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3118 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3119 - info - UPDATE ac_config_options SET value = 'i:1387377487;' WHERE name = 'search_initialized_on'
#3120 - info - COMMIT
#3121 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3122 - info - SELECT COUNT(*) FROM  ac_config_options
#3123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'N;')
#3124 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 1', 'N;')
#3125 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 'N;')
#3126 - info - SELECT COUNT(*) FROM ac_config_options
#3127 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3128 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3129 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3130 - info - BEGIN WORK
#3131 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3132 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3133 - info - UPDATE ac_config_options SET value = 's:7:\"Value 1\";' WHERE name = 'Option 1'
#3134 - info - COMMIT
#3135 - info - BEGIN WORK
#3136 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3137 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3138 - info - UPDATE ac_config_options SET value = 's:7:\"Value 2\";' WHERE name = 'Option 2'
#3139 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3140 - info - UPDATE ac_config_options SET value = 's:7:\"Value 3\";' WHERE name = 'Option 3'
#3141 - info - COMMIT
#3142 - info - BEGIN WORK
#3143 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#3144 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#3145 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3146 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3147 - info - COMMIT
#3148 - info - SELECT COUNT(*) FROM ac_config_options
#3149 - info - SHOW TABLES LIKE 'ac_config_options'
#3150 - info - SHOW TABLES LIKE 'ac_config_options'
#3151 - info - DROP TABLE `ac_config_options`
#3152 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3153 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3154 - info - DROP TABLE `ac_config_option_values`
#3155 - info - SHOW TABLES LIKE 'ac_modules'
#3156 - info - SHOW TABLES LIKE 'ac_modules'
#3157 - info - DROP TABLE `ac_modules`
#3158 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3159 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3160 - info - DROP TABLE `ac_executed_model_migrations`
#3161 - info - SHOW TABLES LIKE 'ac_update_history'
#3162 - info - SHOW TABLES LIKE 'ac_update_history'
#3163 - info - DROP TABLE `ac_update_history`
#3164 - info - SHOW TABLES LIKE 'ac_access_logs'
#3165 - info - SHOW TABLES LIKE 'ac_access_logs'
#3166 - info - DROP TABLE `ac_access_logs`
#3167 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3168 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3169 - info - DROP TABLE `ac_access_logs_archive`
#3170 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3171 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3172 - info - DROP TABLE `ac_object_contexts`
#3173 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3174 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3175 - info - DROP TABLE `ac_routing_cache`
#3176 - info - SHOW TABLES LIKE 'ac_currencies'
#3177 - info - SHOW TABLES LIKE 'ac_currencies'
#3178 - info - DROP TABLE `ac_currencies`
#3179 - info - SHOW TABLES LIKE 'ac_day_offs'
#3180 - info - SHOW TABLES LIKE 'ac_day_offs'
#3181 - info - DROP TABLE `ac_day_offs`
#3182 - info - SHOW TABLES LIKE 'ac_languages'
#3183 - info - SHOW TABLES LIKE 'ac_languages'
#3184 - info - DROP TABLE `ac_languages`
#3185 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3186 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3187 - info - DROP TABLE `ac_language_phrases`
#3188 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3189 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3190 - info - DROP TABLE `ac_language_phrase_translations`
#3191 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3192 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3193 - info - DROP TABLE `ac_api_client_subscriptions`
#3194 - info - SHOW TABLES LIKE 'ac_users'
#3195 - info - SHOW TABLES LIKE 'ac_users'
#3196 - info - DROP TABLE `ac_users`
#3197 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3198 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3199 - info - DROP TABLE `ac_user_addresses`
#3200 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3201 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3202 - info - DROP TABLE `ac_user_sessions`
#3203 - info - SHOW TABLES LIKE 'ac_security_logs'
#3204 - info - SHOW TABLES LIKE 'ac_security_logs'
#3205 - info - DROP TABLE `ac_security_logs`
#3206 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3207 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3208 - info - DROP TABLE `ac_api_token_logs`
#3209 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3210 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3211 - info - DROP TABLE `ac_activity_logs`
#3212 - info - SHOW TABLES LIKE 'ac_data_filters'
#3213 - info - SHOW TABLES LIKE 'ac_data_filters'
#3214 - info - DROP TABLE `ac_data_filters`
#3215 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3216 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3217 - info - DROP TABLE `ac_modification_logs`
#3218 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3219 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3220 - info - DROP TABLE `ac_modification_log_values`
#3221 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3222 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3223 - info - DROP TABLE `ac_mailing_activity_logs`
#3224 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3225 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3226 - info - DROP TABLE `ac_outgoing_messages`
#3227 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3228 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3229 - info - DROP TABLE `ac_incoming_mail_attachments`
#3230 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3231 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3232 - info - DROP TABLE `ac_incoming_mail_filters`
#3233 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3234 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3235 - info - DROP TABLE `ac_incoming_mailboxes`
#3236 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3237 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3238 - info - DROP TABLE `ac_incoming_mails`
#3239 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3240 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3241 - info - DROP TABLE `ac_homescreen_tabs`
#3242 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3243 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3244 - info - DROP TABLE `ac_homescreen_widgets`
#3245 - info - SHOW TABLES LIKE 'ac_announcements'
#3246 - info - SHOW TABLES LIKE 'ac_announcements'
#3247 - info - DROP TABLE `ac_announcements`
#3248 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3249 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3250 - info - DROP TABLE `ac_announcement_target_ids`
#3251 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3252 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3253 - info - DROP TABLE `ac_announcement_dismissals`
#3254 - info - SHOW TABLES LIKE 'ac_attachments'
#3255 - info - SHOW TABLES LIKE 'ac_attachments'
#3256 - info - DROP TABLE `ac_attachments`
#3257 - info - SHOW TABLES LIKE 'ac_notifications'
#3258 - info - SHOW TABLES LIKE 'ac_notifications'
#3259 - info - DROP TABLE `ac_notifications`
#3260 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3261 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3262 - info - DROP TABLE `ac_notification_recipients`
#3263 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3264 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3265 - info - DROP TABLE `ac_subscriptions`
#3266 - info - SHOW TABLES LIKE 'ac_comments'
#3267 - info - SHOW TABLES LIKE 'ac_comments'
#3268 - info - DROP TABLE `ac_comments`
#3269 - info - SHOW TABLES LIKE 'ac_categories'
#3270 - info - SHOW TABLES LIKE 'ac_categories'
#3271 - info - DROP TABLE `ac_categories`
#3272 - info - SHOW TABLES LIKE 'ac_labels'
#3273 - info - SHOW TABLES LIKE 'ac_labels'
#3274 - info - DROP TABLE `ac_labels`
#3275 - info - SHOW TABLES LIKE 'ac_assignments'
#3276 - info - SHOW TABLES LIKE 'ac_assignments'
#3277 - info - DROP TABLE `ac_assignments`
#3278 - info - SHOW TABLES LIKE 'ac_subtasks'
#3279 - info - SHOW TABLES LIKE 'ac_subtasks'
#3280 - info - DROP TABLE `ac_subtasks`
#3281 - info - SHOW TABLES LIKE 'ac_favorites'
#3282 - info - SHOW TABLES LIKE 'ac_favorites'
#3283 - info - DROP TABLE `ac_favorites`
#3284 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3285 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3286 - info - DROP TABLE `ac_code_snippets`
#3287 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3288 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3289 - info - DROP TABLE `ac_payment_gateways`
#3290 - info - SHOW TABLES LIKE 'ac_payments'
#3291 - info - SHOW TABLES LIKE 'ac_payments'
#3292 - info - DROP TABLE `ac_payments`
#3293 - info - SHOW TABLES LIKE 'ac_reminders'
#3294 - info - SHOW TABLES LIKE 'ac_reminders'
#3295 - info - DROP TABLE `ac_reminders`
#3296 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3297 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3298 - info - DROP TABLE `ac_reminder_users`
#3299 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3300 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3301 - info - DROP TABLE `ac_custom_fields`
#3302 - info - SHOW TABLES LIKE 'ac_calendars'
#3303 - info - SHOW TABLES LIKE 'ac_calendars'
#3304 - info - DROP TABLE `ac_calendars`
#3305 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3306 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3307 - info - DROP TABLE `ac_calendar_events`
#3308 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3309 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3310 - info - DROP TABLE `ac_calendar_users`
#3311 - info - SHOW TABLES LIKE 'ac_data_sources'
#3312 - info - SHOW TABLES LIKE 'ac_data_sources'
#3313 - info - DROP TABLE `ac_data_sources`
#3314 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3315 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3316 - info - DROP TABLE `ac_data_source_mappings`
#3317 - info - SHOW TABLES LIKE 'ac_companies'
#3318 - info - SHOW TABLES LIKE 'ac_companies'
#3319 - info - DROP TABLE `ac_companies`
#3320 - info - SHOW TABLES LIKE 'ac_projects'
#3321 - info - SHOW TABLES LIKE 'ac_projects'
#3322 - info - DROP TABLE `ac_projects`
#3323 - info - SHOW TABLES LIKE 'ac_project_roles'
#3324 - info - SHOW TABLES LIKE 'ac_project_roles'
#3325 - info - DROP TABLE `ac_project_roles`
#3326 - info - SHOW TABLES LIKE 'ac_project_users'
#3327 - info - SHOW TABLES LIKE 'ac_project_users'
#3328 - info - DROP TABLE `ac_project_users`
#3329 - info - SHOW TABLES LIKE 'ac_project_requests'
#3330 - info - SHOW TABLES LIKE 'ac_project_requests'
#3331 - info - DROP TABLE `ac_project_requests`
#3332 - info - SHOW TABLES LIKE 'ac_project_objects'
#3333 - info - SHOW TABLES LIKE 'ac_project_objects'
#3334 - info - DROP TABLE `ac_project_objects`
#3335 - info - SHOW TABLES LIKE 'ac_project_templates'
#3336 - info - SHOW TABLES LIKE 'ac_project_templates'
#3337 - info - DROP TABLE `ac_project_templates`
#3338 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3339 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3340 - info - DROP TABLE `ac_project_object_templates`
#3341 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3342 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3343 - info - DROP TABLE `ac_shared_object_profiles`
#3344 - info - SHOW TABLES LIKE 'ac_file_versions'
#3345 - info - SHOW TABLES LIKE 'ac_file_versions'
#3346 - info - DROP TABLE `ac_file_versions`
#3347 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3348 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3349 - info - DROP TABLE `ac_text_document_versions`
#3350 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3351 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3352 - info - DROP TABLE `ac_public_task_forms`
#3353 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3354 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3355 - info - DROP TABLE `ac_related_tasks`
#3356 - info - SHOW TABLES LIKE 'ac_task_segments'
#3357 - info - SHOW TABLES LIKE 'ac_task_segments'
#3358 - info - DROP TABLE `ac_task_segments`
#3359 - info - SHOW TABLES LIKE 'ac_status_updates'
#3360 - info - SHOW TABLES LIKE 'ac_status_updates'
#3361 - info - DROP TABLE `ac_status_updates`
#3362 - info - SHOW TABLES LIKE 'ac_documents'
#3363 - info - SHOW TABLES LIKE 'ac_documents'
#3364 - info - DROP TABLE `ac_documents`
#3365 - info - SHOW TABLES LIKE 'ac_time_records'
#3366 - info - SHOW TABLES LIKE 'ac_time_records'
#3367 - info - DROP TABLE `ac_time_records`
#3368 - info - SHOW TABLES LIKE 'ac_job_types'
#3369 - info - SHOW TABLES LIKE 'ac_job_types'
#3370 - info - DROP TABLE `ac_job_types`
#3371 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3372 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3373 - info - DROP TABLE `ac_project_hourly_rates`
#3374 - info - SHOW TABLES LIKE 'ac_expenses'
#3375 - info - SHOW TABLES LIKE 'ac_expenses'
#3376 - info - DROP TABLE `ac_expenses`
#3377 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3378 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3379 - info - DROP TABLE `ac_expense_categories`
#3380 - info - SHOW TABLES LIKE 'ac_estimates'
#3381 - info - SHOW TABLES LIKE 'ac_estimates'
#3382 - info - DROP TABLE `ac_estimates`
#3383 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3384 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3385 - info - DROP TABLE `ac_invoice_objects`
#3386 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3387 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3388 - info - DROP TABLE `ac_invoice_object_items`
#3389 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3390 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3391 - info - DROP TABLE `ac_invoice_item_templates`
#3392 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3393 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3394 - info - DROP TABLE `ac_invoice_note_templates`
#3395 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3396 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3397 - info - DROP TABLE `ac_invoice_related_records`
#3398 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3399 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3400 - info - DROP TABLE `ac_tax_rates`
#3401 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3402 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3403 - info - DROP TABLE `ac_notebook_pages`
#3404 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3405 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3406 - info - DROP TABLE `ac_notebook_page_versions`
#3407 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3408 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3409 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3410 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3411 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3412 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3413 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3414 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3415 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3416 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3417 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3418 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3419 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3420 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3421 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3422 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3423 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3424 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3425 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3426 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3427 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3428 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3429 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3430 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3431 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3432 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3433 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3434 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3435 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3436 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3437 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3438 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3439 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3440 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3441 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3442 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3443 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3444 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3445 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3446 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3447 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3448 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3449 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3450 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3451 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3452 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3453 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3454 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3455 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3456 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3457 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3458 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3459 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3460 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3461 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3462 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3463 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3464 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3465 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3466 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3467 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3468 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3469 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3470 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3471 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3472 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3473 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3474 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3475 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3476 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3477 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3478 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3479 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3480 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3481 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3482 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3483 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3484 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3485 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3486 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3487 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3488 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3489 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3490 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3491 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3492 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3520 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3521 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3522 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3524 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3528 - info - BEGIN WORK
#3529 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3530 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3531 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3532 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3533 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3534 - info - COMMIT
#3535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3554 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3557 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3560 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3562 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3563 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3564 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3565 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3566 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3567 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3568 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3569 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3570 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3571 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3572 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3573 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3574 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3575 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377488;')
#3589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3596 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3601 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3602 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3603 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3604 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3605 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3607 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3608 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3609 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3610 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3612 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3613 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3614 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3615 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3616 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3632 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3633 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3634 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3635 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3636 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:08', '1')
#3637 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3638 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3639 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3640 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3642 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3644 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3647 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3648 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3650 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3651 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3652 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3653 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3654 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3655 - info - BEGIN WORK
#3656 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3657 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3658 - info - COMMIT
#3659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3660 - info - BEGIN WORK
#3661 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3662 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3663 - info - COMMIT
#3664 - info - BEGIN WORK
#3665 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3666 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3667 - info - COMMIT
#3668 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3669 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3670 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3697 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3698 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3699 - info - SHOW TABLES LIKE 'ac_job_types'
#3700 - info - SELECT COUNT(id) FROM ac_job_types
#3701 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3702 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3703 - info - BEGIN WORK
#3704 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3705 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3706 - info - COMMIT
#3707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3708 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3709 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3710 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3711 - info - SELECT COUNT(name) FROM ac_modules
#3712 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3713 - info - SELECT name FROM ac_modules
#3714 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3715 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3716 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3717 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3718 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3719 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3720 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3721 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3722 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3723 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3724 - info - BEGIN WORK
#3725 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3726 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3727 - info - UPDATE ac_config_options SET value = 'i:1387377488;' WHERE name = 'search_initialized_on'
#3728 - info - COMMIT
#3729 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3730 - info - SELECT COUNT(*) FROM  ac_config_options
#3731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'system', 'i:1983;')
#3732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'system', 's:10:\"Google.com\";')
#3733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'system', 'a:6:{i:0;s:8:\"Belgrade\";i:1;s:6:\"Zagreb\";i:2;s:9:\"Ljubljana\";i:3;s:8:\"Sarajevo\";i:4;s:9:\"Podgorica\";i:5;s:7:\"Skoplje\";}')
#3734 - info - SELECT COUNT(*) FROM ac_config_options
#3735 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3736 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3737 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3738 - info - BEGIN WORK
#3739 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3740 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3741 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3742 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '1', 's:7:\"Value 1\";')
#3743 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3744 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3745 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '1', 's:7:\"Value 3\";')
#3746 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3747 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3748 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 2', 'TestConfigOptionsObject1', '1', 's:7:\"Value 2\";')
#3749 - info - COMMIT
#3750 - info - BEGIN WORK
#3751 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3752 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3753 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3754 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '2', 's:25:\"Value 1 for second object\";')
#3755 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3756 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3757 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '2', 's:7:\"Value 3\";')
#3758 - info - COMMIT
#3759 - info - BEGIN WORK
#3760 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3761 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3762 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject2' AND parent_id = '1'
#3763 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject2', '1', 'i:1;')
#3764 - info - COMMIT
#3765 - info - SELECT COUNT(*) FROM ac_config_option_values
#3766 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3767 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject2'
#3768 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3769 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3770 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3771 - info - DELETE FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3772 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3773 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3774 - info - BEGIN WORK
#3775 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3776 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3777 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3778 - info - UPDATE ac_config_option_values SET value = 's:9:\"Yahoo.com\";' WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3779 - info - COMMIT
#3780 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3781 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3782 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3783 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 2') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3784 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3785 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3786 - info - SHOW TABLES LIKE 'ac_config_options'
#3787 - info - SHOW TABLES LIKE 'ac_config_options'
#3788 - info - DROP TABLE `ac_config_options`
#3789 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3790 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3791 - info - DROP TABLE `ac_config_option_values`
#3792 - info - SHOW TABLES LIKE 'ac_modules'
#3793 - info - SHOW TABLES LIKE 'ac_modules'
#3794 - info - DROP TABLE `ac_modules`
#3795 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3796 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3797 - info - DROP TABLE `ac_executed_model_migrations`
#3798 - info - SHOW TABLES LIKE 'ac_update_history'
#3799 - info - SHOW TABLES LIKE 'ac_update_history'
#3800 - info - DROP TABLE `ac_update_history`
#3801 - info - SHOW TABLES LIKE 'ac_access_logs'
#3802 - info - SHOW TABLES LIKE 'ac_access_logs'
#3803 - info - DROP TABLE `ac_access_logs`
#3804 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3805 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3806 - info - DROP TABLE `ac_access_logs_archive`
#3807 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3808 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3809 - info - DROP TABLE `ac_object_contexts`
#3810 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3811 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3812 - info - DROP TABLE `ac_routing_cache`
#3813 - info - SHOW TABLES LIKE 'ac_currencies'
#3814 - info - SHOW TABLES LIKE 'ac_currencies'
#3815 - info - DROP TABLE `ac_currencies`
#3816 - info - SHOW TABLES LIKE 'ac_day_offs'
#3817 - info - SHOW TABLES LIKE 'ac_day_offs'
#3818 - info - DROP TABLE `ac_day_offs`
#3819 - info - SHOW TABLES LIKE 'ac_languages'
#3820 - info - SHOW TABLES LIKE 'ac_languages'
#3821 - info - DROP TABLE `ac_languages`
#3822 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3823 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3824 - info - DROP TABLE `ac_language_phrases`
#3825 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3826 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3827 - info - DROP TABLE `ac_language_phrase_translations`
#3828 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3829 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3830 - info - DROP TABLE `ac_api_client_subscriptions`
#3831 - info - SHOW TABLES LIKE 'ac_users'
#3832 - info - SHOW TABLES LIKE 'ac_users'
#3833 - info - DROP TABLE `ac_users`
#3834 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3835 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3836 - info - DROP TABLE `ac_user_addresses`
#3837 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3838 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3839 - info - DROP TABLE `ac_user_sessions`
#3840 - info - SHOW TABLES LIKE 'ac_security_logs'
#3841 - info - SHOW TABLES LIKE 'ac_security_logs'
#3842 - info - DROP TABLE `ac_security_logs`
#3843 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3844 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3845 - info - DROP TABLE `ac_api_token_logs`
#3846 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3847 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3848 - info - DROP TABLE `ac_activity_logs`
#3849 - info - SHOW TABLES LIKE 'ac_data_filters'
#3850 - info - SHOW TABLES LIKE 'ac_data_filters'
#3851 - info - DROP TABLE `ac_data_filters`
#3852 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3853 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3854 - info - DROP TABLE `ac_modification_logs`
#3855 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3856 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3857 - info - DROP TABLE `ac_modification_log_values`
#3858 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3859 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3860 - info - DROP TABLE `ac_mailing_activity_logs`
#3861 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3862 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3863 - info - DROP TABLE `ac_outgoing_messages`
#3864 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3865 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3866 - info - DROP TABLE `ac_incoming_mail_attachments`
#3867 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3868 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3869 - info - DROP TABLE `ac_incoming_mail_filters`
#3870 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3871 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3872 - info - DROP TABLE `ac_incoming_mailboxes`
#3873 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3874 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3875 - info - DROP TABLE `ac_incoming_mails`
#3876 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3877 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3878 - info - DROP TABLE `ac_homescreen_tabs`
#3879 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3880 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3881 - info - DROP TABLE `ac_homescreen_widgets`
#3882 - info - SHOW TABLES LIKE 'ac_announcements'
#3883 - info - SHOW TABLES LIKE 'ac_announcements'
#3884 - info - DROP TABLE `ac_announcements`
#3885 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3886 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3887 - info - DROP TABLE `ac_announcement_target_ids`
#3888 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3889 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3890 - info - DROP TABLE `ac_announcement_dismissals`
#3891 - info - SHOW TABLES LIKE 'ac_attachments'
#3892 - info - SHOW TABLES LIKE 'ac_attachments'
#3893 - info - DROP TABLE `ac_attachments`
#3894 - info - SHOW TABLES LIKE 'ac_notifications'
#3895 - info - SHOW TABLES LIKE 'ac_notifications'
#3896 - info - DROP TABLE `ac_notifications`
#3897 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3898 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3899 - info - DROP TABLE `ac_notification_recipients`
#3900 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3901 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3902 - info - DROP TABLE `ac_subscriptions`
#3903 - info - SHOW TABLES LIKE 'ac_comments'
#3904 - info - SHOW TABLES LIKE 'ac_comments'
#3905 - info - DROP TABLE `ac_comments`
#3906 - info - SHOW TABLES LIKE 'ac_categories'
#3907 - info - SHOW TABLES LIKE 'ac_categories'
#3908 - info - DROP TABLE `ac_categories`
#3909 - info - SHOW TABLES LIKE 'ac_labels'
#3910 - info - SHOW TABLES LIKE 'ac_labels'
#3911 - info - DROP TABLE `ac_labels`
#3912 - info - SHOW TABLES LIKE 'ac_assignments'
#3913 - info - SHOW TABLES LIKE 'ac_assignments'
#3914 - info - DROP TABLE `ac_assignments`
#3915 - info - SHOW TABLES LIKE 'ac_subtasks'
#3916 - info - SHOW TABLES LIKE 'ac_subtasks'
#3917 - info - DROP TABLE `ac_subtasks`
#3918 - info - SHOW TABLES LIKE 'ac_favorites'
#3919 - info - SHOW TABLES LIKE 'ac_favorites'
#3920 - info - DROP TABLE `ac_favorites`
#3921 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3922 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3923 - info - DROP TABLE `ac_code_snippets`
#3924 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3925 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3926 - info - DROP TABLE `ac_payment_gateways`
#3927 - info - SHOW TABLES LIKE 'ac_payments'
#3928 - info - SHOW TABLES LIKE 'ac_payments'
#3929 - info - DROP TABLE `ac_payments`
#3930 - info - SHOW TABLES LIKE 'ac_reminders'
#3931 - info - SHOW TABLES LIKE 'ac_reminders'
#3932 - info - DROP TABLE `ac_reminders`
#3933 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3934 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3935 - info - DROP TABLE `ac_reminder_users`
#3936 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3937 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3938 - info - DROP TABLE `ac_custom_fields`
#3939 - info - SHOW TABLES LIKE 'ac_calendars'
#3940 - info - SHOW TABLES LIKE 'ac_calendars'
#3941 - info - DROP TABLE `ac_calendars`
#3942 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3943 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3944 - info - DROP TABLE `ac_calendar_events`
#3945 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3946 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3947 - info - DROP TABLE `ac_calendar_users`
#3948 - info - SHOW TABLES LIKE 'ac_data_sources'
#3949 - info - SHOW TABLES LIKE 'ac_data_sources'
#3950 - info - DROP TABLE `ac_data_sources`
#3951 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3952 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3953 - info - DROP TABLE `ac_data_source_mappings`
#3954 - info - SHOW TABLES LIKE 'ac_companies'
#3955 - info - SHOW TABLES LIKE 'ac_companies'
#3956 - info - DROP TABLE `ac_companies`
#3957 - info - SHOW TABLES LIKE 'ac_projects'
#3958 - info - SHOW TABLES LIKE 'ac_projects'
#3959 - info - DROP TABLE `ac_projects`
#3960 - info - SHOW TABLES LIKE 'ac_project_roles'
#3961 - info - SHOW TABLES LIKE 'ac_project_roles'
#3962 - info - DROP TABLE `ac_project_roles`
#3963 - info - SHOW TABLES LIKE 'ac_project_users'
#3964 - info - SHOW TABLES LIKE 'ac_project_users'
#3965 - info - DROP TABLE `ac_project_users`
#3966 - info - SHOW TABLES LIKE 'ac_project_requests'
#3967 - info - SHOW TABLES LIKE 'ac_project_requests'
#3968 - info - DROP TABLE `ac_project_requests`
#3969 - info - SHOW TABLES LIKE 'ac_project_objects'
#3970 - info - SHOW TABLES LIKE 'ac_project_objects'
#3971 - info - DROP TABLE `ac_project_objects`
#3972 - info - SHOW TABLES LIKE 'ac_project_templates'
#3973 - info - SHOW TABLES LIKE 'ac_project_templates'
#3974 - info - DROP TABLE `ac_project_templates`
#3975 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3976 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3977 - info - DROP TABLE `ac_project_object_templates`
#3978 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3979 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3980 - info - DROP TABLE `ac_shared_object_profiles`
#3981 - info - SHOW TABLES LIKE 'ac_file_versions'
#3982 - info - SHOW TABLES LIKE 'ac_file_versions'
#3983 - info - DROP TABLE `ac_file_versions`
#3984 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3985 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3986 - info - DROP TABLE `ac_text_document_versions`
#3987 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3988 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3989 - info - DROP TABLE `ac_public_task_forms`
#3990 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3991 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3992 - info - DROP TABLE `ac_related_tasks`
#3993 - info - SHOW TABLES LIKE 'ac_task_segments'
#3994 - info - SHOW TABLES LIKE 'ac_task_segments'
#3995 - info - DROP TABLE `ac_task_segments`
#3996 - info - SHOW TABLES LIKE 'ac_status_updates'
#3997 - info - SHOW TABLES LIKE 'ac_status_updates'
#3998 - info - DROP TABLE `ac_status_updates`
#3999 - info - SHOW TABLES LIKE 'ac_documents'
#4000 - info - SHOW TABLES LIKE 'ac_documents'
#4001 - info - DROP TABLE `ac_documents`
#4002 - info - SHOW TABLES LIKE 'ac_time_records'
#4003 - info - SHOW TABLES LIKE 'ac_time_records'
#4004 - info - DROP TABLE `ac_time_records`
#4005 - info - SHOW TABLES LIKE 'ac_job_types'
#4006 - info - SHOW TABLES LIKE 'ac_job_types'
#4007 - info - DROP TABLE `ac_job_types`
#4008 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4009 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4010 - info - DROP TABLE `ac_project_hourly_rates`
#4011 - info - SHOW TABLES LIKE 'ac_expenses'
#4012 - info - SHOW TABLES LIKE 'ac_expenses'
#4013 - info - DROP TABLE `ac_expenses`
#4014 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4015 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4016 - info - DROP TABLE `ac_expense_categories`
#4017 - info - SHOW TABLES LIKE 'ac_estimates'
#4018 - info - SHOW TABLES LIKE 'ac_estimates'
#4019 - info - DROP TABLE `ac_estimates`
#4020 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4021 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4022 - info - DROP TABLE `ac_invoice_objects`
#4023 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4024 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4025 - info - DROP TABLE `ac_invoice_object_items`
#4026 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4027 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4028 - info - DROP TABLE `ac_invoice_item_templates`
#4029 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4030 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4031 - info - DROP TABLE `ac_invoice_note_templates`
#4032 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4033 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4034 - info - DROP TABLE `ac_invoice_related_records`
#4035 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4036 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4037 - info - DROP TABLE `ac_tax_rates`
#4038 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4039 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4040 - info - DROP TABLE `ac_notebook_pages`
#4041 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4042 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4043 - info - DROP TABLE `ac_notebook_page_versions`
#4044 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4045 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4046 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4047 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4048 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4049 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4050 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4051 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4052 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4053 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4054 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4055 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4056 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4057 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4058 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4059 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4060 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4061 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4062 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4063 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4064 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4065 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4066 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4067 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4068 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4069 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4070 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4071 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4072 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4073 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4074 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4075 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4076 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4077 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4078 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4079 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4080 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4081 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4082 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4083 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4084 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4085 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4086 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4087 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4088 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4089 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4090 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4091 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4092 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4093 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4094 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4095 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4096 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4097 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4098 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4099 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4100 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4101 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4102 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4103 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4104 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4105 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4106 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4107 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4108 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4109 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4110 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4111 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4112 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4113 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4114 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4115 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4116 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4117 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4118 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4119 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4120 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4121 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4122 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4123 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4124 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4125 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4126 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4127 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4128 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4129 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4135 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4137 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4145 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4146 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4147 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4148 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4149 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4151 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4153 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4154 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4155 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4156 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4157 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4158 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4159 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4160 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4162 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4163 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4164 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4165 - info - BEGIN WORK
#4166 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4167 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4168 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4169 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4170 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4171 - info - COMMIT
#4172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4175 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4176 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4177 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4178 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4180 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4181 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4182 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4183 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4184 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4185 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4186 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4187 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4188 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4189 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4190 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4191 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4192 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4193 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4194 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4195 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4196 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4197 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4198 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4199 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4200 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4201 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4202 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4203 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4204 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4205 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4206 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4207 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4208 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4209 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4210 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4211 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4212 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4213 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4214 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4215 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4216 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4217 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4218 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4219 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4220 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4221 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4222 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4223 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4224 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4225 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387377489;')
#4226 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4227 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4228 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4229 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4230 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4231 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4232 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4233 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4234 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4235 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4236 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4237 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4238 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4239 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4240 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4241 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4242 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4243 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4244 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4245 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4246 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4247 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4248 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4249 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4250 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4251 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4252 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4253 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4254 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#4255 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#4256 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#4257 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#4258 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#4259 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#4260 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#4261 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#4262 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#4263 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#4264 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#4265 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#4266 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#4267 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#4268 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#4269 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#4270 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#4271 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#4272 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#4273 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 14:38:09', '1')
#4274 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4275 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4276 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4277 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4278 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#4279 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4280 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#4281 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4282 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#4283 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#4284 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#4285 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#4286 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#4287 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#4288 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#4289 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#4290 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4291 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#4292 - info - BEGIN WORK
#4293 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#4294 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#4295 - info - COMMIT
#4296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#4297 - info - BEGIN WORK
#4298 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4299 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#4300 - info - COMMIT
#4301 - info - BEGIN WORK
#4302 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4303 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#4304 - info - COMMIT
#4305 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4306 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4307 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#4308 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#4309 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#4310 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#4311 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#4312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#4313 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#4314 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#4315 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#4316 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#4317 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#4318 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#4319 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#4320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#4321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#4322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#4323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#4324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#4325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#4326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#4327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#4328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#4329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#4330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#4331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#4332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#4333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#4334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#4335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#4336 - info - SHOW TABLES LIKE 'ac_job_types'
#4337 - info - SELECT COUNT(id) FROM ac_job_types
#4338 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4339 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#4340 - info - BEGIN WORK
#4341 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#4342 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#4343 - info - COMMIT
#4344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#4345 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4346 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4347 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#4348 - info - SELECT COUNT(name) FROM ac_modules
#4349 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#4350 - info - SELECT name FROM ac_modules
#4351 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#4352 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#4353 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#4354 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#4355 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#4356 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#4357 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#4358 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#4359 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#4360 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#4361 - info - BEGIN WORK
#4362 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#4363 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#4364 - info - UPDATE ac_config_options SET value = 'i:1387377489;' WHERE name = 'search_initialized_on'
#4365 - info - COMMIT
#4366 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#4367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('testing_user_model', 'system', 'N;')
#4368 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'testing_user_model'
#4369 - info - BEGIN WORK
#4370 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#4371 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'testing_user_model'
#4372 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4373 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('testing_user_model', 'User', '1', 'i:123;')
#4374 - info - COMMIT
#4375 - info - SELECT value FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4376 - info - SELECT * FROM ac_config_option_values WHERE name = 'testing_user_model'
#4377 - info - SHOW TABLES LIKE 'ac_config_options'
#4378 - info - SHOW TABLES LIKE 'ac_config_options'
#4379 - info - DROP TABLE `ac_config_options`
#4380 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4381 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4382 - info - DROP TABLE `ac_config_option_values`
#4383 - info - SHOW TABLES LIKE 'ac_modules'
#4384 - info - SHOW TABLES LIKE 'ac_modules'
#4385 - info - DROP TABLE `ac_modules`
#4386 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4387 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4388 - info - DROP TABLE `ac_executed_model_migrations`
#4389 - info - SHOW TABLES LIKE 'ac_update_history'
#4390 - info - SHOW TABLES LIKE 'ac_update_history'
#4391 - info - DROP TABLE `ac_update_history`
#4392 - info - SHOW TABLES LIKE 'ac_access_logs'
#4393 - info - SHOW TABLES LIKE 'ac_access_logs'
#4394 - info - DROP TABLE `ac_access_logs`
#4395 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4396 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4397 - info - DROP TABLE `ac_access_logs_archive`
#4398 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4399 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4400 - info - DROP TABLE `ac_object_contexts`
#4401 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4402 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4403 - info - DROP TABLE `ac_routing_cache`
#4404 - info - SHOW TABLES LIKE 'ac_currencies'
#4405 - info - SHOW TABLES LIKE 'ac_currencies'
#4406 - info - DROP TABLE `ac_currencies`
#4407 - info - SHOW TABLES LIKE 'ac_day_offs'
#4408 - info - SHOW TABLES LIKE 'ac_day_offs'
#4409 - info - DROP TABLE `ac_day_offs`
#4410 - info - SHOW TABLES LIKE 'ac_languages'
#4411 - info - SHOW TABLES LIKE 'ac_languages'
#4412 - info - DROP TABLE `ac_languages`
#4413 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4414 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4415 - info - DROP TABLE `ac_language_phrases`
#4416 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4417 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4418 - info - DROP TABLE `ac_language_phrase_translations`
#4419 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4420 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4421 - info - DROP TABLE `ac_api_client_subscriptions`
#4422 - info - SHOW TABLES LIKE 'ac_users'
#4423 - info - SHOW TABLES LIKE 'ac_users'
#4424 - info - DROP TABLE `ac_users`
#4425 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4426 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4427 - info - DROP TABLE `ac_user_addresses`
#4428 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4429 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4430 - info - DROP TABLE `ac_user_sessions`
#4431 - info - SHOW TABLES LIKE 'ac_security_logs'
#4432 - info - SHOW TABLES LIKE 'ac_security_logs'
#4433 - info - DROP TABLE `ac_security_logs`
#4434 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4435 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4436 - info - DROP TABLE `ac_api_token_logs`
#4437 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4438 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4439 - info - DROP TABLE `ac_activity_logs`
#4440 - info - SHOW TABLES LIKE 'ac_data_filters'
#4441 - info - SHOW TABLES LIKE 'ac_data_filters'
#4442 - info - DROP TABLE `ac_data_filters`
#4443 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4444 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4445 - info - DROP TABLE `ac_modification_logs`
#4446 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4447 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4448 - info - DROP TABLE `ac_modification_log_values`
#4449 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4450 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4451 - info - DROP TABLE `ac_mailing_activity_logs`
#4452 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4453 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4454 - info - DROP TABLE `ac_outgoing_messages`
#4455 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4456 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4457 - info - DROP TABLE `ac_incoming_mail_attachments`
#4458 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4459 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4460 - info - DROP TABLE `ac_incoming_mail_filters`
#4461 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4462 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4463 - info - DROP TABLE `ac_incoming_mailboxes`
#4464 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4465 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4466 - info - DROP TABLE `ac_incoming_mails`
#4467 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4468 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4469 - info - DROP TABLE `ac_homescreen_tabs`
#4470 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4471 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4472 - info - DROP TABLE `ac_homescreen_widgets`
#4473 - info - SHOW TABLES LIKE 'ac_announcements'
#4474 - info - SHOW TABLES LIKE 'ac_announcements'
#4475 - info - DROP TABLE `ac_announcements`
#4476 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4477 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4478 - info - DROP TABLE `ac_announcement_target_ids`
#4479 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4480 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4481 - info - DROP TABLE `ac_announcement_dismissals`
#4482 - info - SHOW TABLES LIKE 'ac_attachments'
#4483 - info - SHOW TABLES LIKE 'ac_attachments'
#4484 - info - DROP TABLE `ac_attachments`
#4485 - info - SHOW TABLES LIKE 'ac_notifications'
#4486 - info - SHOW TABLES LIKE 'ac_notifications'
#4487 - info - DROP TABLE `ac_notifications`
#4488 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4489 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4490 - info - DROP TABLE `ac_notification_recipients`
#4491 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4492 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4493 - info - DROP TABLE `ac_subscriptions`
#4494 - info - SHOW TABLES LIKE 'ac_comments'
#4495 - info - SHOW TABLES LIKE 'ac_comments'
#4496 - info - DROP TABLE `ac_comments`
#4497 - info - SHOW TABLES LIKE 'ac_categories'
#4498 - info - SHOW TABLES LIKE 'ac_categories'
#4499 - info - DROP TABLE `ac_categories`
#4500 - info - SHOW TABLES LIKE 'ac_labels'
#4501 - info - SHOW TABLES LIKE 'ac_labels'
#4502 - info - DROP TABLE `ac_labels`
#4503 - info - SHOW TABLES LIKE 'ac_assignments'
#4504 - info - SHOW TABLES LIKE 'ac_assignments'
#4505 - info - DROP TABLE `ac_assignments`
#4506 - info - SHOW TABLES LIKE 'ac_subtasks'
#4507 - info - SHOW TABLES LIKE 'ac_subtasks'
#4508 - info - DROP TABLE `ac_subtasks`
#4509 - info - SHOW TABLES LIKE 'ac_favorites'
#4510 - info - SHOW TABLES LIKE 'ac_favorites'
#4511 - info - DROP TABLE `ac_favorites`
#4512 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4513 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4514 - info - DROP TABLE `ac_code_snippets`
#4515 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4516 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4517 - info - DROP TABLE `ac_payment_gateways`
#4518 - info - SHOW TABLES LIKE 'ac_payments'
#4519 - info - SHOW TABLES LIKE 'ac_payments'
#4520 - info - DROP TABLE `ac_payments`
#4521 - info - SHOW TABLES LIKE 'ac_reminders'
#4522 - info - SHOW TABLES LIKE 'ac_reminders'
#4523 - info - DROP TABLE `ac_reminders`
#4524 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4525 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4526 - info - DROP TABLE `ac_reminder_users`
#4527 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4528 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4529 - info - DROP TABLE `ac_custom_fields`
#4530 - info - SHOW TABLES LIKE 'ac_calendars'
#4531 - info - SHOW TABLES LIKE 'ac_calendars'
#4532 - info - DROP TABLE `ac_calendars`
#4533 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4534 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4535 - info - DROP TABLE `ac_calendar_events`
#4536 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4537 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4538 - info - DROP TABLE `ac_calendar_users`
#4539 - info - SHOW TABLES LIKE 'ac_data_sources'
#4540 - info - SHOW TABLES LIKE 'ac_data_sources'
#4541 - info - DROP TABLE `ac_data_sources`
#4542 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4543 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4544 - info - DROP TABLE `ac_data_source_mappings`
#4545 - info - SHOW TABLES LIKE 'ac_companies'
#4546 - info - SHOW TABLES LIKE 'ac_companies'
#4547 - info - DROP TABLE `ac_companies`
#4548 - info - SHOW TABLES LIKE 'ac_projects'
#4549 - info - SHOW TABLES LIKE 'ac_projects'
#4550 - info - DROP TABLE `ac_projects`
#4551 - info - SHOW TABLES LIKE 'ac_project_roles'
#4552 - info - SHOW TABLES LIKE 'ac_project_roles'
#4553 - info - DROP TABLE `ac_project_roles`
#4554 - info - SHOW TABLES LIKE 'ac_project_users'
#4555 - info - SHOW TABLES LIKE 'ac_project_users'
#4556 - info - DROP TABLE `ac_project_users`
#4557 - info - SHOW TABLES LIKE 'ac_project_requests'
#4558 - info - SHOW TABLES LIKE 'ac_project_requests'
#4559 - info - DROP TABLE `ac_project_requests`
#4560 - info - SHOW TABLES LIKE 'ac_project_objects'
#4561 - info - SHOW TABLES LIKE 'ac_project_objects'
#4562 - info - DROP TABLE `ac_project_objects`
#4563 - info - SHOW TABLES LIKE 'ac_project_templates'
#4564 - info - SHOW TABLES LIKE 'ac_project_templates'
#4565 - info - DROP TABLE `ac_project_templates`
#4566 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4567 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4568 - info - DROP TABLE `ac_project_object_templates`
#4569 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4570 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4571 - info - DROP TABLE `ac_shared_object_profiles`
#4572 - info - SHOW TABLES LIKE 'ac_file_versions'
#4573 - info - SHOW TABLES LIKE 'ac_file_versions'
#4574 - info - DROP TABLE `ac_file_versions`
#4575 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4576 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4577 - info - DROP TABLE `ac_text_document_versions`
#4578 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4579 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4580 - info - DROP TABLE `ac_public_task_forms`
#4581 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4582 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4583 - info - DROP TABLE `ac_related_tasks`
#4584 - info - SHOW TABLES LIKE 'ac_task_segments'
#4585 - info - SHOW TABLES LIKE 'ac_task_segments'
#4586 - info - DROP TABLE `ac_task_segments`
#4587 - info - SHOW TABLES LIKE 'ac_status_updates'
#4588 - info - SHOW TABLES LIKE 'ac_status_updates'
#4589 - info - DROP TABLE `ac_status_updates`
#4590 - info - SHOW TABLES LIKE 'ac_documents'
#4591 - info - SHOW TABLES LIKE 'ac_documents'
#4592 - info - DROP TABLE `ac_documents`
#4593 - info - SHOW TABLES LIKE 'ac_time_records'
#4594 - info - SHOW TABLES LIKE 'ac_time_records'
#4595 - info - DROP TABLE `ac_time_records`
#4596 - info - SHOW TABLES LIKE 'ac_job_types'
#4597 - info - SHOW TABLES LIKE 'ac_job_types'
#4598 - info - DROP TABLE `ac_job_types`
#4599 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4600 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4601 - info - DROP TABLE `ac_project_hourly_rates`
#4602 - info - SHOW TABLES LIKE 'ac_expenses'
#4603 - info - SHOW TABLES LIKE 'ac_expenses'
#4604 - info - DROP TABLE `ac_expenses`
#4605 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4606 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4607 - info - DROP TABLE `ac_expense_categories`
#4608 - info - SHOW TABLES LIKE 'ac_estimates'
#4609 - info - SHOW TABLES LIKE 'ac_estimates'
#4610 - info - DROP TABLE `ac_estimates`
#4611 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4612 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4613 - info - DROP TABLE `ac_invoice_objects`
#4614 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4615 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4616 - info - DROP TABLE `ac_invoice_object_items`
#4617 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4618 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4619 - info - DROP TABLE `ac_invoice_item_templates`
#4620 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4621 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4622 - info - DROP TABLE `ac_invoice_note_templates`
#4623 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4624 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4625 - info - DROP TABLE `ac_invoice_related_records`
#4626 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4627 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4628 - info - DROP TABLE `ac_tax_rates`
#4629 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4630 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4631 - info - DROP TABLE `ac_notebook_pages`
#4632 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4633 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4634 - info - DROP TABLE `ac_notebook_page_versions`
#4635 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4636 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4637 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4638 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4639 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4640 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4641 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4642 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4643 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4644 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4645 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4646 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4647 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4648 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4649 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4650 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4651 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4652 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4653 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4654 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4655 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4656 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4657 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4658 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4659 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4660 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4661 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4662 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4663 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4664 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4665 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4666 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4667 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4668 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4669 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4670 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4671 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4672 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4673 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4674 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4675 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4676 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4677 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4678 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4679 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4680 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4681 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4682 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4683 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4684 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4685 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4686 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4687 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4688 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4689 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4690 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4691 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4692 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4693 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4694 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4695 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4696 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4697 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4698 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4699 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4700 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4701 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4702 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4703 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4704 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4705 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4706 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4707 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4708 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4709 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4710 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4711 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4712 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4713 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4714 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4715 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4716 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4717 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4718 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4719 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4720 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4734 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4735 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4736 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4737 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4738 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4739 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4740 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4741 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4742 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4743 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4744 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4745 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4746 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4747 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4748 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4749 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4750 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4751 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4752 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4753 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4754 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4756 - info - BEGIN WORK
#4757 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4758 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4759 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4760 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4761 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4762 - info - COMMIT
#4763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4772 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4773 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4774 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4775 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4776 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4777 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4778 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4779 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4780 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4781 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4782 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4783 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4784 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4785 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4786 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4787 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4788 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4789 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4790 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4791 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4792 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4793 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4794 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4795 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4796 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4797 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4798 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4799 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4800 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4801 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4802 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4803 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4804 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1

cache

#1 - info - Cache miss 'installed_non_system_modues'
#2 - info - Cache hit 'installed_non_system_modues'
#3 - info - Cache hit 'installed_non_system_modues'
#4 - info - Cache hit 'installed_non_system_modues'
#5 - info - Cache hit 'installed_non_system_modues'
#6 - info - Cache hit 'installed_non_system_modues'
#7 - info - Cache hit 'installed_non_system_modues'
#8 - info - Cache hit 'installed_non_system_modues'
#9 - info - Cache hit 'installed_non_system_modues'
#10 - info - Cache hit 'installed_non_system_modues'
#11 - info - Cache miss 'root_url'
#12 - info - Cache miss 'models/test_data_objects/1'
#13 - info - Cache hit 'models/test_data_objects/1'
#14 - info - Cache miss 'models/test_data_objects/1'
#15 - info - Cache miss 'something_to_get'
#16 - info - Cache hit 'something_to_get'
#17 - info - Cache miss 'something_to_get'
#18 - info - Cache miss 'config_values'
#19 - info - Cache hit 'config_values'
#20 - info - Cache hit 'config_values'
#21 - info - Cache hit 'config_values'
#22 - info - Cache miss 'models/users/1'
#23 - info - Cache miss 'config_values'
#24 - info - Cache hit 'config_values'
#25 - info - Cache miss 'models/users/1'
#26 - info - Cache hit 'models/users/1'
#27 - info - Cache hit 'models/users/1'
#28 - info - Cache miss 'models/users/1/config_options'
#29 - info - Cache miss 'config_values'
#30 - info - Cache hit 'models/users/1/config_options'
#31 - info - Cache hit 'config_values'
#32 - info - Cache hit 'models/users/1/config_options'
#33 - info - Cache hit 'config_values'
#34 - info - Cache hit 'models/users/1/config_options'
#35 - info - Cache hit 'config_values'
#36 - info - Cache hit 'models/users/1'
#37 - info - Cache hit 'models/users/1'
#38 - info - Cache hit 'models/users/1/config_options'
#39 - info - Cache hit 'models/users/1'
#40 - info - Cache hit 'models/users/1/config_options'
#41 - info - Cache hit 'models/users/1/config_options'
#42 - info - Cache hit 'models/users/1'
#43 - info - Cache hit 'models/users/1'
#44 - info - Cache miss 'models/test_data_objects/1'
#45 - info - Cache miss 'models/test_data_objects/1'
#46 - info - Cache miss 'models/test_data_objects/1'
#47 - info - Cache miss 'models/test_data_objects/12'
#48 - info - Cache hit 'config_values'
#49 - info - Cache hit 'config_values'
#50 - info - Cache miss 'models/users/1'
#51 - info - Cache miss 'config_values'
#52 - info - Cache hit 'config_values'
#53 - info - Cache miss 'models/users/1'
#54 - info - Cache miss 'config_values'
#55 - info - Cache hit 'config_values'
#56 - info - Cache hit 'config_values'
#57 - info - Cache hit 'config_values'
#58 - info - Cache hit 'config_values'
#59 - info - Cache hit 'config_values'
#60 - info - Cache miss 'config_values'
#61 - info - Cache hit 'config_values'
#62 - info - Cache miss 'models/users/1'
#63 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#64 - info - Cache miss 'models/test_config_options_object1s/2/config_options'
#65 - info - Cache miss 'models/test_config_options_object2s/1/config_options'
#66 - info - Cache miss 'config_values'
#67 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#68 - info - Cache hit 'models/test_config_options_object1s/1/config_options'
#69 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#70 - info - Cache hit 'config_values'
#71 - info - Cache hit 'config_values'
#72 - info - Cache hit 'config_values'
#73 - info - Cache miss 'models/users/1'
#74 - info - Cache hit 'models/users/1'
#75 - info - Cache miss 'models/users/1/config_options'
#76 - info - Cache miss 'models/users/1'

events

#1 - info - Event 'on_before_object_validation' triggered
#2 - info - Event 'on_after_object_validation' triggered
#3 - info - Event 'on_before_object_save' triggered
#4 - info - Event 'on_before_object_insert' triggered
#5 - info - Event 'on_object_inserted' triggered
#6 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#7 - info - Event 'on_after_object_save' triggered
#8 - info - Event 'on_before_object_validation' triggered
#9 - info - Event 'on_after_object_validation' triggered
#10 - info - Event 'on_before_object_save' triggered
#11 - info - Event 'on_before_object_update' triggered
#12 - info - Event 'on_object_updated' triggered
#13 - info - Event 'on_after_object_save' triggered
#14 - info - Event 'on_before_object_deleted' triggered
#15 - info - Event 'on_object_deleted' triggered
#16 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#17 - info - Event 'on_search_indices' triggered
#18 - info - Callback 'help_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#19 - info - Callback 'authentication_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#20 - info - Callback 'system_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#21 - info - Callback 'documents_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#22 - info - Event 'on_before_object_validation' triggered
#23 - info - Event 'on_after_object_validation' triggered
#24 - info - Event 'on_before_object_save' triggered
#25 - info - Event 'on_before_object_insert' triggered
#26 - info - Event 'on_object_inserted' triggered
#27 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#28 - info - Event 'on_after_object_save' triggered
#29 - info - Event 'on_before_object_validation' triggered
#30 - info - Event 'on_after_object_validation' triggered
#31 - info - Event 'on_before_object_save' triggered
#32 - info - Event 'on_before_object_insert' triggered
#33 - info - Event 'on_object_inserted' triggered
#34 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#35 - info - Event 'on_after_object_save' triggered
#36 - info - Event 'on_before_object_validation' triggered
#37 - info - Event 'on_after_object_validation' triggered
#38 - info - Event 'on_before_object_save' triggered
#39 - info - Event 'on_before_object_insert' triggered
#40 - info - Event 'on_object_inserted' triggered
#41 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#42 - info - Event 'on_after_object_save' triggered
#43 - info - Event 'on_before_object_deleted' triggered
#44 - info - Event 'on_object_deleted' triggered
#45 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#46 - info - Event 'on_before_object_validation' triggered
#47 - info - Event 'on_after_object_validation' triggered
#48 - info - Event 'on_before_object_save' triggered
#49 - info - Event 'on_before_object_insert' triggered
#50 - info - Event 'on_object_inserted' triggered
#51 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#52 - info - Event 'on_after_object_save' triggered
#53 - info - Event 'on_before_object_deleted' triggered
#54 - info - Event 'on_object_deleted' triggered
#55 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#56 - info - Event 'on_before_object_validation' triggered
#57 - info - Event 'on_after_object_validation' triggered
#58 - info - Event 'on_before_object_save' triggered
#59 - info - Event 'on_before_object_insert' triggered
#60 - info - Event 'on_object_inserted' triggered
#61 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#62 - info - Event 'on_after_object_save' triggered
#63 - info - Event 'on_before_object_validation' triggered
#64 - info - Event 'on_after_object_validation' triggered
#65 - info - Event 'on_before_object_save' triggered
#66 - info - Event 'on_before_object_insert' triggered
#67 - info - Event 'on_object_inserted' triggered
#68 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#69 - info - Event 'on_after_object_save' triggered
#70 - info - Event 'on_before_object_validation' triggered
#71 - info - Event 'on_after_object_validation' triggered
#72 - info - Event 'on_before_object_save' triggered
#73 - info - Event 'on_before_object_insert' triggered
#74 - info - Event 'on_object_inserted' triggered
#75 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#76 - info - Event 'on_after_object_save' triggered
#77 - info - Event 'on_before_object_validation' triggered
#78 - info - Event 'on_after_object_validation' triggered
#79 - info - Event 'on_before_object_save' triggered
#80 - info - Event 'on_before_object_update' triggered
#81 - info - Event 'on_object_updated' triggered
#82 - info - Event 'on_after_object_save' triggered
#83 - info - Event 'on_before_object_validation' triggered
#84 - info - Event 'on_after_object_validation' triggered
#85 - info - Event 'on_before_object_save' triggered
#86 - info - Event 'on_before_object_insert' triggered
#87 - info - Event 'on_object_inserted' triggered
#88 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#89 - info - Event 'on_after_object_save' triggered
#90 - info - Event 'on_before_object_validation' triggered
#91 - info - Event 'on_after_object_validation' triggered
#92 - info - Event 'on_before_object_save' triggered
#93 - info - Event 'on_before_object_update' triggered
#94 - info - Event 'on_object_updated' triggered
#95 - info - Event 'on_after_object_save' triggered
#96 - info - Event 'on_before_object_validation' triggered
#97 - info - Event 'on_after_object_validation' triggered
#98 - info - Event 'on_before_object_validation' triggered
#99 - info - Event 'on_after_object_validation' triggered
#100 - info - Event 'on_before_object_save' triggered
#101 - info - Event 'on_before_object_insert' triggered
#102 - info - Event 'on_object_inserted' triggered
#103 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#104 - info - Event 'on_after_object_save' triggered
#105 - info - Event 'on_before_object_validation' triggered
#106 - info - Event 'on_after_object_validation' triggered
#107 - info - Event 'on_before_object_validation' triggered
#108 - info - Event 'on_after_object_validation' triggered
#109 - info - Event 'on_before_object_save' triggered
#110 - info - Event 'on_before_object_insert' triggered
#111 - info - Event 'on_object_inserted' triggered
#112 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#113 - info - Event 'on_shutdown' triggered

======================================================

Logged on: Wednesday, 18-Dec-13 13:35:59 GMT
Memory usage: 133.01MB
Available groups: all, caching, sql, cache, routing, events

all:

#1 - error - [Notice] Use of undefined constant WORK_PATH - assumed 'WORK_PATH' (in /Build/Workspaces/QA/angie/vendor/vcard/init.php on 12)
#2 - error - [Notice] Constant ANGIE_PATH already defined (in /Build/Workspaces/QA/activeCollab/instance/config/config.test.php on 7)
#3 - error - [Notice] Constant DB_CHARSET already defined (in /Build/Workspaces/QA/activeCollab/instance/config/config.test.php on 15)
#4 - info - APC cache backend loaded
#5 - info - SET NAMES 'utf8'
#6 - info - SET SESSION character_set_database = 'utf8'
#7 - info - SHOW TABLES LIKE 'ac_config_options'
#8 - info - SHOW TABLES LIKE 'ac_config_options'
#9 - info - DROP TABLE `ac_config_options`
#10 - info - SHOW TABLES LIKE 'ac_config_option_values'
#11 - info - SHOW TABLES LIKE 'ac_config_option_values'
#12 - info - DROP TABLE `ac_config_option_values`
#13 - info - SHOW TABLES LIKE 'ac_modules'
#14 - info - SHOW TABLES LIKE 'ac_modules'
#15 - info - DROP TABLE `ac_modules`
#16 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#17 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#18 - info - DROP TABLE `ac_executed_model_migrations`
#19 - info - SHOW TABLES LIKE 'ac_update_history'
#20 - info - SHOW TABLES LIKE 'ac_update_history'
#21 - info - DROP TABLE `ac_update_history`
#22 - info - SHOW TABLES LIKE 'ac_access_logs'
#23 - info - SHOW TABLES LIKE 'ac_access_logs'
#24 - info - DROP TABLE `ac_access_logs`
#25 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#26 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#27 - info - DROP TABLE `ac_access_logs_archive`
#28 - info - SHOW TABLES LIKE 'ac_object_contexts'
#29 - info - SHOW TABLES LIKE 'ac_object_contexts'
#30 - info - DROP TABLE `ac_object_contexts`
#31 - info - SHOW TABLES LIKE 'ac_routing_cache'
#32 - info - SHOW TABLES LIKE 'ac_routing_cache'
#33 - info - DROP TABLE `ac_routing_cache`
#34 - info - SHOW TABLES LIKE 'ac_currencies'
#35 - info - SHOW TABLES LIKE 'ac_currencies'
#36 - info - DROP TABLE `ac_currencies`
#37 - info - SHOW TABLES LIKE 'ac_day_offs'
#38 - info - SHOW TABLES LIKE 'ac_day_offs'
#39 - info - DROP TABLE `ac_day_offs`
#40 - info - SHOW TABLES LIKE 'ac_languages'
#41 - info - SHOW TABLES LIKE 'ac_languages'
#42 - info - DROP TABLE `ac_languages`
#43 - info - SHOW TABLES LIKE 'ac_language_phrases'
#44 - info - SHOW TABLES LIKE 'ac_language_phrases'
#45 - info - DROP TABLE `ac_language_phrases`
#46 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#47 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#48 - info - DROP TABLE `ac_language_phrase_translations`
#49 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#50 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#51 - info - DROP TABLE `ac_api_client_subscriptions`
#52 - info - SHOW TABLES LIKE 'ac_users'
#53 - info - SHOW TABLES LIKE 'ac_users'
#54 - info - DROP TABLE `ac_users`
#55 - info - SHOW TABLES LIKE 'ac_user_addresses'
#56 - info - SHOW TABLES LIKE 'ac_user_addresses'
#57 - info - DROP TABLE `ac_user_addresses`
#58 - info - SHOW TABLES LIKE 'ac_user_sessions'
#59 - info - SHOW TABLES LIKE 'ac_user_sessions'
#60 - info - DROP TABLE `ac_user_sessions`
#61 - info - SHOW TABLES LIKE 'ac_security_logs'
#62 - info - SHOW TABLES LIKE 'ac_security_logs'
#63 - info - DROP TABLE `ac_security_logs`
#64 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#65 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#66 - info - DROP TABLE `ac_api_token_logs`
#67 - info - SHOW TABLES LIKE 'ac_activity_logs'
#68 - info - SHOW TABLES LIKE 'ac_activity_logs'
#69 - info - DROP TABLE `ac_activity_logs`
#70 - info - SHOW TABLES LIKE 'ac_data_filters'
#71 - info - SHOW TABLES LIKE 'ac_data_filters'
#72 - info - DROP TABLE `ac_data_filters`
#73 - info - SHOW TABLES LIKE 'ac_modification_logs'
#74 - info - SHOW TABLES LIKE 'ac_modification_logs'
#75 - info - DROP TABLE `ac_modification_logs`
#76 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#77 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#78 - info - DROP TABLE `ac_modification_log_values`
#79 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#80 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#81 - info - DROP TABLE `ac_mailing_activity_logs`
#82 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#83 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#84 - info - DROP TABLE `ac_outgoing_messages`
#85 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#86 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#87 - info - DROP TABLE `ac_incoming_mail_attachments`
#88 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#89 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#90 - info - DROP TABLE `ac_incoming_mail_filters`
#91 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#92 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#93 - info - DROP TABLE `ac_incoming_mailboxes`
#94 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#95 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#96 - info - DROP TABLE `ac_incoming_mails`
#97 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#98 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#99 - info - DROP TABLE `ac_homescreen_tabs`
#100 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#101 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#102 - info - DROP TABLE `ac_homescreen_widgets`
#103 - info - SHOW TABLES LIKE 'ac_announcements'
#104 - info - SHOW TABLES LIKE 'ac_announcements'
#105 - info - DROP TABLE `ac_announcements`
#106 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#107 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#108 - info - DROP TABLE `ac_announcement_target_ids`
#109 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#110 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#111 - info - DROP TABLE `ac_announcement_dismissals`
#112 - info - SHOW TABLES LIKE 'ac_attachments'
#113 - info - SHOW TABLES LIKE 'ac_attachments'
#114 - info - DROP TABLE `ac_attachments`
#115 - info - SHOW TABLES LIKE 'ac_notifications'
#116 - info - SHOW TABLES LIKE 'ac_notifications'
#117 - info - DROP TABLE `ac_notifications`
#118 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#119 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#120 - info - DROP TABLE `ac_notification_recipients`
#121 - info - SHOW TABLES LIKE 'ac_subscriptions'
#122 - info - SHOW TABLES LIKE 'ac_subscriptions'
#123 - info - DROP TABLE `ac_subscriptions`
#124 - info - SHOW TABLES LIKE 'ac_comments'
#125 - info - SHOW TABLES LIKE 'ac_comments'
#126 - info - DROP TABLE `ac_comments`
#127 - info - SHOW TABLES LIKE 'ac_categories'
#128 - info - SHOW TABLES LIKE 'ac_categories'
#129 - info - DROP TABLE `ac_categories`
#130 - info - SHOW TABLES LIKE 'ac_labels'
#131 - info - SHOW TABLES LIKE 'ac_labels'
#132 - info - DROP TABLE `ac_labels`
#133 - info - SHOW TABLES LIKE 'ac_assignments'
#134 - info - SHOW TABLES LIKE 'ac_assignments'
#135 - info - DROP TABLE `ac_assignments`
#136 - info - SHOW TABLES LIKE 'ac_subtasks'
#137 - info - SHOW TABLES LIKE 'ac_subtasks'
#138 - info - DROP TABLE `ac_subtasks`
#139 - info - SHOW TABLES LIKE 'ac_favorites'
#140 - info - SHOW TABLES LIKE 'ac_favorites'
#141 - info - DROP TABLE `ac_favorites`
#142 - info - SHOW TABLES LIKE 'ac_code_snippets'
#143 - info - SHOW TABLES LIKE 'ac_code_snippets'
#144 - info - DROP TABLE `ac_code_snippets`
#145 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#146 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#147 - info - DROP TABLE `ac_payment_gateways`
#148 - info - SHOW TABLES LIKE 'ac_payments'
#149 - info - SHOW TABLES LIKE 'ac_payments'
#150 - info - DROP TABLE `ac_payments`
#151 - info - SHOW TABLES LIKE 'ac_reminders'
#152 - info - SHOW TABLES LIKE 'ac_reminders'
#153 - info - DROP TABLE `ac_reminders`
#154 - info - SHOW TABLES LIKE 'ac_reminder_users'
#155 - info - SHOW TABLES LIKE 'ac_reminder_users'
#156 - info - DROP TABLE `ac_reminder_users`
#157 - info - SHOW TABLES LIKE 'ac_custom_fields'
#158 - info - SHOW TABLES LIKE 'ac_custom_fields'
#159 - info - DROP TABLE `ac_custom_fields`
#160 - info - SHOW TABLES LIKE 'ac_calendars'
#161 - info - SHOW TABLES LIKE 'ac_calendars'
#162 - info - DROP TABLE `ac_calendars`
#163 - info - SHOW TABLES LIKE 'ac_calendar_events'
#164 - info - SHOW TABLES LIKE 'ac_calendar_events'
#165 - info - DROP TABLE `ac_calendar_events`
#166 - info - SHOW TABLES LIKE 'ac_calendar_users'
#167 - info - SHOW TABLES LIKE 'ac_calendar_users'
#168 - info - DROP TABLE `ac_calendar_users`
#169 - info - SHOW TABLES LIKE 'ac_data_sources'
#170 - info - SHOW TABLES LIKE 'ac_data_sources'
#171 - info - DROP TABLE `ac_data_sources`
#172 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#173 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#174 - info - DROP TABLE `ac_data_source_mappings`
#175 - info - SHOW TABLES LIKE 'ac_companies'
#176 - info - SHOW TABLES LIKE 'ac_companies'
#177 - info - DROP TABLE `ac_companies`
#178 - info - SHOW TABLES LIKE 'ac_projects'
#179 - info - SHOW TABLES LIKE 'ac_projects'
#180 - info - DROP TABLE `ac_projects`
#181 - info - SHOW TABLES LIKE 'ac_project_roles'
#182 - info - SHOW TABLES LIKE 'ac_project_roles'
#183 - info - DROP TABLE `ac_project_roles`
#184 - info - SHOW TABLES LIKE 'ac_project_users'
#185 - info - SHOW TABLES LIKE 'ac_project_users'
#186 - info - DROP TABLE `ac_project_users`
#187 - info - SHOW TABLES LIKE 'ac_project_requests'
#188 - info - SHOW TABLES LIKE 'ac_project_requests'
#189 - info - DROP TABLE `ac_project_requests`
#190 - info - SHOW TABLES LIKE 'ac_project_objects'
#191 - info - SHOW TABLES LIKE 'ac_project_objects'
#192 - info - DROP TABLE `ac_project_objects`
#193 - info - SHOW TABLES LIKE 'ac_project_templates'
#194 - info - SHOW TABLES LIKE 'ac_project_templates'
#195 - info - DROP TABLE `ac_project_templates`
#196 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#197 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#198 - info - DROP TABLE `ac_project_object_templates`
#199 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#200 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#201 - info - DROP TABLE `ac_shared_object_profiles`
#202 - info - SHOW TABLES LIKE 'ac_file_versions'
#203 - info - SHOW TABLES LIKE 'ac_file_versions'
#204 - info - DROP TABLE `ac_file_versions`
#205 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#206 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#207 - info - DROP TABLE `ac_text_document_versions`
#208 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#209 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#210 - info - DROP TABLE `ac_public_task_forms`
#211 - info - SHOW TABLES LIKE 'ac_related_tasks'
#212 - info - SHOW TABLES LIKE 'ac_related_tasks'
#213 - info - DROP TABLE `ac_related_tasks`
#214 - info - SHOW TABLES LIKE 'ac_task_segments'
#215 - info - SHOW TABLES LIKE 'ac_task_segments'
#216 - info - DROP TABLE `ac_task_segments`
#217 - info - SHOW TABLES LIKE 'ac_status_updates'
#218 - info - SHOW TABLES LIKE 'ac_status_updates'
#219 - info - DROP TABLE `ac_status_updates`
#220 - info - SHOW TABLES LIKE 'ac_documents'
#221 - info - SHOW TABLES LIKE 'ac_documents'
#222 - info - DROP TABLE `ac_documents`
#223 - info - SHOW TABLES LIKE 'ac_time_records'
#224 - info - SHOW TABLES LIKE 'ac_time_records'
#225 - info - DROP TABLE `ac_time_records`
#226 - info - SHOW TABLES LIKE 'ac_job_types'
#227 - info - SHOW TABLES LIKE 'ac_job_types'
#228 - info - DROP TABLE `ac_job_types`
#229 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#230 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#231 - info - DROP TABLE `ac_project_hourly_rates`
#232 - info - SHOW TABLES LIKE 'ac_expenses'
#233 - info - SHOW TABLES LIKE 'ac_expenses'
#234 - info - DROP TABLE `ac_expenses`
#235 - info - SHOW TABLES LIKE 'ac_expense_categories'
#236 - info - SHOW TABLES LIKE 'ac_expense_categories'
#237 - info - DROP TABLE `ac_expense_categories`
#238 - info - SHOW TABLES LIKE 'ac_estimates'
#239 - info - SHOW TABLES LIKE 'ac_estimates'
#240 - info - DROP TABLE `ac_estimates`
#241 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#242 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#243 - info - DROP TABLE `ac_invoice_objects`
#244 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#245 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#246 - info - DROP TABLE `ac_invoice_object_items`
#247 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#248 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#249 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#250 - info - SHOW TABLES LIKE 'ac_tax_rates'
#251 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#252 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#253 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#254 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#255 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#256 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#257 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#258 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#259 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#260 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#261 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#262 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#263 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#264 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#265 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#266 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#267 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#268 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#269 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#270 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#271 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#272 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#273 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#274 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#275 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#276 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#277 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#278 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#279 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#280 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#281 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#282 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#283 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#284 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#285 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#286 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#287 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#288 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#289 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#290 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#291 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#292 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#293 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#294 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#295 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#296 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#297 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#298 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#299 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#300 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#301 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#302 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#303 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#304 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#305 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#306 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#307 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#308 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#309 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#310 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#311 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#312 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#313 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#314 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#315 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#316 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#317 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#318 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#319 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#320 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#321 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#322 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#323 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#324 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#325 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#326 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#327 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#328 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#329 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#330 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#331 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#332 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#333 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#334 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#335 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#336 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#337 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#338 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#345 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#346 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#347 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#348 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#349 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#350 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#374 - info - BEGIN WORK
#375 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#376 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#377 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#378 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#379 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#380 - info - COMMIT
#381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#386 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#387 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#388 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#390 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#408 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#409 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#410 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#411 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#412 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#413 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#414 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#415 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#416 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#417 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#418 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#419 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#420 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#421 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#422 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#423 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#424 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#425 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#429 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373656;')
#435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#447 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#448 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#449 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#451 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#459 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#460 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#474 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#475 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#476 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#477 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#478 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#479 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#480 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#481 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#482 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:16', '1')
#483 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#484 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#485 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#486 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#488 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#490 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#496 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#497 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#498 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#499 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#501 - info - BEGIN WORK
#502 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#503 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#504 - info - COMMIT
#505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#506 - info - BEGIN WORK
#507 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#508 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#509 - info - COMMIT
#510 - info - BEGIN WORK
#511 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#512 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#513 - info - COMMIT
#514 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#515 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#516 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#520 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#521 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#522 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#524 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#545 - info - SHOW TABLES LIKE 'ac_job_types'
#546 - info - SELECT COUNT(id) FROM ac_job_types
#547 - info - SHOW TABLES LIKE 'ac_tax_rates'
#548 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#549 - info - BEGIN WORK
#550 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#551 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#552 - info - COMMIT
#553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#554 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#555 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#556 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#557 - info - SELECT COUNT(name) FROM ac_modules
#558 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#559 - info - SELECT name FROM ac_modules
#560 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#561 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#562 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#563 - info - Cache miss 'installed_non_system_modues'
#564 - info - SELECT name, is_enabled FROM ac_modules WHERE name != 'system' ORDER BY position
#565 - info - Cache hit 'installed_non_system_modues'
#566 - info - Cache hit 'installed_non_system_modues'
#567 - info - Cache hit 'installed_non_system_modues'
#568 - info - Cache hit 'installed_non_system_modues'
#569 - info - Cache hit 'installed_non_system_modues'
#570 - info - Cache hit 'installed_non_system_modues'
#571 - info - Cache hit 'installed_non_system_modues'
#572 - info - Cache hit 'installed_non_system_modues'
#573 - info - Cache hit 'installed_non_system_modues'
#574 - info - Cache miss 'root_url'
#575 - info - Compiling match file. Routes defined: 1538
#576 - info - Compiled match file created at '/Build/Workspaces/QA/activeCollab/instance/compile/_router_match_187b59b67cf2809801aa211c6aa944555ee4a382.php'
#577 - info - Compiling match file. Routes defined: 1538
#578 - info - Compiled match file created at '/Build/Workspaces/QA/activeCollab/instance/compile/_router_assemble_187b59b67cf2809801aa211c6aa944555ee4a382.php'
#579 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#580 - info - File system cache backend loaded
#581 - info - BEGIN WORK
#582 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#583 - info - Event 'on_before_object_validation' triggered
#584 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#585 - info - Event 'on_after_object_validation' triggered
#586 - info - Event 'on_before_object_save' triggered
#587 - info - Event 'on_before_object_insert' triggered
#588 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'File', '2013-12-18 13:34:16')
#589 - info - Event 'on_object_inserted' triggered
#590 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#591 - info - Event 'on_after_object_save' triggered
#592 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#593 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#594 - info - COMMIT
#595 - info - Cache miss 'models/test_data_objects/1'
#596 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#597 - info - Cache hit 'models/test_data_objects/1'
#598 - info - BEGIN WORK
#599 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#600 - info - Event 'on_before_object_validation' triggered
#601 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'New name') AND (id <> '1')
#602 - info - Event 'on_after_object_validation' triggered
#603 - info - Event 'on_before_object_save' triggered
#604 - info - Event 'on_before_object_update' triggered
#605 - info - UPDATE ac_test_data_objects SET name = 'New name', updated_on = '2013-12-18 13:34:16' WHERE id = '1'
#606 - info - Event 'on_object_updated' triggered
#607 - info - Event 'on_after_object_save' triggered
#608 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#609 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#610 - info - COMMIT
#611 - info - Cache miss 'models/test_data_objects/1'
#612 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#613 - info - BEGIN WORK
#614 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#615 - info - Event 'on_before_object_deleted' triggered
#616 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#617 - info - Event 'on_object_deleted' triggered
#618 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#619 - info - COMMIT
#620 - info - DROP TABLE IF EXISTS ac_test_data_objects
#621 - info - File system cache backend loaded
#622 - info - Cache miss 'something_to_get'
#623 - info - Cache hit 'something_to_get'
#624 - info - File system cache backend loaded
#625 - info - Cache miss 'something_to_get'
#626 - info - SHOW TABLES LIKE 'ac_config_options'
#627 - info - SHOW TABLES LIKE 'ac_config_options'
#628 - info - DROP TABLE `ac_config_options`
#629 - info - SHOW TABLES LIKE 'ac_config_option_values'
#630 - info - SHOW TABLES LIKE 'ac_config_option_values'
#631 - info - DROP TABLE `ac_config_option_values`
#632 - info - SHOW TABLES LIKE 'ac_modules'
#633 - info - SHOW TABLES LIKE 'ac_modules'
#634 - info - DROP TABLE `ac_modules`
#635 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#636 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#637 - info - DROP TABLE `ac_executed_model_migrations`
#638 - info - SHOW TABLES LIKE 'ac_update_history'
#639 - info - SHOW TABLES LIKE 'ac_update_history'
#640 - info - DROP TABLE `ac_update_history`
#641 - info - SHOW TABLES LIKE 'ac_access_logs'
#642 - info - SHOW TABLES LIKE 'ac_access_logs'
#643 - info - DROP TABLE `ac_access_logs`
#644 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#645 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#646 - info - DROP TABLE `ac_access_logs_archive`
#647 - info - SHOW TABLES LIKE 'ac_object_contexts'
#648 - info - SHOW TABLES LIKE 'ac_object_contexts'
#649 - info - DROP TABLE `ac_object_contexts`
#650 - info - SHOW TABLES LIKE 'ac_routing_cache'
#651 - info - SHOW TABLES LIKE 'ac_routing_cache'
#652 - info - DROP TABLE `ac_routing_cache`
#653 - info - SHOW TABLES LIKE 'ac_currencies'
#654 - info - SHOW TABLES LIKE 'ac_currencies'
#655 - info - DROP TABLE `ac_currencies`
#656 - info - SHOW TABLES LIKE 'ac_day_offs'
#657 - info - SHOW TABLES LIKE 'ac_day_offs'
#658 - info - DROP TABLE `ac_day_offs`
#659 - info - SHOW TABLES LIKE 'ac_languages'
#660 - info - SHOW TABLES LIKE 'ac_languages'
#661 - info - DROP TABLE `ac_languages`
#662 - info - SHOW TABLES LIKE 'ac_language_phrases'
#663 - info - SHOW TABLES LIKE 'ac_language_phrases'
#664 - info - DROP TABLE `ac_language_phrases`
#665 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#666 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#667 - info - DROP TABLE `ac_language_phrase_translations`
#668 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#669 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#670 - info - DROP TABLE `ac_api_client_subscriptions`
#671 - info - SHOW TABLES LIKE 'ac_users'
#672 - info - SHOW TABLES LIKE 'ac_users'
#673 - info - DROP TABLE `ac_users`
#674 - info - SHOW TABLES LIKE 'ac_user_addresses'
#675 - info - SHOW TABLES LIKE 'ac_user_addresses'
#676 - info - DROP TABLE `ac_user_addresses`
#677 - info - SHOW TABLES LIKE 'ac_user_sessions'
#678 - info - SHOW TABLES LIKE 'ac_user_sessions'
#679 - info - DROP TABLE `ac_user_sessions`
#680 - info - SHOW TABLES LIKE 'ac_security_logs'
#681 - info - SHOW TABLES LIKE 'ac_security_logs'
#682 - info - DROP TABLE `ac_security_logs`
#683 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#684 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#685 - info - DROP TABLE `ac_api_token_logs`
#686 - info - SHOW TABLES LIKE 'ac_activity_logs'
#687 - info - SHOW TABLES LIKE 'ac_activity_logs'
#688 - info - DROP TABLE `ac_activity_logs`
#689 - info - SHOW TABLES LIKE 'ac_data_filters'
#690 - info - SHOW TABLES LIKE 'ac_data_filters'
#691 - info - DROP TABLE `ac_data_filters`
#692 - info - SHOW TABLES LIKE 'ac_modification_logs'
#693 - info - SHOW TABLES LIKE 'ac_modification_logs'
#694 - info - DROP TABLE `ac_modification_logs`
#695 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#696 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#697 - info - DROP TABLE `ac_modification_log_values`
#698 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#699 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#700 - info - DROP TABLE `ac_mailing_activity_logs`
#701 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#702 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#703 - info - DROP TABLE `ac_outgoing_messages`
#704 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#705 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#706 - info - DROP TABLE `ac_incoming_mail_attachments`
#707 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#708 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#709 - info - DROP TABLE `ac_incoming_mail_filters`
#710 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#711 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#712 - info - DROP TABLE `ac_incoming_mailboxes`
#713 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#714 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#715 - info - DROP TABLE `ac_incoming_mails`
#716 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#717 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#718 - info - DROP TABLE `ac_homescreen_tabs`
#719 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#720 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#721 - info - DROP TABLE `ac_homescreen_widgets`
#722 - info - SHOW TABLES LIKE 'ac_announcements'
#723 - info - SHOW TABLES LIKE 'ac_announcements'
#724 - info - DROP TABLE `ac_announcements`
#725 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#726 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#727 - info - DROP TABLE `ac_announcement_target_ids`
#728 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#729 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#730 - info - DROP TABLE `ac_announcement_dismissals`
#731 - info - SHOW TABLES LIKE 'ac_attachments'
#732 - info - SHOW TABLES LIKE 'ac_attachments'
#733 - info - DROP TABLE `ac_attachments`
#734 - info - SHOW TABLES LIKE 'ac_notifications'
#735 - info - SHOW TABLES LIKE 'ac_notifications'
#736 - info - DROP TABLE `ac_notifications`
#737 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#738 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#739 - info - DROP TABLE `ac_notification_recipients`
#740 - info - SHOW TABLES LIKE 'ac_subscriptions'
#741 - info - SHOW TABLES LIKE 'ac_subscriptions'
#742 - info - DROP TABLE `ac_subscriptions`
#743 - info - SHOW TABLES LIKE 'ac_comments'
#744 - info - SHOW TABLES LIKE 'ac_comments'
#745 - info - DROP TABLE `ac_comments`
#746 - info - SHOW TABLES LIKE 'ac_categories'
#747 - info - SHOW TABLES LIKE 'ac_categories'
#748 - info - DROP TABLE `ac_categories`
#749 - info - SHOW TABLES LIKE 'ac_labels'
#750 - info - SHOW TABLES LIKE 'ac_labels'
#751 - info - DROP TABLE `ac_labels`
#752 - info - SHOW TABLES LIKE 'ac_assignments'
#753 - info - SHOW TABLES LIKE 'ac_assignments'
#754 - info - DROP TABLE `ac_assignments`
#755 - info - SHOW TABLES LIKE 'ac_subtasks'
#756 - info - SHOW TABLES LIKE 'ac_subtasks'
#757 - info - DROP TABLE `ac_subtasks`
#758 - info - SHOW TABLES LIKE 'ac_favorites'
#759 - info - SHOW TABLES LIKE 'ac_favorites'
#760 - info - DROP TABLE `ac_favorites`
#761 - info - SHOW TABLES LIKE 'ac_code_snippets'
#762 - info - SHOW TABLES LIKE 'ac_code_snippets'
#763 - info - DROP TABLE `ac_code_snippets`
#764 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#765 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#766 - info - DROP TABLE `ac_payment_gateways`
#767 - info - SHOW TABLES LIKE 'ac_payments'
#768 - info - SHOW TABLES LIKE 'ac_payments'
#769 - info - DROP TABLE `ac_payments`
#770 - info - SHOW TABLES LIKE 'ac_reminders'
#771 - info - SHOW TABLES LIKE 'ac_reminders'
#772 - info - DROP TABLE `ac_reminders`
#773 - info - SHOW TABLES LIKE 'ac_reminder_users'
#774 - info - SHOW TABLES LIKE 'ac_reminder_users'
#775 - info - DROP TABLE `ac_reminder_users`
#776 - info - SHOW TABLES LIKE 'ac_custom_fields'
#777 - info - SHOW TABLES LIKE 'ac_custom_fields'
#778 - info - DROP TABLE `ac_custom_fields`
#779 - info - SHOW TABLES LIKE 'ac_calendars'
#780 - info - SHOW TABLES LIKE 'ac_calendars'
#781 - info - DROP TABLE `ac_calendars`
#782 - info - SHOW TABLES LIKE 'ac_calendar_events'
#783 - info - SHOW TABLES LIKE 'ac_calendar_events'
#784 - info - DROP TABLE `ac_calendar_events`
#785 - info - SHOW TABLES LIKE 'ac_calendar_users'
#786 - info - SHOW TABLES LIKE 'ac_calendar_users'
#787 - info - DROP TABLE `ac_calendar_users`
#788 - info - SHOW TABLES LIKE 'ac_data_sources'
#789 - info - SHOW TABLES LIKE 'ac_data_sources'
#790 - info - DROP TABLE `ac_data_sources`
#791 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#792 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#793 - info - DROP TABLE `ac_data_source_mappings`
#794 - info - SHOW TABLES LIKE 'ac_companies'
#795 - info - SHOW TABLES LIKE 'ac_companies'
#796 - info - DROP TABLE `ac_companies`
#797 - info - SHOW TABLES LIKE 'ac_projects'
#798 - info - SHOW TABLES LIKE 'ac_projects'
#799 - info - DROP TABLE `ac_projects`
#800 - info - SHOW TABLES LIKE 'ac_project_roles'
#801 - info - SHOW TABLES LIKE 'ac_project_roles'
#802 - info - DROP TABLE `ac_project_roles`
#803 - info - SHOW TABLES LIKE 'ac_project_users'
#804 - info - SHOW TABLES LIKE 'ac_project_users'
#805 - info - DROP TABLE `ac_project_users`
#806 - info - SHOW TABLES LIKE 'ac_project_requests'
#807 - info - SHOW TABLES LIKE 'ac_project_requests'
#808 - info - DROP TABLE `ac_project_requests`
#809 - info - SHOW TABLES LIKE 'ac_project_objects'
#810 - info - SHOW TABLES LIKE 'ac_project_objects'
#811 - info - DROP TABLE `ac_project_objects`
#812 - info - SHOW TABLES LIKE 'ac_project_templates'
#813 - info - SHOW TABLES LIKE 'ac_project_templates'
#814 - info - DROP TABLE `ac_project_templates`
#815 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#816 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#817 - info - DROP TABLE `ac_project_object_templates`
#818 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#819 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#820 - info - DROP TABLE `ac_shared_object_profiles`
#821 - info - SHOW TABLES LIKE 'ac_file_versions'
#822 - info - SHOW TABLES LIKE 'ac_file_versions'
#823 - info - DROP TABLE `ac_file_versions`
#824 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#825 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#826 - info - DROP TABLE `ac_text_document_versions`
#827 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#828 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#829 - info - DROP TABLE `ac_public_task_forms`
#830 - info - SHOW TABLES LIKE 'ac_related_tasks'
#831 - info - SHOW TABLES LIKE 'ac_related_tasks'
#832 - info - DROP TABLE `ac_related_tasks`
#833 - info - SHOW TABLES LIKE 'ac_task_segments'
#834 - info - SHOW TABLES LIKE 'ac_task_segments'
#835 - info - DROP TABLE `ac_task_segments`
#836 - info - SHOW TABLES LIKE 'ac_status_updates'
#837 - info - SHOW TABLES LIKE 'ac_status_updates'
#838 - info - DROP TABLE `ac_status_updates`
#839 - info - SHOW TABLES LIKE 'ac_documents'
#840 - info - SHOW TABLES LIKE 'ac_documents'
#841 - info - DROP TABLE `ac_documents`
#842 - info - SHOW TABLES LIKE 'ac_time_records'
#843 - info - SHOW TABLES LIKE 'ac_time_records'
#844 - info - DROP TABLE `ac_time_records`
#845 - info - SHOW TABLES LIKE 'ac_job_types'
#846 - info - SHOW TABLES LIKE 'ac_job_types'
#847 - info - DROP TABLE `ac_job_types`
#848 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#849 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#850 - info - DROP TABLE `ac_project_hourly_rates`
#851 - info - SHOW TABLES LIKE 'ac_expenses'
#852 - info - SHOW TABLES LIKE 'ac_expenses'
#853 - info - DROP TABLE `ac_expenses`
#854 - info - SHOW TABLES LIKE 'ac_expense_categories'
#855 - info - SHOW TABLES LIKE 'ac_expense_categories'
#856 - info - DROP TABLE `ac_expense_categories`
#857 - info - SHOW TABLES LIKE 'ac_estimates'
#858 - info - SHOW TABLES LIKE 'ac_estimates'
#859 - info - DROP TABLE `ac_estimates`
#860 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#861 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#862 - info - DROP TABLE `ac_invoice_objects`
#863 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#864 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#865 - info - DROP TABLE `ac_invoice_object_items`
#866 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#867 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#868 - info - DROP TABLE `ac_invoice_item_templates`
#869 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#870 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#871 - info - DROP TABLE `ac_invoice_note_templates`
#872 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#873 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#874 - info - DROP TABLE `ac_invoice_related_records`
#875 - info - SHOW TABLES LIKE 'ac_tax_rates'
#876 - info - SHOW TABLES LIKE 'ac_tax_rates'
#877 - info - DROP TABLE `ac_tax_rates`
#878 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#879 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#880 - info - DROP TABLE `ac_notebook_pages`
#881 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#882 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#883 - info - DROP TABLE `ac_notebook_page_versions`
#884 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#885 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#886 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#887 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#888 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#889 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#890 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#891 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#892 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#893 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#894 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#895 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#896 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#897 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#898 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#899 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#900 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#901 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#902 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#903 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#904 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#905 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#906 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#907 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#908 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#909 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#910 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#911 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#912 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#913 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#914 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#915 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#916 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#917 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#918 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#919 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#920 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#921 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#922 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#923 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#924 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#925 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#926 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#927 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#928 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#929 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#930 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#931 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#932 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#933 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#934 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#935 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#936 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#937 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#938 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#939 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#940 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#941 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#942 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#943 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#944 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#945 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#946 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#947 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#948 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#949 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#950 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#951 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#952 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#953 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#954 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#955 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#956 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#957 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#958 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#959 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#960 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#961 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#962 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#963 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#964 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#965 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#966 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#967 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#968 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#969 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1005 - info - BEGIN WORK
#1006 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1007 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1008 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1009 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1010 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1011 - info - COMMIT
#1012 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1013 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1014 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1015 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1016 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1017 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1018 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1019 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1020 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1035 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1036 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1038 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1039 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1040 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1041 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1042 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1043 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1044 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1045 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1046 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1047 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1048 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1049 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1050 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1051 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1052 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1053 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1054 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1056 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1058 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1059 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373657;')
#1066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1078 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1079 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1080 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1082 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1083 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1084 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1085 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1086 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1087 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1088 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1090 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1091 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1093 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1094 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1095 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1096 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1098 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1100 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1101 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1102 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1103 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1105 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1106 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1107 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1108 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1109 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1110 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1111 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1112 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1113 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:17', '1')
#1114 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1115 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1116 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1117 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1119 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1121 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1122 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1124 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1125 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1126 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1127 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1128 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1129 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1130 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1132 - info - BEGIN WORK
#1133 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1134 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1135 - info - COMMIT
#1136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1137 - info - BEGIN WORK
#1138 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1139 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1140 - info - COMMIT
#1141 - info - BEGIN WORK
#1142 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1143 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1144 - info - COMMIT
#1145 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1146 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1147 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1148 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1149 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1151 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1153 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1154 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1155 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1156 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1157 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1158 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1159 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1160 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1162 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1163 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1164 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1165 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1166 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1167 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1168 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1169 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1170 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1171 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1175 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1176 - info - SHOW TABLES LIKE 'ac_job_types'
#1177 - info - SELECT COUNT(id) FROM ac_job_types
#1178 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1179 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1180 - info - BEGIN WORK
#1181 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1182 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1183 - info - COMMIT
#1184 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1185 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1186 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1187 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1188 - info - SELECT COUNT(name) FROM ac_modules
#1189 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1190 - info - SELECT name FROM ac_modules
#1191 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1192 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1193 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1194 - info - Cache miss 'config_values'
#1195 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1196 - info - Cache hit 'config_values'
#1197 - info - SELECT value FROM ac_config_options WHERE name = 'search_provider'
#1198 - info - Event 'on_search_indices' triggered
#1199 - info - Callback 'help_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1200 - info - Callback 'authentication_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1201 - info - Callback 'system_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1202 - info - Callback 'documents_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#1203 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1204 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1205 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1206 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1207 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1208 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1209 - info - BEGIN WORK
#1210 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1211 - info - Cache hit 'config_values'
#1212 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1213 - info - UPDATE ac_config_options SET value = 'i:1387373657;' WHERE name = 'search_initialized_on'
#1214 - info - COMMIT
#1215 - info - Cache hit 'config_values'
#1216 - info - Cache miss 'models/users/1'
#1217 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1218 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1219 - info - SHOW TABLES LIKE 'ac_%'
#1220 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1221 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1222 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1223 - info - SHOW TABLES LIKE 'ac_%'
#1224 - info - DROP TABLE ac_test_table
#1225 - info - SHOW TABLES LIKE 'ac_config_options'
#1226 - info - SHOW TABLES LIKE 'ac_config_options'
#1227 - info - DROP TABLE `ac_config_options`
#1228 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1229 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1230 - info - DROP TABLE `ac_config_option_values`
#1231 - info - SHOW TABLES LIKE 'ac_modules'
#1232 - info - SHOW TABLES LIKE 'ac_modules'
#1233 - info - DROP TABLE `ac_modules`
#1234 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1235 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1236 - info - DROP TABLE `ac_executed_model_migrations`
#1237 - info - SHOW TABLES LIKE 'ac_update_history'
#1238 - info - SHOW TABLES LIKE 'ac_update_history'
#1239 - info - DROP TABLE `ac_update_history`
#1240 - info - SHOW TABLES LIKE 'ac_access_logs'
#1241 - info - SHOW TABLES LIKE 'ac_access_logs'
#1242 - info - DROP TABLE `ac_access_logs`
#1243 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1244 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1245 - info - DROP TABLE `ac_access_logs_archive`
#1246 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1247 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1248 - info - DROP TABLE `ac_object_contexts`
#1249 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1250 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1251 - info - DROP TABLE `ac_routing_cache`
#1252 - info - SHOW TABLES LIKE 'ac_currencies'
#1253 - info - SHOW TABLES LIKE 'ac_currencies'
#1254 - info - DROP TABLE `ac_currencies`
#1255 - info - SHOW TABLES LIKE 'ac_day_offs'
#1256 - info - SHOW TABLES LIKE 'ac_day_offs'
#1257 - info - DROP TABLE `ac_day_offs`
#1258 - info - SHOW TABLES LIKE 'ac_languages'
#1259 - info - SHOW TABLES LIKE 'ac_languages'
#1260 - info - DROP TABLE `ac_languages`
#1261 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1262 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1263 - info - DROP TABLE `ac_language_phrases`
#1264 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1265 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1266 - info - DROP TABLE `ac_language_phrase_translations`
#1267 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1268 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1269 - info - DROP TABLE `ac_api_client_subscriptions`
#1270 - info - SHOW TABLES LIKE 'ac_users'
#1271 - info - SHOW TABLES LIKE 'ac_users'
#1272 - info - DROP TABLE `ac_users`
#1273 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1274 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1275 - info - DROP TABLE `ac_user_addresses`
#1276 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1277 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1278 - info - DROP TABLE `ac_user_sessions`
#1279 - info - SHOW TABLES LIKE 'ac_security_logs'
#1280 - info - SHOW TABLES LIKE 'ac_security_logs'
#1281 - info - DROP TABLE `ac_security_logs`
#1282 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1283 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1284 - info - DROP TABLE `ac_api_token_logs`
#1285 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1286 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1287 - info - DROP TABLE `ac_activity_logs`
#1288 - info - SHOW TABLES LIKE 'ac_data_filters'
#1289 - info - SHOW TABLES LIKE 'ac_data_filters'
#1290 - info - DROP TABLE `ac_data_filters`
#1291 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1292 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1293 - info - DROP TABLE `ac_modification_logs`
#1294 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1295 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1296 - info - DROP TABLE `ac_modification_log_values`
#1297 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1298 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1299 - info - DROP TABLE `ac_mailing_activity_logs`
#1300 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1301 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1302 - info - DROP TABLE `ac_outgoing_messages`
#1303 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1304 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1305 - info - DROP TABLE `ac_incoming_mail_attachments`
#1306 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1307 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1308 - info - DROP TABLE `ac_incoming_mail_filters`
#1309 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1310 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1311 - info - DROP TABLE `ac_incoming_mailboxes`
#1312 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1313 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1314 - info - DROP TABLE `ac_incoming_mails`
#1315 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1316 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1317 - info - DROP TABLE `ac_homescreen_tabs`
#1318 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1319 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1320 - info - DROP TABLE `ac_homescreen_widgets`
#1321 - info - SHOW TABLES LIKE 'ac_announcements'
#1322 - info - SHOW TABLES LIKE 'ac_announcements'
#1323 - info - DROP TABLE `ac_announcements`
#1324 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1325 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1326 - info - DROP TABLE `ac_announcement_target_ids`
#1327 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1328 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1329 - info - DROP TABLE `ac_announcement_dismissals`
#1330 - info - SHOW TABLES LIKE 'ac_attachments'
#1331 - info - SHOW TABLES LIKE 'ac_attachments'
#1332 - info - DROP TABLE `ac_attachments`
#1333 - info - SHOW TABLES LIKE 'ac_notifications'
#1334 - info - SHOW TABLES LIKE 'ac_notifications'
#1335 - info - DROP TABLE `ac_notifications`
#1336 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1337 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1338 - info - DROP TABLE `ac_notification_recipients`
#1339 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1340 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1341 - info - DROP TABLE `ac_subscriptions`
#1342 - info - SHOW TABLES LIKE 'ac_comments'
#1343 - info - SHOW TABLES LIKE 'ac_comments'
#1344 - info - DROP TABLE `ac_comments`
#1345 - info - SHOW TABLES LIKE 'ac_categories'
#1346 - info - SHOW TABLES LIKE 'ac_categories'
#1347 - info - DROP TABLE `ac_categories`
#1348 - info - SHOW TABLES LIKE 'ac_labels'
#1349 - info - SHOW TABLES LIKE 'ac_labels'
#1350 - info - DROP TABLE `ac_labels`
#1351 - info - SHOW TABLES LIKE 'ac_assignments'
#1352 - info - SHOW TABLES LIKE 'ac_assignments'
#1353 - info - DROP TABLE `ac_assignments`
#1354 - info - SHOW TABLES LIKE 'ac_subtasks'
#1355 - info - SHOW TABLES LIKE 'ac_subtasks'
#1356 - info - DROP TABLE `ac_subtasks`
#1357 - info - SHOW TABLES LIKE 'ac_favorites'
#1358 - info - SHOW TABLES LIKE 'ac_favorites'
#1359 - info - DROP TABLE `ac_favorites`
#1360 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1361 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1362 - info - DROP TABLE `ac_code_snippets`
#1363 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1364 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1365 - info - DROP TABLE `ac_payment_gateways`
#1366 - info - SHOW TABLES LIKE 'ac_payments'
#1367 - info - SHOW TABLES LIKE 'ac_payments'
#1368 - info - DROP TABLE `ac_payments`
#1369 - info - SHOW TABLES LIKE 'ac_reminders'
#1370 - info - SHOW TABLES LIKE 'ac_reminders'
#1371 - info - DROP TABLE `ac_reminders`
#1372 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1373 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1374 - info - DROP TABLE `ac_reminder_users`
#1375 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1376 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1377 - info - DROP TABLE `ac_custom_fields`
#1378 - info - SHOW TABLES LIKE 'ac_calendars'
#1379 - info - SHOW TABLES LIKE 'ac_calendars'
#1380 - info - DROP TABLE `ac_calendars`
#1381 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1382 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1383 - info - DROP TABLE `ac_calendar_events`
#1384 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1385 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1386 - info - DROP TABLE `ac_calendar_users`
#1387 - info - SHOW TABLES LIKE 'ac_data_sources'
#1388 - info - SHOW TABLES LIKE 'ac_data_sources'
#1389 - info - DROP TABLE `ac_data_sources`
#1390 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1391 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1392 - info - DROP TABLE `ac_data_source_mappings`
#1393 - info - SHOW TABLES LIKE 'ac_companies'
#1394 - info - SHOW TABLES LIKE 'ac_companies'
#1395 - info - DROP TABLE `ac_companies`
#1396 - info - SHOW TABLES LIKE 'ac_projects'
#1397 - info - SHOW TABLES LIKE 'ac_projects'
#1398 - info - DROP TABLE `ac_projects`
#1399 - info - SHOW TABLES LIKE 'ac_project_roles'
#1400 - info - SHOW TABLES LIKE 'ac_project_roles'
#1401 - info - DROP TABLE `ac_project_roles`
#1402 - info - SHOW TABLES LIKE 'ac_project_users'
#1403 - info - SHOW TABLES LIKE 'ac_project_users'
#1404 - info - DROP TABLE `ac_project_users`
#1405 - info - SHOW TABLES LIKE 'ac_project_requests'
#1406 - info - SHOW TABLES LIKE 'ac_project_requests'
#1407 - info - DROP TABLE `ac_project_requests`
#1408 - info - SHOW TABLES LIKE 'ac_project_objects'
#1409 - info - SHOW TABLES LIKE 'ac_project_objects'
#1410 - info - DROP TABLE `ac_project_objects`
#1411 - info - SHOW TABLES LIKE 'ac_project_templates'
#1412 - info - SHOW TABLES LIKE 'ac_project_templates'
#1413 - info - DROP TABLE `ac_project_templates`
#1414 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1415 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1416 - info - DROP TABLE `ac_project_object_templates`
#1417 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1418 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1419 - info - DROP TABLE `ac_shared_object_profiles`
#1420 - info - SHOW TABLES LIKE 'ac_file_versions'
#1421 - info - SHOW TABLES LIKE 'ac_file_versions'
#1422 - info - DROP TABLE `ac_file_versions`
#1423 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1424 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1425 - info - DROP TABLE `ac_text_document_versions`
#1426 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1427 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1428 - info - DROP TABLE `ac_public_task_forms`
#1429 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1430 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1431 - info - DROP TABLE `ac_related_tasks`
#1432 - info - SHOW TABLES LIKE 'ac_task_segments'
#1433 - info - SHOW TABLES LIKE 'ac_task_segments'
#1434 - info - DROP TABLE `ac_task_segments`
#1435 - info - SHOW TABLES LIKE 'ac_status_updates'
#1436 - info - SHOW TABLES LIKE 'ac_status_updates'
#1437 - info - DROP TABLE `ac_status_updates`
#1438 - info - SHOW TABLES LIKE 'ac_documents'
#1439 - info - SHOW TABLES LIKE 'ac_documents'
#1440 - info - DROP TABLE `ac_documents`
#1441 - info - SHOW TABLES LIKE 'ac_time_records'
#1442 - info - SHOW TABLES LIKE 'ac_time_records'
#1443 - info - DROP TABLE `ac_time_records`
#1444 - info - SHOW TABLES LIKE 'ac_job_types'
#1445 - info - SHOW TABLES LIKE 'ac_job_types'
#1446 - info - DROP TABLE `ac_job_types`
#1447 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1448 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1449 - info - DROP TABLE `ac_project_hourly_rates`
#1450 - info - SHOW TABLES LIKE 'ac_expenses'
#1451 - info - SHOW TABLES LIKE 'ac_expenses'
#1452 - info - DROP TABLE `ac_expenses`
#1453 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1454 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1455 - info - DROP TABLE `ac_expense_categories`
#1456 - info - SHOW TABLES LIKE 'ac_estimates'
#1457 - info - SHOW TABLES LIKE 'ac_estimates'
#1458 - info - DROP TABLE `ac_estimates`
#1459 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1460 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1461 - info - DROP TABLE `ac_invoice_objects`
#1462 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1463 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1464 - info - DROP TABLE `ac_invoice_object_items`
#1465 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1466 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1467 - info - DROP TABLE `ac_invoice_item_templates`
#1468 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1469 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1470 - info - DROP TABLE `ac_invoice_note_templates`
#1471 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1472 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1473 - info - DROP TABLE `ac_invoice_related_records`
#1474 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1475 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1476 - info - DROP TABLE `ac_tax_rates`
#1477 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1478 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1479 - info - DROP TABLE `ac_notebook_pages`
#1480 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1481 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1482 - info - DROP TABLE `ac_notebook_page_versions`
#1483 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1484 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1485 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1486 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1487 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1488 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1489 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1490 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1491 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1492 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1493 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1494 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1495 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1496 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1497 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1498 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1499 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1500 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1501 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1502 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1503 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1504 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1505 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1506 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1507 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1508 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1509 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1510 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1511 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1512 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1513 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1514 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1515 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1516 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1517 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1518 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1519 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1520 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1521 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1522 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1523 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1524 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1525 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1526 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1527 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1528 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1529 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1530 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1531 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1532 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1533 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1534 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1535 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1536 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1537 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1538 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1539 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1540 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1541 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1542 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1543 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1544 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1545 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1546 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1547 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1548 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1549 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1550 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1551 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1552 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1553 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1554 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1555 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1556 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1557 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1558 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1559 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1560 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1561 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1562 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1563 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1564 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1565 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1566 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1567 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1568 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#1570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#1571 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#1572 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#1573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#1574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#1575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#1576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#1577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#1578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#1579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#1580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#1581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#1582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#1583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#1584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#1585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#1586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#1587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#1588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#1589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#1590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1596 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1602 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1604 - info - BEGIN WORK
#1605 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1606 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1607 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1608 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1609 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1610 - info - COMMIT
#1611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1612 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1613 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1614 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1615 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1616 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1638 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1639 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1640 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1641 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1642 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1643 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1644 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1645 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1646 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1647 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1648 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1649 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1650 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1651 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1652 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1653 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1654 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1655 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1656 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1657 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1658 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1660 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1661 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1662 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373658;')
#1665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1666 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1667 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1668 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1669 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1670 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1677 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1678 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1679 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1681 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1689 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1690 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1697 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1698 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1699 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1700 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1701 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1702 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1703 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1704 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1705 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1708 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1709 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1710 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1711 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1712 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:18', '1')
#1713 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1714 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1715 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1716 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1718 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1720 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1726 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1727 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1728 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1729 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1731 - info - BEGIN WORK
#1732 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1733 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1734 - info - COMMIT
#1735 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1736 - info - BEGIN WORK
#1737 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1738 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1739 - info - COMMIT
#1740 - info - BEGIN WORK
#1741 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1742 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1743 - info - COMMIT
#1744 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1745 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1746 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1747 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1748 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1749 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1750 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1751 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1752 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1753 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1754 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1756 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1757 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1758 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1759 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1760 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1761 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1762 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1772 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1773 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1774 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1775 - info - SHOW TABLES LIKE 'ac_job_types'
#1776 - info - SELECT COUNT(id) FROM ac_job_types
#1777 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1778 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1779 - info - BEGIN WORK
#1780 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1781 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1782 - info - COMMIT
#1783 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1784 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1785 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1786 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1787 - info - SELECT COUNT(name) FROM ac_modules
#1788 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1789 - info - SELECT name FROM ac_modules
#1790 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1791 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1792 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1793 - info - Cache miss 'config_values'
#1794 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1795 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1796 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1797 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1798 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1799 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1800 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1801 - info - BEGIN WORK
#1802 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1803 - info - Cache hit 'config_values'
#1804 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1805 - info - UPDATE ac_config_options SET value = 'i:1387373658;' WHERE name = 'search_initialized_on'
#1806 - info - COMMIT
#1807 - info - Cache miss 'models/users/1'
#1808 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1809 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1810 - info - SELECT COUNT(*) FROM ac_test_table
#1811 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1812 - info - DROP TABLE `ac_test_table_migrate_test`
#1813 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1814 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1815 - info - INSERT INTO ac_test_table_migrate_test (name) VALUES ('Test Migration')
#1816 - info - SHOW TABLES LIKE 'ac_test_table_h8PHLpRSBp'
#1817 - info - RENAME TABLE ac_test_table TO ac_test_table_h8PHLpRSBp, ac_test_table_migrate_test TO ac_test_table
#1818 - info - DROP TABLE ac_test_table_h8PHLpRSBp
#1819 - info - SELECT COUNT(*) FROM ac_test_table
#1820 - info - DROP TABLE ac_test_table
#1821 - info - Cache hit 'models/users/1'
#1822 - info - Cache hit 'models/users/1'
#1823 - info - Cache miss 'models/users/1/config_options'
#1824 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_date' AND parent_type = 'User' AND parent_id = '1'
#1825 - info - Cache miss 'config_values'
#1826 - info - SELECT value FROM ac_config_options WHERE name = 'format_date'
#1827 - info - Cache hit 'models/users/1/config_options'
#1828 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_timezone' AND parent_type = 'User' AND parent_id = '1'
#1829 - info - Cache hit 'config_values'
#1830 - info - SELECT value FROM ac_config_options WHERE name = 'time_timezone'
#1831 - info - Cache hit 'models/users/1/config_options'
#1832 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_dst' AND parent_type = 'User' AND parent_id = '1'
#1833 - info - Cache hit 'config_values'
#1834 - info - SELECT value FROM ac_config_options WHERE name = 'time_dst'
#1835 - info - Cache hit 'models/users/1/config_options'
#1836 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_time' AND parent_type = 'User' AND parent_id = '1'
#1837 - info - Cache hit 'config_values'
#1838 - info - SELECT value FROM ac_config_options WHERE name = 'format_time'
#1839 - info - Cache hit 'models/users/1'
#1840 - info - Cache hit 'models/users/1'
#1841 - info - Cache hit 'models/users/1/config_options'
#1842 - info - Cache hit 'models/users/1'
#1843 - info - Cache hit 'models/users/1/config_options'
#1844 - info - Cache hit 'models/users/1/config_options'
#1845 - info - Cache hit 'models/users/1'
#1846 - info - CREATE TABLE ac_test_db_result_to_json (
        id int(11) NOT NULL auto_increment,
        string_field varchar(255) default NULL,
        int_field int(11) default NULL,
        other float default NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
#1847 - info - SHOW TABLES LIKE 'ac_%'
#1848 - info - INSERT INTO ac_test_db_result_to_json (id,string_field,int_field,other) VALUES (1,'A',5,3.2), (2,'Another record',18,NULL);
#1849 - info - SELECT * FROM ac_test_db_result_to_json
#1850 - info - DROP TABLE ac_test_db_result_to_json
#1851 - info - SHOW TABLES LIKE 'ac_%'
#1852 - info - Cache hit 'models/users/1'
#1853 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1854 - info - BEGIN WORK
#1855 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1856 - info - Event 'on_before_object_validation' triggered
#1857 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 1'
#1858 - info - Event 'on_after_object_validation' triggered
#1859 - info - Event 'on_before_object_save' triggered
#1860 - info - Event 'on_before_object_insert' triggered
#1861 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 1', 'TestDataObject', '2013-12-18 13:34:18')
#1862 - info - Event 'on_object_inserted' triggered
#1863 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1864 - info - Event 'on_after_object_save' triggered
#1865 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1866 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1867 - info - COMMIT
#1868 - info - BEGIN WORK
#1869 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1870 - info - Event 'on_before_object_validation' triggered
#1871 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 2'
#1872 - info - Event 'on_after_object_validation' triggered
#1873 - info - Event 'on_before_object_save' triggered
#1874 - info - Event 'on_before_object_insert' triggered
#1875 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 2', 'TestDataObject', '2013-12-18 13:34:18')
#1876 - info - Event 'on_object_inserted' triggered
#1877 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1878 - info - Event 'on_after_object_save' triggered
#1879 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1880 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1881 - info - COMMIT
#1882 - info - Cache miss 'models/test_data_objects/1'
#1883 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1884 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1885 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1886 - info - BEGIN WORK
#1887 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1888 - info - Event 'on_before_object_validation' triggered
#1889 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#1890 - info - Event 'on_after_object_validation' triggered
#1891 - info - Event 'on_before_object_save' triggered
#1892 - info - Event 'on_before_object_insert' triggered
#1893 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'TestDataObject', '2013-12-18 13:34:18')
#1894 - info - Event 'on_object_inserted' triggered
#1895 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1896 - info - Event 'on_after_object_save' triggered
#1897 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1898 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1899 - info - COMMIT
#1900 - info - BEGIN WORK
#1901 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1902 - info - Event 'on_before_object_deleted' triggered
#1903 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1904 - info - Event 'on_object_deleted' triggered
#1905 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#1906 - info - COMMIT
#1907 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1908 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1909 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1910 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1911 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object name', 'Object description')
#1912 - info - Cache miss 'models/test_data_objects/1'
#1913 - info - SELECT id, name, description, type, created_on, updated_on FROM ac_test_data_objects WHERE id = '1'  LIMIT 0, 1
#1914 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1915 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1916 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object #1', 'Description #1'), ('Object #2', 'Description #2'), ('Object #3', 'TestDataObject')
#1917 - info - SELECT * FROM ac_test_data_objects
#1918 - info - SELECT * FROM ac_test_data_objects ORDER BY name
#1919 - info - SELECT * FROM ac_test_data_objects WHERE name = 'Object #3'
#1920 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1921 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1922 - info - BEGIN WORK
#1923 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1924 - info - Event 'on_before_object_validation' triggered
#1925 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1926 - info - Event 'on_after_object_validation' triggered
#1927 - info - Event 'on_before_object_save' triggered
#1928 - info - Event 'on_before_object_insert' triggered
#1929 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 13:34:18')
#1930 - info - Event 'on_object_inserted' triggered
#1931 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1932 - info - Event 'on_after_object_save' triggered
#1933 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1934 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1935 - info - COMMIT
#1936 - info - BEGIN WORK
#1937 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1938 - info - Event 'on_before_object_deleted' triggered
#1939 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1940 - info - Event 'on_object_deleted' triggered
#1941 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#1942 - info - COMMIT
#1943 - info - BEGIN WORK
#1944 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1945 - info - Event 'on_before_object_validation' triggered
#1946 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1947 - info - Event 'on_after_object_validation' triggered
#1948 - info - Event 'on_before_object_save' triggered
#1949 - info - Event 'on_before_object_insert' triggered
#1950 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on, id) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 13:34:18', '1')
#1951 - info - Event 'on_object_inserted' triggered
#1952 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1953 - info - Event 'on_after_object_save' triggered
#1954 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1955 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1956 - info - COMMIT
#1957 - info - SELECT * FROM ac_test_data_objects WHERE id = '1'    LIMIT 0, 1
#1958 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1959 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1960 - info - BEGIN WORK
#1961 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1962 - info - Event 'on_before_object_validation' triggered
#1963 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1964 - info - Event 'on_after_object_validation' triggered
#1965 - info - Event 'on_before_object_save' triggered
#1966 - info - Event 'on_before_object_insert' triggered
#1967 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('First name', 'TestDataObject', '2013-12-18 13:34:18')
#1968 - info - Event 'on_object_inserted' triggered
#1969 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1970 - info - Event 'on_after_object_save' triggered
#1971 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1972 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1973 - info - COMMIT
#1974 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1975 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1976 - info - BEGIN WORK
#1977 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1978 - info - Event 'on_before_object_validation' triggered
#1979 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New name'
#1980 - info - Event 'on_after_object_validation' triggered
#1981 - info - Event 'on_before_object_save' triggered
#1982 - info - Event 'on_before_object_insert' triggered
#1983 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New name', 'TestDataObject', '2013-12-18 13:34:18')
#1984 - info - Event 'on_object_inserted' triggered
#1985 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#1986 - info - Event 'on_after_object_save' triggered
#1987 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1988 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1989 - info - COMMIT
#1990 - info - Cache miss 'models/test_data_objects/1'
#1991 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1992 - info - BEGIN WORK
#1993 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1994 - info - Event 'on_before_object_validation' triggered
#1995 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'Something something') AND (id <> '1')
#1996 - info - Event 'on_after_object_validation' triggered
#1997 - info - Event 'on_before_object_save' triggered
#1998 - info - Event 'on_before_object_update' triggered
#1999 - info - UPDATE ac_test_data_objects SET name = 'Something something', updated_on = '2013-12-18 13:34:18' WHERE id = '1'
#2000 - info - Event 'on_object_updated' triggered
#2001 - info - Event 'on_after_object_save' triggered
#2002 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2003 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2004 - info - COMMIT
#2005 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2006 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2007 - info - BEGIN WORK
#2008 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2009 - info - Event 'on_before_object_validation' triggered
#2010 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'My name'
#2011 - info - Event 'on_after_object_validation' triggered
#2012 - info - Event 'on_before_object_save' triggered
#2013 - info - Event 'on_before_object_insert' triggered
#2014 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('My name', 'TestDataObject', '2013-12-18 13:34:18')
#2015 - info - Event 'on_object_inserted' triggered
#2016 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2017 - info - Event 'on_after_object_save' triggered
#2018 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2019 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2020 - info - COMMIT
#2021 - info - BEGIN WORK
#2022 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2023 - info - Event 'on_before_object_validation' triggered
#2024 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'My name') AND (id <> '1')
#2025 - info - Event 'on_after_object_validation' triggered
#2026 - info - Event 'on_before_object_save' triggered
#2027 - info - Event 'on_before_object_update' triggered
#2028 - info - SELECT count(*) AS 'row_count' FROM ac_test_data_objects WHERE id = '1'
#2029 - info - UPDATE ac_test_data_objects SET id = '12', updated_on = '2013-12-18 13:34:18' WHERE id = '1'
#2030 - info - Event 'on_object_updated' triggered
#2031 - info - Event 'on_after_object_save' triggered
#2032 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2033 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2034 - info - COMMIT
#2035 - info - Cache miss 'models/test_data_objects/12'
#2036 - info - SELECT * FROM ac_test_data_objects WHERE id = '12' LIMIT 0, 1
#2037 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2038 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2039 - info - BEGIN WORK
#2040 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2041 - info - Event 'on_before_object_validation' triggered
#2042 - info - Event 'on_after_object_validation' triggered
#2043 - info - ROLLBACK
#2044 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#2045 - info - BEGIN WORK
#2046 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2047 - info - Event 'on_before_object_validation' triggered
#2048 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#2049 - info - Event 'on_after_object_validation' triggered
#2050 - info - Event 'on_before_object_save' triggered
#2051 - info - Event 'on_before_object_insert' triggered
#2052 - info - INSERT INTO ac_test_data_objects (type, created_on, name) VALUES ('TestDataObject', '2013-12-18 13:34:18', 'Unique name')
#2053 - info - Event 'on_object_inserted' triggered
#2054 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2055 - info - Event 'on_after_object_save' triggered
#2056 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2057 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2058 - info - COMMIT
#2059 - info - BEGIN WORK
#2060 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2061 - info - Event 'on_before_object_validation' triggered
#2062 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#2063 - info - Event 'on_after_object_validation' triggered
#2064 - info - ROLLBACK
#2065 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#2066 - info - BEGIN WORK
#2067 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#2068 - info - Event 'on_before_object_validation' triggered
#2069 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New, better name'
#2070 - info - Event 'on_after_object_validation' triggered
#2071 - info - Event 'on_before_object_save' triggered
#2072 - info - Event 'on_before_object_insert' triggered
#2073 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New, better name', 'TestDataObject', '2013-12-18 13:34:18')
#2074 - info - Event 'on_object_inserted' triggered
#2075 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#2076 - info - Event 'on_after_object_save' triggered
#2077 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#2078 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#2079 - info - COMMIT
#2080 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2081 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2082 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2083 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2084 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2085 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2086 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2087 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2088 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2089 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#2090 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#2091 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#2092 - info - DROP TABLE IF EXISTS ac_test_data_objects
#2093 - info - SHOW TABLES LIKE 'ac_config_options'
#2094 - info - SHOW TABLES LIKE 'ac_config_options'
#2095 - info - DROP TABLE `ac_config_options`
#2096 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2097 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2098 - info - DROP TABLE `ac_config_option_values`
#2099 - info - SHOW TABLES LIKE 'ac_modules'
#2100 - info - SHOW TABLES LIKE 'ac_modules'
#2101 - info - DROP TABLE `ac_modules`
#2102 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2103 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2104 - info - DROP TABLE `ac_executed_model_migrations`
#2105 - info - SHOW TABLES LIKE 'ac_update_history'
#2106 - info - SHOW TABLES LIKE 'ac_update_history'
#2107 - info - DROP TABLE `ac_update_history`
#2108 - info - SHOW TABLES LIKE 'ac_access_logs'
#2109 - info - SHOW TABLES LIKE 'ac_access_logs'
#2110 - info - DROP TABLE `ac_access_logs`
#2111 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2112 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2113 - info - DROP TABLE `ac_access_logs_archive`
#2114 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2115 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2116 - info - DROP TABLE `ac_object_contexts`
#2117 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2118 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2119 - info - DROP TABLE `ac_routing_cache`
#2120 - info - SHOW TABLES LIKE 'ac_currencies'
#2121 - info - SHOW TABLES LIKE 'ac_currencies'
#2122 - info - DROP TABLE `ac_currencies`
#2123 - info - SHOW TABLES LIKE 'ac_day_offs'
#2124 - info - SHOW TABLES LIKE 'ac_day_offs'
#2125 - info - DROP TABLE `ac_day_offs`
#2126 - info - SHOW TABLES LIKE 'ac_languages'
#2127 - info - SHOW TABLES LIKE 'ac_languages'
#2128 - info - DROP TABLE `ac_languages`
#2129 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2130 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2131 - info - DROP TABLE `ac_language_phrases`
#2132 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2133 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2134 - info - DROP TABLE `ac_language_phrase_translations`
#2135 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2136 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2137 - info - DROP TABLE `ac_api_client_subscriptions`
#2138 - info - SHOW TABLES LIKE 'ac_users'
#2139 - info - SHOW TABLES LIKE 'ac_users'
#2140 - info - DROP TABLE `ac_users`
#2141 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2142 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2143 - info - DROP TABLE `ac_user_addresses`
#2144 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2145 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2146 - info - DROP TABLE `ac_user_sessions`
#2147 - info - SHOW TABLES LIKE 'ac_security_logs'
#2148 - info - SHOW TABLES LIKE 'ac_security_logs'
#2149 - info - DROP TABLE `ac_security_logs`
#2150 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2151 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2152 - info - DROP TABLE `ac_api_token_logs`
#2153 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2154 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2155 - info - DROP TABLE `ac_activity_logs`
#2156 - info - SHOW TABLES LIKE 'ac_data_filters'
#2157 - info - SHOW TABLES LIKE 'ac_data_filters'
#2158 - info - DROP TABLE `ac_data_filters`
#2159 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2160 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2161 - info - DROP TABLE `ac_modification_logs`
#2162 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2163 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2164 - info - DROP TABLE `ac_modification_log_values`
#2165 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2166 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2167 - info - DROP TABLE `ac_mailing_activity_logs`
#2168 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2169 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2170 - info - DROP TABLE `ac_outgoing_messages`
#2171 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2172 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2173 - info - DROP TABLE `ac_incoming_mail_attachments`
#2174 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2175 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2176 - info - DROP TABLE `ac_incoming_mail_filters`
#2177 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2178 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2179 - info - DROP TABLE `ac_incoming_mailboxes`
#2180 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2181 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2182 - info - DROP TABLE `ac_incoming_mails`
#2183 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2184 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2185 - info - DROP TABLE `ac_homescreen_tabs`
#2186 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2187 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2188 - info - DROP TABLE `ac_homescreen_widgets`
#2189 - info - SHOW TABLES LIKE 'ac_announcements'
#2190 - info - SHOW TABLES LIKE 'ac_announcements'
#2191 - info - DROP TABLE `ac_announcements`
#2192 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2193 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2194 - info - DROP TABLE `ac_announcement_target_ids`
#2195 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2196 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2197 - info - DROP TABLE `ac_announcement_dismissals`
#2198 - info - SHOW TABLES LIKE 'ac_attachments'
#2199 - info - SHOW TABLES LIKE 'ac_attachments'
#2200 - info - DROP TABLE `ac_attachments`
#2201 - info - SHOW TABLES LIKE 'ac_notifications'
#2202 - info - SHOW TABLES LIKE 'ac_notifications'
#2203 - info - DROP TABLE `ac_notifications`
#2204 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2205 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2206 - info - DROP TABLE `ac_notification_recipients`
#2207 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2208 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2209 - info - DROP TABLE `ac_subscriptions`
#2210 - info - SHOW TABLES LIKE 'ac_comments'
#2211 - info - SHOW TABLES LIKE 'ac_comments'
#2212 - info - DROP TABLE `ac_comments`
#2213 - info - SHOW TABLES LIKE 'ac_categories'
#2214 - info - SHOW TABLES LIKE 'ac_categories'
#2215 - info - DROP TABLE `ac_categories`
#2216 - info - SHOW TABLES LIKE 'ac_labels'
#2217 - info - SHOW TABLES LIKE 'ac_labels'
#2218 - info - DROP TABLE `ac_labels`
#2219 - info - SHOW TABLES LIKE 'ac_assignments'
#2220 - info - SHOW TABLES LIKE 'ac_assignments'
#2221 - info - DROP TABLE `ac_assignments`
#2222 - info - SHOW TABLES LIKE 'ac_subtasks'
#2223 - info - SHOW TABLES LIKE 'ac_subtasks'
#2224 - info - DROP TABLE `ac_subtasks`
#2225 - info - SHOW TABLES LIKE 'ac_favorites'
#2226 - info - SHOW TABLES LIKE 'ac_favorites'
#2227 - info - DROP TABLE `ac_favorites`
#2228 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2229 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2230 - info - DROP TABLE `ac_code_snippets`
#2231 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2232 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2233 - info - DROP TABLE `ac_payment_gateways`
#2234 - info - SHOW TABLES LIKE 'ac_payments'
#2235 - info - SHOW TABLES LIKE 'ac_payments'
#2236 - info - DROP TABLE `ac_payments`
#2237 - info - SHOW TABLES LIKE 'ac_reminders'
#2238 - info - SHOW TABLES LIKE 'ac_reminders'
#2239 - info - DROP TABLE `ac_reminders`
#2240 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2241 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2242 - info - DROP TABLE `ac_reminder_users`
#2243 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2244 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2245 - info - DROP TABLE `ac_custom_fields`
#2246 - info - SHOW TABLES LIKE 'ac_calendars'
#2247 - info - SHOW TABLES LIKE 'ac_calendars'
#2248 - info - DROP TABLE `ac_calendars`
#2249 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2250 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2251 - info - DROP TABLE `ac_calendar_events`
#2252 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2253 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2254 - info - DROP TABLE `ac_calendar_users`
#2255 - info - SHOW TABLES LIKE 'ac_data_sources'
#2256 - info - SHOW TABLES LIKE 'ac_data_sources'
#2257 - info - DROP TABLE `ac_data_sources`
#2258 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2259 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2260 - info - DROP TABLE `ac_data_source_mappings`
#2261 - info - SHOW TABLES LIKE 'ac_companies'
#2262 - info - SHOW TABLES LIKE 'ac_companies'
#2263 - info - DROP TABLE `ac_companies`
#2264 - info - SHOW TABLES LIKE 'ac_projects'
#2265 - info - SHOW TABLES LIKE 'ac_projects'
#2266 - info - DROP TABLE `ac_projects`
#2267 - info - SHOW TABLES LIKE 'ac_project_roles'
#2268 - info - SHOW TABLES LIKE 'ac_project_roles'
#2269 - info - DROP TABLE `ac_project_roles`
#2270 - info - SHOW TABLES LIKE 'ac_project_users'
#2271 - info - SHOW TABLES LIKE 'ac_project_users'
#2272 - info - DROP TABLE `ac_project_users`
#2273 - info - SHOW TABLES LIKE 'ac_project_requests'
#2274 - info - SHOW TABLES LIKE 'ac_project_requests'
#2275 - info - DROP TABLE `ac_project_requests`
#2276 - info - SHOW TABLES LIKE 'ac_project_objects'
#2277 - info - SHOW TABLES LIKE 'ac_project_objects'
#2278 - info - DROP TABLE `ac_project_objects`
#2279 - info - SHOW TABLES LIKE 'ac_project_templates'
#2280 - info - SHOW TABLES LIKE 'ac_project_templates'
#2281 - info - DROP TABLE `ac_project_templates`
#2282 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2283 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2284 - info - DROP TABLE `ac_project_object_templates`
#2285 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2286 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2287 - info - DROP TABLE `ac_shared_object_profiles`
#2288 - info - SHOW TABLES LIKE 'ac_file_versions'
#2289 - info - SHOW TABLES LIKE 'ac_file_versions'
#2290 - info - DROP TABLE `ac_file_versions`
#2291 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2292 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2293 - info - DROP TABLE `ac_text_document_versions`
#2294 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2295 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2296 - info - DROP TABLE `ac_public_task_forms`
#2297 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2298 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2299 - info - DROP TABLE `ac_related_tasks`
#2300 - info - SHOW TABLES LIKE 'ac_task_segments'
#2301 - info - SHOW TABLES LIKE 'ac_task_segments'
#2302 - info - DROP TABLE `ac_task_segments`
#2303 - info - SHOW TABLES LIKE 'ac_status_updates'
#2304 - info - SHOW TABLES LIKE 'ac_status_updates'
#2305 - info - DROP TABLE `ac_status_updates`
#2306 - info - SHOW TABLES LIKE 'ac_documents'
#2307 - info - SHOW TABLES LIKE 'ac_documents'
#2308 - info - DROP TABLE `ac_documents`
#2309 - info - SHOW TABLES LIKE 'ac_time_records'
#2310 - info - SHOW TABLES LIKE 'ac_time_records'
#2311 - info - DROP TABLE `ac_time_records`
#2312 - info - SHOW TABLES LIKE 'ac_job_types'
#2313 - info - SHOW TABLES LIKE 'ac_job_types'
#2314 - info - DROP TABLE `ac_job_types`
#2315 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2316 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2317 - info - DROP TABLE `ac_project_hourly_rates`
#2318 - info - SHOW TABLES LIKE 'ac_expenses'
#2319 - info - SHOW TABLES LIKE 'ac_expenses'
#2320 - info - DROP TABLE `ac_expenses`
#2321 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2322 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2323 - info - DROP TABLE `ac_expense_categories`
#2324 - info - SHOW TABLES LIKE 'ac_estimates'
#2325 - info - SHOW TABLES LIKE 'ac_estimates'
#2326 - info - DROP TABLE `ac_estimates`
#2327 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2328 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2329 - info - DROP TABLE `ac_invoice_objects`
#2330 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2331 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2332 - info - DROP TABLE `ac_invoice_object_items`
#2333 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2334 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2335 - info - DROP TABLE `ac_invoice_item_templates`
#2336 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2337 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2338 - info - DROP TABLE `ac_invoice_note_templates`
#2339 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2340 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2341 - info - DROP TABLE `ac_invoice_related_records`
#2342 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2343 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2344 - info - DROP TABLE `ac_tax_rates`
#2345 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2346 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2347 - info - DROP TABLE `ac_notebook_pages`
#2348 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2349 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2350 - info - DROP TABLE `ac_notebook_page_versions`
#2351 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2352 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2353 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2354 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2355 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2356 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2357 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2358 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2359 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2360 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2361 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2362 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2363 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2364 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2365 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2366 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2367 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2368 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2369 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2370 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2371 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2372 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2373 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2374 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2375 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2376 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2377 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2378 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2379 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2380 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2381 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2382 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2383 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2384 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2385 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2386 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2387 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2388 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2389 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2390 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2391 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2392 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2393 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2394 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2395 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2396 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2397 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2398 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2399 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2400 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2401 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2402 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2403 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2404 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2405 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2406 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2407 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2408 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2409 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2410 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2411 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2412 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2413 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2414 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2415 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2416 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2417 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2418 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2419 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2420 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2421 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2422 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2423 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2424 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2425 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2426 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2427 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2428 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2429 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2430 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2431 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2432 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2433 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2434 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2435 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2436 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2472 - info - BEGIN WORK
#2473 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2474 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2475 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2476 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2477 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2478 - info - COMMIT
#2479 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2484 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2486 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2506 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2507 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2508 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2509 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2510 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2511 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2512 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2513 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2514 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2515 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2516 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2517 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2518 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2519 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2520 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2521 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2522 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2524 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373659;')
#2533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2545 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2546 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2547 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2549 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2550 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2551 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2552 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2554 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2555 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2556 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2557 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2558 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2560 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2562 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2563 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#2564 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#2565 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#2566 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#2567 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#2568 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#2569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#2570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#2571 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#2572 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#2573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#2574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#2575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#2576 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#2577 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#2578 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#2579 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#2580 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:19', '1')
#2581 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2582 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2583 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2584 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#2586 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#2588 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2589 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#2590 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#2591 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#2592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#2593 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#2594 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#2595 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#2596 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#2597 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#2599 - info - BEGIN WORK
#2600 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#2601 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#2602 - info - COMMIT
#2603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#2604 - info - BEGIN WORK
#2605 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2606 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#2607 - info - COMMIT
#2608 - info - BEGIN WORK
#2609 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2610 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#2611 - info - COMMIT
#2612 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2613 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2614 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#2615 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#2616 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#2617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#2618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#2619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#2620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#2621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#2622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#2623 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#2624 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#2625 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#2626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#2627 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#2628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#2629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#2630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#2631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#2632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#2633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#2634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#2635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#2636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#2637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#2638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#2639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#2640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#2641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#2642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#2643 - info - SHOW TABLES LIKE 'ac_job_types'
#2644 - info - SELECT COUNT(id) FROM ac_job_types
#2645 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2646 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#2647 - info - BEGIN WORK
#2648 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#2649 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#2650 - info - COMMIT
#2651 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#2652 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2653 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2654 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#2655 - info - SELECT COUNT(name) FROM ac_modules
#2656 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#2657 - info - SELECT name FROM ac_modules
#2658 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#2659 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#2660 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#2661 - info - Cache hit 'config_values'
#2662 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#2663 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#2664 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#2665 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#2666 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#2667 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#2668 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#2669 - info - BEGIN WORK
#2670 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#2671 - info - Cache hit 'config_values'
#2672 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#2673 - info - UPDATE ac_config_options SET value = 'i:1387373659;' WHERE name = 'search_initialized_on'
#2674 - info - COMMIT
#2675 - info - Cache miss 'models/users/1'
#2676 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#2677 - info - SELECT COUNT(*) FROM  ac_config_options
#2678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'i:12;')
#2679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 2', 'N;')
#2680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 's:9:\"something\";')
#2681 - info - SELECT COUNT(*) FROM  ac_config_options
#2682 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2683 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2684 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2685 - info - BEGIN WORK
#2686 - info - Transaction level increased to 1. Message: Begin Work: Removing config option
#2687 - info - DELETE FROM ac_config_options WHERE name = 'Option 2'
#2688 - info - DELETE FROM ac_config_option_values WHERE name = 'Option 2'
#2689 - info - COMMIT
#2690 - info - SELECT COUNT(*) FROM  ac_config_options
#2691 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2692 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2693 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2694 - info - BEGIN WORK
#2695 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#2696 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#2697 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 3')
#2698 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3')
#2699 - info - COMMIT
#2700 - info - SELECT COUNT(*) FROM  ac_config_options
#2701 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2702 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2703 - info - SHOW TABLES LIKE 'ac_config_options'
#2704 - info - SHOW TABLES LIKE 'ac_config_options'
#2705 - info - DROP TABLE `ac_config_options`
#2706 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2707 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2708 - info - DROP TABLE `ac_config_option_values`
#2709 - info - SHOW TABLES LIKE 'ac_modules'
#2710 - info - SHOW TABLES LIKE 'ac_modules'
#2711 - info - DROP TABLE `ac_modules`
#2712 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2713 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2714 - info - DROP TABLE `ac_executed_model_migrations`
#2715 - info - SHOW TABLES LIKE 'ac_update_history'
#2716 - info - SHOW TABLES LIKE 'ac_update_history'
#2717 - info - DROP TABLE `ac_update_history`
#2718 - info - SHOW TABLES LIKE 'ac_access_logs'
#2719 - info - SHOW TABLES LIKE 'ac_access_logs'
#2720 - info - DROP TABLE `ac_access_logs`
#2721 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2722 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2723 - info - DROP TABLE `ac_access_logs_archive`
#2724 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2725 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2726 - info - DROP TABLE `ac_object_contexts`
#2727 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2728 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2729 - info - DROP TABLE `ac_routing_cache`
#2730 - info - SHOW TABLES LIKE 'ac_currencies'
#2731 - info - SHOW TABLES LIKE 'ac_currencies'
#2732 - info - DROP TABLE `ac_currencies`
#2733 - info - SHOW TABLES LIKE 'ac_day_offs'
#2734 - info - SHOW TABLES LIKE 'ac_day_offs'
#2735 - info - DROP TABLE `ac_day_offs`
#2736 - info - SHOW TABLES LIKE 'ac_languages'
#2737 - info - SHOW TABLES LIKE 'ac_languages'
#2738 - info - DROP TABLE `ac_languages`
#2739 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2740 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2741 - info - DROP TABLE `ac_language_phrases`
#2742 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2743 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2744 - info - DROP TABLE `ac_language_phrase_translations`
#2745 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2746 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2747 - info - DROP TABLE `ac_api_client_subscriptions`
#2748 - info - SHOW TABLES LIKE 'ac_users'
#2749 - info - SHOW TABLES LIKE 'ac_users'
#2750 - info - DROP TABLE `ac_users`
#2751 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2752 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2753 - info - DROP TABLE `ac_user_addresses`
#2754 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2755 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2756 - info - DROP TABLE `ac_user_sessions`
#2757 - info - SHOW TABLES LIKE 'ac_security_logs'
#2758 - info - SHOW TABLES LIKE 'ac_security_logs'
#2759 - info - DROP TABLE `ac_security_logs`
#2760 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2761 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2762 - info - DROP TABLE `ac_api_token_logs`
#2763 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2764 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2765 - info - DROP TABLE `ac_activity_logs`
#2766 - info - SHOW TABLES LIKE 'ac_data_filters'
#2767 - info - SHOW TABLES LIKE 'ac_data_filters'
#2768 - info - DROP TABLE `ac_data_filters`
#2769 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2770 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2771 - info - DROP TABLE `ac_modification_logs`
#2772 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2773 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2774 - info - DROP TABLE `ac_modification_log_values`
#2775 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2776 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2777 - info - DROP TABLE `ac_mailing_activity_logs`
#2778 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2779 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2780 - info - DROP TABLE `ac_outgoing_messages`
#2781 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2782 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2783 - info - DROP TABLE `ac_incoming_mail_attachments`
#2784 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2785 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2786 - info - DROP TABLE `ac_incoming_mail_filters`
#2787 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2788 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2789 - info - DROP TABLE `ac_incoming_mailboxes`
#2790 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2791 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2792 - info - DROP TABLE `ac_incoming_mails`
#2793 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2794 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2795 - info - DROP TABLE `ac_homescreen_tabs`
#2796 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2797 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2798 - info - DROP TABLE `ac_homescreen_widgets`
#2799 - info - SHOW TABLES LIKE 'ac_announcements'
#2800 - info - SHOW TABLES LIKE 'ac_announcements'
#2801 - info - DROP TABLE `ac_announcements`
#2802 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2803 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2804 - info - DROP TABLE `ac_announcement_target_ids`
#2805 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2806 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2807 - info - DROP TABLE `ac_announcement_dismissals`
#2808 - info - SHOW TABLES LIKE 'ac_attachments'
#2809 - info - SHOW TABLES LIKE 'ac_attachments'
#2810 - info - DROP TABLE `ac_attachments`
#2811 - info - SHOW TABLES LIKE 'ac_notifications'
#2812 - info - SHOW TABLES LIKE 'ac_notifications'
#2813 - info - DROP TABLE `ac_notifications`
#2814 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2815 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2816 - info - DROP TABLE `ac_notification_recipients`
#2817 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2818 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2819 - info - DROP TABLE `ac_subscriptions`
#2820 - info - SHOW TABLES LIKE 'ac_comments'
#2821 - info - SHOW TABLES LIKE 'ac_comments'
#2822 - info - DROP TABLE `ac_comments`
#2823 - info - SHOW TABLES LIKE 'ac_categories'
#2824 - info - SHOW TABLES LIKE 'ac_categories'
#2825 - info - DROP TABLE `ac_categories`
#2826 - info - SHOW TABLES LIKE 'ac_labels'
#2827 - info - SHOW TABLES LIKE 'ac_labels'
#2828 - info - DROP TABLE `ac_labels`
#2829 - info - SHOW TABLES LIKE 'ac_assignments'
#2830 - info - SHOW TABLES LIKE 'ac_assignments'
#2831 - info - DROP TABLE `ac_assignments`
#2832 - info - SHOW TABLES LIKE 'ac_subtasks'
#2833 - info - SHOW TABLES LIKE 'ac_subtasks'
#2834 - info - DROP TABLE `ac_subtasks`
#2835 - info - SHOW TABLES LIKE 'ac_favorites'
#2836 - info - SHOW TABLES LIKE 'ac_favorites'
#2837 - info - DROP TABLE `ac_favorites`
#2838 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2839 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2840 - info - DROP TABLE `ac_code_snippets`
#2841 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2842 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2843 - info - DROP TABLE `ac_payment_gateways`
#2844 - info - SHOW TABLES LIKE 'ac_payments'
#2845 - info - SHOW TABLES LIKE 'ac_payments'
#2846 - info - DROP TABLE `ac_payments`
#2847 - info - SHOW TABLES LIKE 'ac_reminders'
#2848 - info - SHOW TABLES LIKE 'ac_reminders'
#2849 - info - DROP TABLE `ac_reminders`
#2850 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2851 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2852 - info - DROP TABLE `ac_reminder_users`
#2853 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2854 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2855 - info - DROP TABLE `ac_custom_fields`
#2856 - info - SHOW TABLES LIKE 'ac_calendars'
#2857 - info - SHOW TABLES LIKE 'ac_calendars'
#2858 - info - DROP TABLE `ac_calendars`
#2859 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2860 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2861 - info - DROP TABLE `ac_calendar_events`
#2862 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2863 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2864 - info - DROP TABLE `ac_calendar_users`
#2865 - info - SHOW TABLES LIKE 'ac_data_sources'
#2866 - info - SHOW TABLES LIKE 'ac_data_sources'
#2867 - info - DROP TABLE `ac_data_sources`
#2868 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2869 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2870 - info - DROP TABLE `ac_data_source_mappings`
#2871 - info - SHOW TABLES LIKE 'ac_companies'
#2872 - info - SHOW TABLES LIKE 'ac_companies'
#2873 - info - DROP TABLE `ac_companies`
#2874 - info - SHOW TABLES LIKE 'ac_projects'
#2875 - info - SHOW TABLES LIKE 'ac_projects'
#2876 - info - DROP TABLE `ac_projects`
#2877 - info - SHOW TABLES LIKE 'ac_project_roles'
#2878 - info - SHOW TABLES LIKE 'ac_project_roles'
#2879 - info - DROP TABLE `ac_project_roles`
#2880 - info - SHOW TABLES LIKE 'ac_project_users'
#2881 - info - SHOW TABLES LIKE 'ac_project_users'
#2882 - info - DROP TABLE `ac_project_users`
#2883 - info - SHOW TABLES LIKE 'ac_project_requests'
#2884 - info - SHOW TABLES LIKE 'ac_project_requests'
#2885 - info - DROP TABLE `ac_project_requests`
#2886 - info - SHOW TABLES LIKE 'ac_project_objects'
#2887 - info - SHOW TABLES LIKE 'ac_project_objects'
#2888 - info - DROP TABLE `ac_project_objects`
#2889 - info - SHOW TABLES LIKE 'ac_project_templates'
#2890 - info - SHOW TABLES LIKE 'ac_project_templates'
#2891 - info - DROP TABLE `ac_project_templates`
#2892 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2893 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2894 - info - DROP TABLE `ac_project_object_templates`
#2895 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2896 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2897 - info - DROP TABLE `ac_shared_object_profiles`
#2898 - info - SHOW TABLES LIKE 'ac_file_versions'
#2899 - info - SHOW TABLES LIKE 'ac_file_versions'
#2900 - info - DROP TABLE `ac_file_versions`
#2901 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2902 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2903 - info - DROP TABLE `ac_text_document_versions`
#2904 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2905 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2906 - info - DROP TABLE `ac_public_task_forms`
#2907 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2908 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2909 - info - DROP TABLE `ac_related_tasks`
#2910 - info - SHOW TABLES LIKE 'ac_task_segments'
#2911 - info - SHOW TABLES LIKE 'ac_task_segments'
#2912 - info - DROP TABLE `ac_task_segments`
#2913 - info - SHOW TABLES LIKE 'ac_status_updates'
#2914 - info - SHOW TABLES LIKE 'ac_status_updates'
#2915 - info - DROP TABLE `ac_status_updates`
#2916 - info - SHOW TABLES LIKE 'ac_documents'
#2917 - info - SHOW TABLES LIKE 'ac_documents'
#2918 - info - DROP TABLE `ac_documents`
#2919 - info - SHOW TABLES LIKE 'ac_time_records'
#2920 - info - SHOW TABLES LIKE 'ac_time_records'
#2921 - info - DROP TABLE `ac_time_records`
#2922 - info - SHOW TABLES LIKE 'ac_job_types'
#2923 - info - SHOW TABLES LIKE 'ac_job_types'
#2924 - info - DROP TABLE `ac_job_types`
#2925 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2926 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2927 - info - DROP TABLE `ac_project_hourly_rates`
#2928 - info - SHOW TABLES LIKE 'ac_expenses'
#2929 - info - SHOW TABLES LIKE 'ac_expenses'
#2930 - info - DROP TABLE `ac_expenses`
#2931 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2932 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2933 - info - DROP TABLE `ac_expense_categories`
#2934 - info - SHOW TABLES LIKE 'ac_estimates'
#2935 - info - SHOW TABLES LIKE 'ac_estimates'
#2936 - info - DROP TABLE `ac_estimates`
#2937 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2938 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2939 - info - DROP TABLE `ac_invoice_objects`
#2940 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2941 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2942 - info - DROP TABLE `ac_invoice_object_items`
#2943 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2944 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2945 - info - DROP TABLE `ac_invoice_item_templates`
#2946 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2947 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2948 - info - DROP TABLE `ac_invoice_note_templates`
#2949 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2950 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2951 - info - DROP TABLE `ac_invoice_related_records`
#2952 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2953 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2954 - info - DROP TABLE `ac_tax_rates`
#2955 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2956 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2957 - info - DROP TABLE `ac_notebook_pages`
#2958 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2959 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2960 - info - DROP TABLE `ac_notebook_page_versions`
#2961 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2962 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2963 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2964 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2965 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2966 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2967 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2968 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2969 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2970 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2971 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2972 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2973 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2974 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2975 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2976 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2977 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2978 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2979 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2980 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2981 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2982 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2983 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2984 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2985 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2986 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2987 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2988 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2989 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2990 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2991 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2992 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2993 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2994 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2995 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2996 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2997 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2998 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2999 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3000 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3001 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3002 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3003 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3004 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3005 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3006 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3007 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3008 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3009 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3010 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3011 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3012 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3013 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3014 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3015 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3016 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3017 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3018 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3019 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3020 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3021 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3022 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3023 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3024 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3025 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3026 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3027 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3028 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3029 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3030 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3031 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3032 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3033 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3034 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3035 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3036 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3037 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3038 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3039 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3040 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3041 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3042 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3043 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3044 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3045 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3046 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3047 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3048 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3049 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3050 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3051 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3052 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3053 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3054 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3056 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3058 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3059 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3082 - info - BEGIN WORK
#3083 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3084 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3085 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3086 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3087 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3088 - info - COMMIT
#3089 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3090 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3091 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3093 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3094 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3095 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3096 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3097 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3098 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3099 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3100 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3101 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3102 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3103 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3105 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3106 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3107 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3108 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3109 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3110 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3111 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3112 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3113 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3114 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3115 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3116 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3117 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3118 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3119 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3120 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3121 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3122 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3123 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3124 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3125 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3126 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3127 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3128 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3129 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3135 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3137 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373659;')
#3143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3145 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3146 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3147 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3148 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3149 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3151 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3153 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3154 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3155 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3156 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3157 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3158 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3159 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3160 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3162 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3163 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3164 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3165 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3166 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3167 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3168 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3169 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3170 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3171 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3175 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3176 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3177 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3178 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3180 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3181 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3182 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3183 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3184 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3185 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3186 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3187 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3188 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3189 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3190 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:19', '1')
#3191 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3192 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3193 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3194 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3195 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3196 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3197 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3198 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3199 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3200 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3201 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3202 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3203 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3204 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3205 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3206 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3207 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3208 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3209 - info - BEGIN WORK
#3210 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3211 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3212 - info - COMMIT
#3213 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3214 - info - BEGIN WORK
#3215 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3216 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3217 - info - COMMIT
#3218 - info - BEGIN WORK
#3219 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3220 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3221 - info - COMMIT
#3222 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3223 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3224 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3225 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3226 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3227 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3228 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3229 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3230 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3231 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3232 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3233 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3234 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3235 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3236 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3237 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3238 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3239 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3240 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3241 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3242 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3243 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3244 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3245 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3246 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3247 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3248 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3249 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3250 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3251 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3252 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3253 - info - SHOW TABLES LIKE 'ac_job_types'
#3254 - info - SELECT COUNT(id) FROM ac_job_types
#3255 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3256 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3257 - info - BEGIN WORK
#3258 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3259 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3260 - info - COMMIT
#3261 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3262 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3263 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3264 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3265 - info - SELECT COUNT(name) FROM ac_modules
#3266 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3267 - info - SELECT name FROM ac_modules
#3268 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3269 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3270 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3271 - info - Cache miss 'config_values'
#3272 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3273 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3274 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3275 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3276 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3277 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3278 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3279 - info - BEGIN WORK
#3280 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3281 - info - Cache hit 'config_values'
#3282 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3283 - info - UPDATE ac_config_options SET value = 'i:1387373659;' WHERE name = 'search_initialized_on'
#3284 - info - COMMIT
#3285 - info - Cache miss 'models/users/1'
#3286 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3287 - info - SELECT COUNT(*) FROM  ac_config_options
#3288 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'N;')
#3289 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 1', 'N;')
#3290 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 'N;')
#3291 - info - SELECT COUNT(*) FROM ac_config_options
#3292 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3293 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3294 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3295 - info - BEGIN WORK
#3296 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3297 - info - Cache miss 'config_values'
#3298 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3299 - info - UPDATE ac_config_options SET value = 's:7:\"Value 1\";' WHERE name = 'Option 1'
#3300 - info - COMMIT
#3301 - info - BEGIN WORK
#3302 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3303 - info - Cache hit 'config_values'
#3304 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3305 - info - UPDATE ac_config_options SET value = 's:7:\"Value 2\";' WHERE name = 'Option 2'
#3306 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3307 - info - UPDATE ac_config_options SET value = 's:7:\"Value 3\";' WHERE name = 'Option 3'
#3308 - info - COMMIT
#3309 - info - Cache hit 'config_values'
#3310 - info - Cache hit 'config_values'
#3311 - info - Cache hit 'config_values'
#3312 - info - Cache hit 'config_values'
#3313 - info - BEGIN WORK
#3314 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#3315 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#3316 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3317 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3318 - info - COMMIT
#3319 - info - SELECT COUNT(*) FROM ac_config_options
#3320 - info - SHOW TABLES LIKE 'ac_config_options'
#3321 - info - SHOW TABLES LIKE 'ac_config_options'
#3322 - info - DROP TABLE `ac_config_options`
#3323 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3324 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3325 - info - DROP TABLE `ac_config_option_values`
#3326 - info - SHOW TABLES LIKE 'ac_modules'
#3327 - info - SHOW TABLES LIKE 'ac_modules'
#3328 - info - DROP TABLE `ac_modules`
#3329 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3330 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3331 - info - DROP TABLE `ac_executed_model_migrations`
#3332 - info - SHOW TABLES LIKE 'ac_update_history'
#3333 - info - SHOW TABLES LIKE 'ac_update_history'
#3334 - info - DROP TABLE `ac_update_history`
#3335 - info - SHOW TABLES LIKE 'ac_access_logs'
#3336 - info - SHOW TABLES LIKE 'ac_access_logs'
#3337 - info - DROP TABLE `ac_access_logs`
#3338 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3339 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3340 - info - DROP TABLE `ac_access_logs_archive`
#3341 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3342 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3343 - info - DROP TABLE `ac_object_contexts`
#3344 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3345 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3346 - info - DROP TABLE `ac_routing_cache`
#3347 - info - SHOW TABLES LIKE 'ac_currencies'
#3348 - info - SHOW TABLES LIKE 'ac_currencies'
#3349 - info - DROP TABLE `ac_currencies`
#3350 - info - SHOW TABLES LIKE 'ac_day_offs'
#3351 - info - SHOW TABLES LIKE 'ac_day_offs'
#3352 - info - DROP TABLE `ac_day_offs`
#3353 - info - SHOW TABLES LIKE 'ac_languages'
#3354 - info - SHOW TABLES LIKE 'ac_languages'
#3355 - info - DROP TABLE `ac_languages`
#3356 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3357 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3358 - info - DROP TABLE `ac_language_phrases`
#3359 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3360 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3361 - info - DROP TABLE `ac_language_phrase_translations`
#3362 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3363 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3364 - info - DROP TABLE `ac_api_client_subscriptions`
#3365 - info - SHOW TABLES LIKE 'ac_users'
#3366 - info - SHOW TABLES LIKE 'ac_users'
#3367 - info - DROP TABLE `ac_users`
#3368 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3369 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3370 - info - DROP TABLE `ac_user_addresses`
#3371 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3372 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3373 - info - DROP TABLE `ac_user_sessions`
#3374 - info - SHOW TABLES LIKE 'ac_security_logs'
#3375 - info - SHOW TABLES LIKE 'ac_security_logs'
#3376 - info - DROP TABLE `ac_security_logs`
#3377 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3378 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3379 - info - DROP TABLE `ac_api_token_logs`
#3380 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3381 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3382 - info - DROP TABLE `ac_activity_logs`
#3383 - info - SHOW TABLES LIKE 'ac_data_filters'
#3384 - info - SHOW TABLES LIKE 'ac_data_filters'
#3385 - info - DROP TABLE `ac_data_filters`
#3386 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3387 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3388 - info - DROP TABLE `ac_modification_logs`
#3389 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3390 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3391 - info - DROP TABLE `ac_modification_log_values`
#3392 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3393 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3394 - info - DROP TABLE `ac_mailing_activity_logs`
#3395 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3396 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3397 - info - DROP TABLE `ac_outgoing_messages`
#3398 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3399 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3400 - info - DROP TABLE `ac_incoming_mail_attachments`
#3401 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3402 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3403 - info - DROP TABLE `ac_incoming_mail_filters`
#3404 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3405 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3406 - info - DROP TABLE `ac_incoming_mailboxes`
#3407 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3408 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3409 - info - DROP TABLE `ac_incoming_mails`
#3410 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3411 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3412 - info - DROP TABLE `ac_homescreen_tabs`
#3413 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3414 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3415 - info - DROP TABLE `ac_homescreen_widgets`
#3416 - info - SHOW TABLES LIKE 'ac_announcements'
#3417 - info - SHOW TABLES LIKE 'ac_announcements'
#3418 - info - DROP TABLE `ac_announcements`
#3419 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3420 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3421 - info - DROP TABLE `ac_announcement_target_ids`
#3422 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3423 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3424 - info - DROP TABLE `ac_announcement_dismissals`
#3425 - info - SHOW TABLES LIKE 'ac_attachments'
#3426 - info - SHOW TABLES LIKE 'ac_attachments'
#3427 - info - DROP TABLE `ac_attachments`
#3428 - info - SHOW TABLES LIKE 'ac_notifications'
#3429 - info - SHOW TABLES LIKE 'ac_notifications'
#3430 - info - DROP TABLE `ac_notifications`
#3431 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3432 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3433 - info - DROP TABLE `ac_notification_recipients`
#3434 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3435 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3436 - info - DROP TABLE `ac_subscriptions`
#3437 - info - SHOW TABLES LIKE 'ac_comments'
#3438 - info - SHOW TABLES LIKE 'ac_comments'
#3439 - info - DROP TABLE `ac_comments`
#3440 - info - SHOW TABLES LIKE 'ac_categories'
#3441 - info - SHOW TABLES LIKE 'ac_categories'
#3442 - info - DROP TABLE `ac_categories`
#3443 - info - SHOW TABLES LIKE 'ac_labels'
#3444 - info - SHOW TABLES LIKE 'ac_labels'
#3445 - info - DROP TABLE `ac_labels`
#3446 - info - SHOW TABLES LIKE 'ac_assignments'
#3447 - info - SHOW TABLES LIKE 'ac_assignments'
#3448 - info - DROP TABLE `ac_assignments`
#3449 - info - SHOW TABLES LIKE 'ac_subtasks'
#3450 - info - SHOW TABLES LIKE 'ac_subtasks'
#3451 - info - DROP TABLE `ac_subtasks`
#3452 - info - SHOW TABLES LIKE 'ac_favorites'
#3453 - info - SHOW TABLES LIKE 'ac_favorites'
#3454 - info - DROP TABLE `ac_favorites`
#3455 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3456 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3457 - info - DROP TABLE `ac_code_snippets`
#3458 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3459 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3460 - info - DROP TABLE `ac_payment_gateways`
#3461 - info - SHOW TABLES LIKE 'ac_payments'
#3462 - info - SHOW TABLES LIKE 'ac_payments'
#3463 - info - DROP TABLE `ac_payments`
#3464 - info - SHOW TABLES LIKE 'ac_reminders'
#3465 - info - SHOW TABLES LIKE 'ac_reminders'
#3466 - info - DROP TABLE `ac_reminders`
#3467 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3468 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3469 - info - DROP TABLE `ac_reminder_users`
#3470 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3471 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3472 - info - DROP TABLE `ac_custom_fields`
#3473 - info - SHOW TABLES LIKE 'ac_calendars'
#3474 - info - SHOW TABLES LIKE 'ac_calendars'
#3475 - info - DROP TABLE `ac_calendars`
#3476 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3477 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3478 - info - DROP TABLE `ac_calendar_events`
#3479 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3480 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3481 - info - DROP TABLE `ac_calendar_users`
#3482 - info - SHOW TABLES LIKE 'ac_data_sources'
#3483 - info - SHOW TABLES LIKE 'ac_data_sources'
#3484 - info - DROP TABLE `ac_data_sources`
#3485 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3486 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3487 - info - DROP TABLE `ac_data_source_mappings`
#3488 - info - SHOW TABLES LIKE 'ac_companies'
#3489 - info - SHOW TABLES LIKE 'ac_companies'
#3490 - info - DROP TABLE `ac_companies`
#3491 - info - SHOW TABLES LIKE 'ac_projects'
#3492 - info - SHOW TABLES LIKE 'ac_projects'
#3493 - info - DROP TABLE `ac_projects`
#3494 - info - SHOW TABLES LIKE 'ac_project_roles'
#3495 - info - SHOW TABLES LIKE 'ac_project_roles'
#3496 - info - DROP TABLE `ac_project_roles`
#3497 - info - SHOW TABLES LIKE 'ac_project_users'
#3498 - info - SHOW TABLES LIKE 'ac_project_users'
#3499 - info - DROP TABLE `ac_project_users`
#3500 - info - SHOW TABLES LIKE 'ac_project_requests'
#3501 - info - SHOW TABLES LIKE 'ac_project_requests'
#3502 - info - DROP TABLE `ac_project_requests`
#3503 - info - SHOW TABLES LIKE 'ac_project_objects'
#3504 - info - SHOW TABLES LIKE 'ac_project_objects'
#3505 - info - DROP TABLE `ac_project_objects`
#3506 - info - SHOW TABLES LIKE 'ac_project_templates'
#3507 - info - SHOW TABLES LIKE 'ac_project_templates'
#3508 - info - DROP TABLE `ac_project_templates`
#3509 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3510 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3511 - info - DROP TABLE `ac_project_object_templates`
#3512 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3513 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3514 - info - DROP TABLE `ac_shared_object_profiles`
#3515 - info - SHOW TABLES LIKE 'ac_file_versions'
#3516 - info - SHOW TABLES LIKE 'ac_file_versions'
#3517 - info - DROP TABLE `ac_file_versions`
#3518 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3519 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3520 - info - DROP TABLE `ac_text_document_versions`
#3521 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3522 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3523 - info - DROP TABLE `ac_public_task_forms`
#3524 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3525 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3526 - info - DROP TABLE `ac_related_tasks`
#3527 - info - SHOW TABLES LIKE 'ac_task_segments'
#3528 - info - SHOW TABLES LIKE 'ac_task_segments'
#3529 - info - DROP TABLE `ac_task_segments`
#3530 - info - SHOW TABLES LIKE 'ac_status_updates'
#3531 - info - SHOW TABLES LIKE 'ac_status_updates'
#3532 - info - DROP TABLE `ac_status_updates`
#3533 - info - SHOW TABLES LIKE 'ac_documents'
#3534 - info - SHOW TABLES LIKE 'ac_documents'
#3535 - info - DROP TABLE `ac_documents`
#3536 - info - SHOW TABLES LIKE 'ac_time_records'
#3537 - info - SHOW TABLES LIKE 'ac_time_records'
#3538 - info - DROP TABLE `ac_time_records`
#3539 - info - SHOW TABLES LIKE 'ac_job_types'
#3540 - info - SHOW TABLES LIKE 'ac_job_types'
#3541 - info - DROP TABLE `ac_job_types`
#3542 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3543 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3544 - info - DROP TABLE `ac_project_hourly_rates`
#3545 - info - SHOW TABLES LIKE 'ac_expenses'
#3546 - info - SHOW TABLES LIKE 'ac_expenses'
#3547 - info - DROP TABLE `ac_expenses`
#3548 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3549 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3550 - info - DROP TABLE `ac_expense_categories`
#3551 - info - SHOW TABLES LIKE 'ac_estimates'
#3552 - info - SHOW TABLES LIKE 'ac_estimates'
#3553 - info - DROP TABLE `ac_estimates`
#3554 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3555 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3556 - info - DROP TABLE `ac_invoice_objects`
#3557 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3558 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3559 - info - DROP TABLE `ac_invoice_object_items`
#3560 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3561 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3562 - info - DROP TABLE `ac_invoice_item_templates`
#3563 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3564 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3565 - info - DROP TABLE `ac_invoice_note_templates`
#3566 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3567 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3568 - info - DROP TABLE `ac_invoice_related_records`
#3569 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3570 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3571 - info - DROP TABLE `ac_tax_rates`
#3572 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3573 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3574 - info - DROP TABLE `ac_notebook_pages`
#3575 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3576 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3577 - info - DROP TABLE `ac_notebook_page_versions`
#3578 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3579 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3580 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3581 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3582 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3583 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3584 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3585 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3586 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3587 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3588 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3589 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3590 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3591 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3592 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3593 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3594 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3595 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3596 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3597 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3598 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3599 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3600 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3601 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3602 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3603 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3604 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3605 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3606 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3607 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3608 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3609 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3610 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3611 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3612 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3613 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3614 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3615 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3616 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3617 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3618 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3619 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3620 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3621 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3622 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3623 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3624 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3625 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3626 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3627 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3628 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3629 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3630 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3631 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3632 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3633 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3634 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3635 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3636 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3637 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3638 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3639 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3640 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3641 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3642 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3643 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3644 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3645 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3646 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3647 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3648 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3649 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3650 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3651 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3652 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3653 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3654 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3655 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3656 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3657 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3658 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3659 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3660 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3661 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3662 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3663 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3666 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3667 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3668 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3669 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3670 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3687 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3688 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3689 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3690 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3691 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3692 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3697 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3698 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3699 - info - BEGIN WORK
#3700 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3701 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3702 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3703 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3704 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3705 - info - COMMIT
#3706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3708 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3709 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3710 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3711 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3712 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3716 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3718 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3733 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3734 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3735 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3736 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3737 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3738 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3739 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3740 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3741 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3742 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3743 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3744 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3745 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3746 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3747 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3748 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3749 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3750 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3751 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3752 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3753 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3754 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3756 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3757 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3758 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3759 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373660;')
#3760 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3761 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3762 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3772 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3773 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3774 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3775 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3776 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3777 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3778 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3779 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3780 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3781 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3782 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3783 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3784 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3785 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3786 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3787 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3788 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3789 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3790 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3791 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3792 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3793 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3794 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3795 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3796 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3797 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3798 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3799 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3800 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3801 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3802 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3803 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3804 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3805 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3806 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3807 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:20', '1')
#3808 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3809 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3810 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3811 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3812 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3813 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3814 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3815 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3816 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3817 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3818 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3819 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3820 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3821 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3822 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3823 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3824 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3825 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3826 - info - BEGIN WORK
#3827 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3828 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3829 - info - COMMIT
#3830 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3831 - info - BEGIN WORK
#3832 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3833 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3834 - info - COMMIT
#3835 - info - BEGIN WORK
#3836 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3837 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3838 - info - COMMIT
#3839 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3840 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3841 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3842 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3843 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3844 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3845 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3846 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3847 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3848 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3849 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3850 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3851 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3852 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3853 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3854 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3855 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3856 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3857 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3858 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3859 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3860 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3861 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3862 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3863 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3864 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3865 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3866 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3867 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3868 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3869 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3870 - info - SHOW TABLES LIKE 'ac_job_types'
#3871 - info - SELECT COUNT(id) FROM ac_job_types
#3872 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3873 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3874 - info - BEGIN WORK
#3875 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3876 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3877 - info - COMMIT
#3878 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3879 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3880 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3881 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3882 - info - SELECT COUNT(name) FROM ac_modules
#3883 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3884 - info - SELECT name FROM ac_modules
#3885 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3886 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3887 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3888 - info - Cache miss 'config_values'
#3889 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3890 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3891 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3892 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3893 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3894 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3895 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3896 - info - BEGIN WORK
#3897 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3898 - info - Cache hit 'config_values'
#3899 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3900 - info - UPDATE ac_config_options SET value = 'i:1387373660;' WHERE name = 'search_initialized_on'
#3901 - info - COMMIT
#3902 - info - Cache miss 'models/users/1'
#3903 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3904 - info - SELECT COUNT(*) FROM  ac_config_options
#3905 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'system', 'i:1983;')
#3906 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'system', 's:10:\"Google.com\";')
#3907 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'system', 'a:6:{i:0;s:8:\"Belgrade\";i:1;s:6:\"Zagreb\";i:2;s:9:\"Ljubljana\";i:3;s:8:\"Sarajevo\";i:4;s:9:\"Podgorica\";i:5;s:7:\"Skoplje\";}')
#3908 - info - SELECT COUNT(*) FROM ac_config_options
#3909 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3910 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3911 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3912 - info - BEGIN WORK
#3913 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3914 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3915 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3916 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3917 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '1', 's:7:\"Value 1\";')
#3918 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3919 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3920 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '1', 's:7:\"Value 3\";')
#3921 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3922 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3923 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 2', 'TestConfigOptionsObject1', '1', 's:7:\"Value 2\";')
#3924 - info - COMMIT
#3925 - info - BEGIN WORK
#3926 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3927 - info - Cache miss 'models/test_config_options_object1s/2/config_options'
#3928 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3929 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3930 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '2', 's:25:\"Value 1 for second object\";')
#3931 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3932 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3933 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '2', 's:7:\"Value 3\";')
#3934 - info - COMMIT
#3935 - info - BEGIN WORK
#3936 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3937 - info - Cache miss 'models/test_config_options_object2s/1/config_options'
#3938 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3939 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject2' AND parent_id = '1'
#3940 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject2', '1', 'i:1;')
#3941 - info - COMMIT
#3942 - info - SELECT COUNT(*) FROM ac_config_option_values
#3943 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3944 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject2'
#3945 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3946 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3947 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3948 - info - DELETE FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3949 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3950 - info - Cache miss 'config_values'
#3951 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3952 - info - BEGIN WORK
#3953 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3954 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3955 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3956 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3957 - info - UPDATE ac_config_option_values SET value = 's:9:\"Yahoo.com\";' WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3958 - info - COMMIT
#3959 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3960 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3961 - info - Cache hit 'models/test_config_options_object1s/1/config_options'
#3962 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3963 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 2') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3964 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#3965 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3966 - info - Cache hit 'config_values'
#3967 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3968 - info - SHOW TABLES LIKE 'ac_config_options'
#3969 - info - SHOW TABLES LIKE 'ac_config_options'
#3970 - info - DROP TABLE `ac_config_options`
#3971 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3972 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3973 - info - DROP TABLE `ac_config_option_values`
#3974 - info - SHOW TABLES LIKE 'ac_modules'
#3975 - info - SHOW TABLES LIKE 'ac_modules'
#3976 - info - DROP TABLE `ac_modules`
#3977 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3978 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3979 - info - DROP TABLE `ac_executed_model_migrations`
#3980 - info - SHOW TABLES LIKE 'ac_update_history'
#3981 - info - SHOW TABLES LIKE 'ac_update_history'
#3982 - info - DROP TABLE `ac_update_history`
#3983 - info - SHOW TABLES LIKE 'ac_access_logs'
#3984 - info - SHOW TABLES LIKE 'ac_access_logs'
#3985 - info - DROP TABLE `ac_access_logs`
#3986 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3987 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3988 - info - DROP TABLE `ac_access_logs_archive`
#3989 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3990 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3991 - info - DROP TABLE `ac_object_contexts`
#3992 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3993 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3994 - info - DROP TABLE `ac_routing_cache`
#3995 - info - SHOW TABLES LIKE 'ac_currencies'
#3996 - info - SHOW TABLES LIKE 'ac_currencies'
#3997 - info - DROP TABLE `ac_currencies`
#3998 - info - SHOW TABLES LIKE 'ac_day_offs'
#3999 - info - SHOW TABLES LIKE 'ac_day_offs'
#4000 - info - DROP TABLE `ac_day_offs`
#4001 - info - SHOW TABLES LIKE 'ac_languages'
#4002 - info - SHOW TABLES LIKE 'ac_languages'
#4003 - info - DROP TABLE `ac_languages`
#4004 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4005 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4006 - info - DROP TABLE `ac_language_phrases`
#4007 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4008 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4009 - info - DROP TABLE `ac_language_phrase_translations`
#4010 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4011 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4012 - info - DROP TABLE `ac_api_client_subscriptions`
#4013 - info - SHOW TABLES LIKE 'ac_users'
#4014 - info - SHOW TABLES LIKE 'ac_users'
#4015 - info - DROP TABLE `ac_users`
#4016 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4017 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4018 - info - DROP TABLE `ac_user_addresses`
#4019 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4020 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4021 - info - DROP TABLE `ac_user_sessions`
#4022 - info - SHOW TABLES LIKE 'ac_security_logs'
#4023 - info - SHOW TABLES LIKE 'ac_security_logs'
#4024 - info - DROP TABLE `ac_security_logs`
#4025 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4026 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4027 - info - DROP TABLE `ac_api_token_logs`
#4028 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4029 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4030 - info - DROP TABLE `ac_activity_logs`
#4031 - info - SHOW TABLES LIKE 'ac_data_filters'
#4032 - info - SHOW TABLES LIKE 'ac_data_filters'
#4033 - info - DROP TABLE `ac_data_filters`
#4034 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4035 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4036 - info - DROP TABLE `ac_modification_logs`
#4037 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4038 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4039 - info - DROP TABLE `ac_modification_log_values`
#4040 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4041 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4042 - info - DROP TABLE `ac_mailing_activity_logs`
#4043 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4044 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4045 - info - DROP TABLE `ac_outgoing_messages`
#4046 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4047 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4048 - info - DROP TABLE `ac_incoming_mail_attachments`
#4049 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4050 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4051 - info - DROP TABLE `ac_incoming_mail_filters`
#4052 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4053 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4054 - info - DROP TABLE `ac_incoming_mailboxes`
#4055 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4056 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4057 - info - DROP TABLE `ac_incoming_mails`
#4058 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4059 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4060 - info - DROP TABLE `ac_homescreen_tabs`
#4061 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4062 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4063 - info - DROP TABLE `ac_homescreen_widgets`
#4064 - info - SHOW TABLES LIKE 'ac_announcements'
#4065 - info - SHOW TABLES LIKE 'ac_announcements'
#4066 - info - DROP TABLE `ac_announcements`
#4067 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4068 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4069 - info - DROP TABLE `ac_announcement_target_ids`
#4070 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4071 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4072 - info - DROP TABLE `ac_announcement_dismissals`
#4073 - info - SHOW TABLES LIKE 'ac_attachments'
#4074 - info - SHOW TABLES LIKE 'ac_attachments'
#4075 - info - DROP TABLE `ac_attachments`
#4076 - info - SHOW TABLES LIKE 'ac_notifications'
#4077 - info - SHOW TABLES LIKE 'ac_notifications'
#4078 - info - DROP TABLE `ac_notifications`
#4079 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4080 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4081 - info - DROP TABLE `ac_notification_recipients`
#4082 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4083 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4084 - info - DROP TABLE `ac_subscriptions`
#4085 - info - SHOW TABLES LIKE 'ac_comments'
#4086 - info - SHOW TABLES LIKE 'ac_comments'
#4087 - info - DROP TABLE `ac_comments`
#4088 - info - SHOW TABLES LIKE 'ac_categories'
#4089 - info - SHOW TABLES LIKE 'ac_categories'
#4090 - info - DROP TABLE `ac_categories`
#4091 - info - SHOW TABLES LIKE 'ac_labels'
#4092 - info - SHOW TABLES LIKE 'ac_labels'
#4093 - info - DROP TABLE `ac_labels`
#4094 - info - SHOW TABLES LIKE 'ac_assignments'
#4095 - info - SHOW TABLES LIKE 'ac_assignments'
#4096 - info - DROP TABLE `ac_assignments`
#4097 - info - SHOW TABLES LIKE 'ac_subtasks'
#4098 - info - SHOW TABLES LIKE 'ac_subtasks'
#4099 - info - DROP TABLE `ac_subtasks`
#4100 - info - SHOW TABLES LIKE 'ac_favorites'
#4101 - info - SHOW TABLES LIKE 'ac_favorites'
#4102 - info - DROP TABLE `ac_favorites`
#4103 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4104 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4105 - info - DROP TABLE `ac_code_snippets`
#4106 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4107 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4108 - info - DROP TABLE `ac_payment_gateways`
#4109 - info - SHOW TABLES LIKE 'ac_payments'
#4110 - info - SHOW TABLES LIKE 'ac_payments'
#4111 - info - DROP TABLE `ac_payments`
#4112 - info - SHOW TABLES LIKE 'ac_reminders'
#4113 - info - SHOW TABLES LIKE 'ac_reminders'
#4114 - info - DROP TABLE `ac_reminders`
#4115 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4116 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4117 - info - DROP TABLE `ac_reminder_users`
#4118 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4119 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4120 - info - DROP TABLE `ac_custom_fields`
#4121 - info - SHOW TABLES LIKE 'ac_calendars'
#4122 - info - SHOW TABLES LIKE 'ac_calendars'
#4123 - info - DROP TABLE `ac_calendars`
#4124 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4125 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4126 - info - DROP TABLE `ac_calendar_events`
#4127 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4128 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4129 - info - DROP TABLE `ac_calendar_users`
#4130 - info - SHOW TABLES LIKE 'ac_data_sources'
#4131 - info - SHOW TABLES LIKE 'ac_data_sources'
#4132 - info - DROP TABLE `ac_data_sources`
#4133 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4134 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4135 - info - DROP TABLE `ac_data_source_mappings`
#4136 - info - SHOW TABLES LIKE 'ac_companies'
#4137 - info - SHOW TABLES LIKE 'ac_companies'
#4138 - info - DROP TABLE `ac_companies`
#4139 - info - SHOW TABLES LIKE 'ac_projects'
#4140 - info - SHOW TABLES LIKE 'ac_projects'
#4141 - info - DROP TABLE `ac_projects`
#4142 - info - SHOW TABLES LIKE 'ac_project_roles'
#4143 - info - SHOW TABLES LIKE 'ac_project_roles'
#4144 - info - DROP TABLE `ac_project_roles`
#4145 - info - SHOW TABLES LIKE 'ac_project_users'
#4146 - info - SHOW TABLES LIKE 'ac_project_users'
#4147 - info - DROP TABLE `ac_project_users`
#4148 - info - SHOW TABLES LIKE 'ac_project_requests'
#4149 - info - SHOW TABLES LIKE 'ac_project_requests'
#4150 - info - DROP TABLE `ac_project_requests`
#4151 - info - SHOW TABLES LIKE 'ac_project_objects'
#4152 - info - SHOW TABLES LIKE 'ac_project_objects'
#4153 - info - DROP TABLE `ac_project_objects`
#4154 - info - SHOW TABLES LIKE 'ac_project_templates'
#4155 - info - SHOW TABLES LIKE 'ac_project_templates'
#4156 - info - DROP TABLE `ac_project_templates`
#4157 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4158 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4159 - info - DROP TABLE `ac_project_object_templates`
#4160 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4161 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4162 - info - DROP TABLE `ac_shared_object_profiles`
#4163 - info - SHOW TABLES LIKE 'ac_file_versions'
#4164 - info - SHOW TABLES LIKE 'ac_file_versions'
#4165 - info - DROP TABLE `ac_file_versions`
#4166 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4167 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4168 - info - DROP TABLE `ac_text_document_versions`
#4169 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4170 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4171 - info - DROP TABLE `ac_public_task_forms`
#4172 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4173 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4174 - info - DROP TABLE `ac_related_tasks`
#4175 - info - SHOW TABLES LIKE 'ac_task_segments'
#4176 - info - SHOW TABLES LIKE 'ac_task_segments'
#4177 - info - DROP TABLE `ac_task_segments`
#4178 - info - SHOW TABLES LIKE 'ac_status_updates'
#4179 - info - SHOW TABLES LIKE 'ac_status_updates'
#4180 - info - DROP TABLE `ac_status_updates`
#4181 - info - SHOW TABLES LIKE 'ac_documents'
#4182 - info - SHOW TABLES LIKE 'ac_documents'
#4183 - info - DROP TABLE `ac_documents`
#4184 - info - SHOW TABLES LIKE 'ac_time_records'
#4185 - info - SHOW TABLES LIKE 'ac_time_records'
#4186 - info - DROP TABLE `ac_time_records`
#4187 - info - SHOW TABLES LIKE 'ac_job_types'
#4188 - info - SHOW TABLES LIKE 'ac_job_types'
#4189 - info - DROP TABLE `ac_job_types`
#4190 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4191 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4192 - info - DROP TABLE `ac_project_hourly_rates`
#4193 - info - SHOW TABLES LIKE 'ac_expenses'
#4194 - info - SHOW TABLES LIKE 'ac_expenses'
#4195 - info - DROP TABLE `ac_expenses`
#4196 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4197 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4198 - info - DROP TABLE `ac_expense_categories`
#4199 - info - SHOW TABLES LIKE 'ac_estimates'
#4200 - info - SHOW TABLES LIKE 'ac_estimates'
#4201 - info - DROP TABLE `ac_estimates`
#4202 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4203 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4204 - info - DROP TABLE `ac_invoice_objects`
#4205 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4206 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4207 - info - DROP TABLE `ac_invoice_object_items`
#4208 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4209 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4210 - info - DROP TABLE `ac_invoice_item_templates`
#4211 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4212 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4213 - info - DROP TABLE `ac_invoice_note_templates`
#4214 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4215 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4216 - info - DROP TABLE `ac_invoice_related_records`
#4217 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4218 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4219 - info - DROP TABLE `ac_tax_rates`
#4220 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4221 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4222 - info - DROP TABLE `ac_notebook_pages`
#4223 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4224 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4225 - info - DROP TABLE `ac_notebook_page_versions`
#4226 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4227 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4228 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4229 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4230 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4231 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4232 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4233 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4234 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4235 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4236 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4237 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4238 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4239 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4240 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4241 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4242 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4243 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4244 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4245 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4246 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4247 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4248 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4249 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4250 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4251 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4252 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4253 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4254 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4255 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4256 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4257 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4258 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4259 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4260 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4261 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4262 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4263 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4264 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4265 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4266 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4267 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4268 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4269 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4270 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4271 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4272 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4273 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4274 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4275 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4276 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4277 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4278 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4279 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4280 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4281 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4282 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4283 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4284 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4285 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4286 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4287 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4288 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4289 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4290 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4291 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4292 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4293 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4294 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4295 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4296 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4297 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4298 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4299 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4300 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4301 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4302 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4303 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4304 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4305 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4306 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4307 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4308 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4309 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4310 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4311 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4313 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4314 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4315 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4316 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4317 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4318 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4319 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4345 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4346 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4347 - info - BEGIN WORK
#4348 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4349 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4350 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4351 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4352 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4353 - info - COMMIT
#4354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4374 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4375 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4376 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4381 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4382 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4383 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4384 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4385 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4386 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4387 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4388 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4389 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4390 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4391 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4392 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4393 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4394 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4405 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4406 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4407 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373661;')
#4408 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4409 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4410 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4411 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4412 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4413 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4415 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4417 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4420 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4421 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4422 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4423 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4424 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4425 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4429 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4432 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4433 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#4437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#4438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#4439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#4440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#4441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#4442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#4443 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#4444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#4445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#4446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#4447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#4448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#4449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#4450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#4451 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#4452 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#4453 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#4454 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#4455 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:21', '1')
#4456 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4457 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4458 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4459 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#4461 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#4463 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#4465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#4466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#4467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#4468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#4469 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#4470 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#4471 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#4472 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#4474 - info - BEGIN WORK
#4475 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#4476 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#4477 - info - COMMIT
#4478 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#4479 - info - BEGIN WORK
#4480 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4481 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#4482 - info - COMMIT
#4483 - info - BEGIN WORK
#4484 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4485 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#4486 - info - COMMIT
#4487 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4488 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4489 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#4490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#4491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#4492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#4493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#4494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#4495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#4496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#4497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#4498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#4499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#4500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#4501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#4502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#4503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#4504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#4505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#4506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#4507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#4508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#4509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#4510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#4511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#4512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#4513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#4514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#4515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#4516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#4517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#4518 - info - SHOW TABLES LIKE 'ac_job_types'
#4519 - info - SELECT COUNT(id) FROM ac_job_types
#4520 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4521 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#4522 - info - BEGIN WORK
#4523 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#4524 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#4525 - info - COMMIT
#4526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#4527 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4528 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4529 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#4530 - info - SELECT COUNT(name) FROM ac_modules
#4531 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#4532 - info - SELECT name FROM ac_modules
#4533 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#4534 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#4535 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#4536 - info - Cache hit 'config_values'
#4537 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#4538 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#4539 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#4540 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#4541 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#4542 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#4543 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#4544 - info - BEGIN WORK
#4545 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#4546 - info - Cache hit 'config_values'
#4547 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#4548 - info - UPDATE ac_config_options SET value = 'i:1387373661;' WHERE name = 'search_initialized_on'
#4549 - info - COMMIT
#4550 - info - Cache miss 'models/users/1'
#4551 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#4552 - info - Cache hit 'models/users/1'
#4553 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('testing_user_model', 'system', 'N;')
#4554 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'testing_user_model'
#4555 - info - BEGIN WORK
#4556 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#4557 - info - Cache miss 'models/users/1/config_options'
#4558 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'testing_user_model'
#4559 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4560 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('testing_user_model', 'User', '1', 'i:123;')
#4561 - info - COMMIT
#4562 - info - Cache hit 'models/users/1/config_options'
#4563 - info - SELECT value FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4564 - info - SELECT * FROM ac_config_option_values WHERE name = 'testing_user_model'
#4565 - info - SHOW TABLES LIKE 'ac_config_options'
#4566 - info - SHOW TABLES LIKE 'ac_config_options'
#4567 - info - DROP TABLE `ac_config_options`
#4568 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4569 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4570 - info - DROP TABLE `ac_config_option_values`
#4571 - info - SHOW TABLES LIKE 'ac_modules'
#4572 - info - SHOW TABLES LIKE 'ac_modules'
#4573 - info - DROP TABLE `ac_modules`
#4574 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4575 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4576 - info - DROP TABLE `ac_executed_model_migrations`
#4577 - info - SHOW TABLES LIKE 'ac_update_history'
#4578 - info - SHOW TABLES LIKE 'ac_update_history'
#4579 - info - DROP TABLE `ac_update_history`
#4580 - info - SHOW TABLES LIKE 'ac_access_logs'
#4581 - info - SHOW TABLES LIKE 'ac_access_logs'
#4582 - info - DROP TABLE `ac_access_logs`
#4583 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4584 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4585 - info - DROP TABLE `ac_access_logs_archive`
#4586 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4587 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4588 - info - DROP TABLE `ac_object_contexts`
#4589 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4590 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4591 - info - DROP TABLE `ac_routing_cache`
#4592 - info - SHOW TABLES LIKE 'ac_currencies'
#4593 - info - SHOW TABLES LIKE 'ac_currencies'
#4594 - info - DROP TABLE `ac_currencies`
#4595 - info - SHOW TABLES LIKE 'ac_day_offs'
#4596 - info - SHOW TABLES LIKE 'ac_day_offs'
#4597 - info - DROP TABLE `ac_day_offs`
#4598 - info - SHOW TABLES LIKE 'ac_languages'
#4599 - info - SHOW TABLES LIKE 'ac_languages'
#4600 - info - DROP TABLE `ac_languages`
#4601 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4602 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4603 - info - DROP TABLE `ac_language_phrases`
#4604 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4605 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4606 - info - DROP TABLE `ac_language_phrase_translations`
#4607 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4608 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4609 - info - DROP TABLE `ac_api_client_subscriptions`
#4610 - info - SHOW TABLES LIKE 'ac_users'
#4611 - info - SHOW TABLES LIKE 'ac_users'
#4612 - info - DROP TABLE `ac_users`
#4613 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4614 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4615 - info - DROP TABLE `ac_user_addresses`
#4616 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4617 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4618 - info - DROP TABLE `ac_user_sessions`
#4619 - info - SHOW TABLES LIKE 'ac_security_logs'
#4620 - info - SHOW TABLES LIKE 'ac_security_logs'
#4621 - info - DROP TABLE `ac_security_logs`
#4622 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4623 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4624 - info - DROP TABLE `ac_api_token_logs`
#4625 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4626 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4627 - info - DROP TABLE `ac_activity_logs`
#4628 - info - SHOW TABLES LIKE 'ac_data_filters'
#4629 - info - SHOW TABLES LIKE 'ac_data_filters'
#4630 - info - DROP TABLE `ac_data_filters`
#4631 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4632 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4633 - info - DROP TABLE `ac_modification_logs`
#4634 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4635 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4636 - info - DROP TABLE `ac_modification_log_values`
#4637 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4638 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4639 - info - DROP TABLE `ac_mailing_activity_logs`
#4640 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4641 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4642 - info - DROP TABLE `ac_outgoing_messages`
#4643 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4644 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4645 - info - DROP TABLE `ac_incoming_mail_attachments`
#4646 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4647 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4648 - info - DROP TABLE `ac_incoming_mail_filters`
#4649 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4650 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4651 - info - DROP TABLE `ac_incoming_mailboxes`
#4652 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4653 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4654 - info - DROP TABLE `ac_incoming_mails`
#4655 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4656 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4657 - info - DROP TABLE `ac_homescreen_tabs`
#4658 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4659 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4660 - info - DROP TABLE `ac_homescreen_widgets`
#4661 - info - SHOW TABLES LIKE 'ac_announcements'
#4662 - info - SHOW TABLES LIKE 'ac_announcements'
#4663 - info - DROP TABLE `ac_announcements`
#4664 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4665 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4666 - info - DROP TABLE `ac_announcement_target_ids`
#4667 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4668 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4669 - info - DROP TABLE `ac_announcement_dismissals`
#4670 - info - SHOW TABLES LIKE 'ac_attachments'
#4671 - info - SHOW TABLES LIKE 'ac_attachments'
#4672 - info - DROP TABLE `ac_attachments`
#4673 - info - SHOW TABLES LIKE 'ac_notifications'
#4674 - info - SHOW TABLES LIKE 'ac_notifications'
#4675 - info - DROP TABLE `ac_notifications`
#4676 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4677 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4678 - info - DROP TABLE `ac_notification_recipients`
#4679 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4680 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4681 - info - DROP TABLE `ac_subscriptions`
#4682 - info - SHOW TABLES LIKE 'ac_comments'
#4683 - info - SHOW TABLES LIKE 'ac_comments'
#4684 - info - DROP TABLE `ac_comments`
#4685 - info - SHOW TABLES LIKE 'ac_categories'
#4686 - info - SHOW TABLES LIKE 'ac_categories'
#4687 - info - DROP TABLE `ac_categories`
#4688 - info - SHOW TABLES LIKE 'ac_labels'
#4689 - info - SHOW TABLES LIKE 'ac_labels'
#4690 - info - DROP TABLE `ac_labels`
#4691 - info - SHOW TABLES LIKE 'ac_assignments'
#4692 - info - SHOW TABLES LIKE 'ac_assignments'
#4693 - info - DROP TABLE `ac_assignments`
#4694 - info - SHOW TABLES LIKE 'ac_subtasks'
#4695 - info - SHOW TABLES LIKE 'ac_subtasks'
#4696 - info - DROP TABLE `ac_subtasks`
#4697 - info - SHOW TABLES LIKE 'ac_favorites'
#4698 - info - SHOW TABLES LIKE 'ac_favorites'
#4699 - info - DROP TABLE `ac_favorites`
#4700 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4701 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4702 - info - DROP TABLE `ac_code_snippets`
#4703 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4704 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4705 - info - DROP TABLE `ac_payment_gateways`
#4706 - info - SHOW TABLES LIKE 'ac_payments'
#4707 - info - SHOW TABLES LIKE 'ac_payments'
#4708 - info - DROP TABLE `ac_payments`
#4709 - info - SHOW TABLES LIKE 'ac_reminders'
#4710 - info - SHOW TABLES LIKE 'ac_reminders'
#4711 - info - DROP TABLE `ac_reminders`
#4712 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4713 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4714 - info - DROP TABLE `ac_reminder_users`
#4715 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4716 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4717 - info - DROP TABLE `ac_custom_fields`
#4718 - info - SHOW TABLES LIKE 'ac_calendars'
#4719 - info - SHOW TABLES LIKE 'ac_calendars'
#4720 - info - DROP TABLE `ac_calendars`
#4721 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4722 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4723 - info - DROP TABLE `ac_calendar_events`
#4724 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4725 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4726 - info - DROP TABLE `ac_calendar_users`
#4727 - info - SHOW TABLES LIKE 'ac_data_sources'
#4728 - info - SHOW TABLES LIKE 'ac_data_sources'
#4729 - info - DROP TABLE `ac_data_sources`
#4730 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4731 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4732 - info - DROP TABLE `ac_data_source_mappings`
#4733 - info - SHOW TABLES LIKE 'ac_companies'
#4734 - info - SHOW TABLES LIKE 'ac_companies'
#4735 - info - DROP TABLE `ac_companies`
#4736 - info - SHOW TABLES LIKE 'ac_projects'
#4737 - info - SHOW TABLES LIKE 'ac_projects'
#4738 - info - DROP TABLE `ac_projects`
#4739 - info - SHOW TABLES LIKE 'ac_project_roles'
#4740 - info - SHOW TABLES LIKE 'ac_project_roles'
#4741 - info - DROP TABLE `ac_project_roles`
#4742 - info - SHOW TABLES LIKE 'ac_project_users'
#4743 - info - SHOW TABLES LIKE 'ac_project_users'
#4744 - info - DROP TABLE `ac_project_users`
#4745 - info - SHOW TABLES LIKE 'ac_project_requests'
#4746 - info - SHOW TABLES LIKE 'ac_project_requests'
#4747 - info - DROP TABLE `ac_project_requests`
#4748 - info - SHOW TABLES LIKE 'ac_project_objects'
#4749 - info - SHOW TABLES LIKE 'ac_project_objects'
#4750 - info - DROP TABLE `ac_project_objects`
#4751 - info - SHOW TABLES LIKE 'ac_project_templates'
#4752 - info - SHOW TABLES LIKE 'ac_project_templates'
#4753 - info - DROP TABLE `ac_project_templates`
#4754 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4755 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4756 - info - DROP TABLE `ac_project_object_templates`
#4757 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4758 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4759 - info - DROP TABLE `ac_shared_object_profiles`
#4760 - info - SHOW TABLES LIKE 'ac_file_versions'
#4761 - info - SHOW TABLES LIKE 'ac_file_versions'
#4762 - info - DROP TABLE `ac_file_versions`
#4763 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4764 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4765 - info - DROP TABLE `ac_text_document_versions`
#4766 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4767 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4768 - info - DROP TABLE `ac_public_task_forms`
#4769 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4770 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4771 - info - DROP TABLE `ac_related_tasks`
#4772 - info - SHOW TABLES LIKE 'ac_task_segments'
#4773 - info - SHOW TABLES LIKE 'ac_task_segments'
#4774 - info - DROP TABLE `ac_task_segments`
#4775 - info - SHOW TABLES LIKE 'ac_status_updates'
#4776 - info - SHOW TABLES LIKE 'ac_status_updates'
#4777 - info - DROP TABLE `ac_status_updates`
#4778 - info - SHOW TABLES LIKE 'ac_documents'
#4779 - info - SHOW TABLES LIKE 'ac_documents'
#4780 - info - DROP TABLE `ac_documents`
#4781 - info - SHOW TABLES LIKE 'ac_time_records'
#4782 - info - SHOW TABLES LIKE 'ac_time_records'
#4783 - info - DROP TABLE `ac_time_records`
#4784 - info - SHOW TABLES LIKE 'ac_job_types'
#4785 - info - SHOW TABLES LIKE 'ac_job_types'
#4786 - info - DROP TABLE `ac_job_types`
#4787 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4788 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4789 - info - DROP TABLE `ac_project_hourly_rates`
#4790 - info - SHOW TABLES LIKE 'ac_expenses'
#4791 - info - SHOW TABLES LIKE 'ac_expenses'
#4792 - info - DROP TABLE `ac_expenses`
#4793 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4794 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4795 - info - DROP TABLE `ac_expense_categories`
#4796 - info - SHOW TABLES LIKE 'ac_estimates'
#4797 - info - SHOW TABLES LIKE 'ac_estimates'
#4798 - info - DROP TABLE `ac_estimates`
#4799 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4800 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4801 - info - DROP TABLE `ac_invoice_objects`
#4802 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4803 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4804 - info - DROP TABLE `ac_invoice_object_items`
#4805 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4806 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4807 - info - DROP TABLE `ac_invoice_item_templates`
#4808 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4809 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4810 - info - DROP TABLE `ac_invoice_note_templates`
#4811 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4812 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4813 - info - DROP TABLE `ac_invoice_related_records`
#4814 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4815 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4816 - info - DROP TABLE `ac_tax_rates`
#4817 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4818 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4819 - info - DROP TABLE `ac_notebook_pages`
#4820 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4821 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4822 - info - DROP TABLE `ac_notebook_page_versions`
#4823 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4824 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4825 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4826 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4827 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4828 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4829 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4830 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4831 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4832 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4833 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4834 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4835 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4836 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4837 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4838 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4839 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4840 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4841 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4842 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4843 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4844 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4845 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4846 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4847 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4848 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4849 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4850 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4851 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4852 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4853 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4854 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4855 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4856 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4857 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4858 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4859 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4860 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4861 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4862 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4863 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4864 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4865 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4866 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4867 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4868 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4869 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4870 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4871 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4872 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4873 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4874 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4875 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4876 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4877 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4878 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4879 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4880 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4881 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4882 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4883 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4884 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4885 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4886 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4887 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4888 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4889 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4890 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4891 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4892 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4893 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4894 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4895 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4896 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4897 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4898 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4899 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4900 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4901 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4902 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4903 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4904 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4905 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4906 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4907 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4908 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4909 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4910 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4911 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4912 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4913 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4914 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4915 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4916 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4917 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4918 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4919 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4920 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4921 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4922 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4923 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4924 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4925 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4926 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4931 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4932 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4933 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4934 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4935 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4944 - info - BEGIN WORK
#4945 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4946 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4947 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4948 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4949 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4950 - info - COMMIT
#4951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4952 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4953 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4954 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4955 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4956 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4957 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4958 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4963 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4964 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4965 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4966 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4967 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4978 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4979 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4980 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4981 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4982 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4983 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4984 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4985 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4986 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4987 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4988 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4989 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4990 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4991 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#5000 - info - Event 'on_shutdown' triggered

caching

#1 - info - APC cache backend loaded
#2 - info - File system cache backend loaded
#3 - info - File system cache backend loaded
#4 - info - File system cache backend loaded

sql

#1 - info - SET NAMES 'utf8'
#2 - info - SET SESSION character_set_database = 'utf8'
#3 - info - SHOW TABLES LIKE 'ac_config_options'
#4 - info - SHOW TABLES LIKE 'ac_config_options'
#5 - info - DROP TABLE `ac_config_options`
#6 - info - SHOW TABLES LIKE 'ac_config_option_values'
#7 - info - SHOW TABLES LIKE 'ac_config_option_values'
#8 - info - DROP TABLE `ac_config_option_values`
#9 - info - SHOW TABLES LIKE 'ac_modules'
#10 - info - SHOW TABLES LIKE 'ac_modules'
#11 - info - DROP TABLE `ac_modules`
#12 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#13 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#14 - info - DROP TABLE `ac_executed_model_migrations`
#15 - info - SHOW TABLES LIKE 'ac_update_history'
#16 - info - SHOW TABLES LIKE 'ac_update_history'
#17 - info - DROP TABLE `ac_update_history`
#18 - info - SHOW TABLES LIKE 'ac_access_logs'
#19 - info - SHOW TABLES LIKE 'ac_access_logs'
#20 - info - DROP TABLE `ac_access_logs`
#21 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#22 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#23 - info - DROP TABLE `ac_access_logs_archive`
#24 - info - SHOW TABLES LIKE 'ac_object_contexts'
#25 - info - SHOW TABLES LIKE 'ac_object_contexts'
#26 - info - DROP TABLE `ac_object_contexts`
#27 - info - SHOW TABLES LIKE 'ac_routing_cache'
#28 - info - SHOW TABLES LIKE 'ac_routing_cache'
#29 - info - DROP TABLE `ac_routing_cache`
#30 - info - SHOW TABLES LIKE 'ac_currencies'
#31 - info - SHOW TABLES LIKE 'ac_currencies'
#32 - info - DROP TABLE `ac_currencies`
#33 - info - SHOW TABLES LIKE 'ac_day_offs'
#34 - info - SHOW TABLES LIKE 'ac_day_offs'
#35 - info - DROP TABLE `ac_day_offs`
#36 - info - SHOW TABLES LIKE 'ac_languages'
#37 - info - SHOW TABLES LIKE 'ac_languages'
#38 - info - DROP TABLE `ac_languages`
#39 - info - SHOW TABLES LIKE 'ac_language_phrases'
#40 - info - SHOW TABLES LIKE 'ac_language_phrases'
#41 - info - DROP TABLE `ac_language_phrases`
#42 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#43 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#44 - info - DROP TABLE `ac_language_phrase_translations`
#45 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#46 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#47 - info - DROP TABLE `ac_api_client_subscriptions`
#48 - info - SHOW TABLES LIKE 'ac_users'
#49 - info - SHOW TABLES LIKE 'ac_users'
#50 - info - DROP TABLE `ac_users`
#51 - info - SHOW TABLES LIKE 'ac_user_addresses'
#52 - info - SHOW TABLES LIKE 'ac_user_addresses'
#53 - info - DROP TABLE `ac_user_addresses`
#54 - info - SHOW TABLES LIKE 'ac_user_sessions'
#55 - info - SHOW TABLES LIKE 'ac_user_sessions'
#56 - info - DROP TABLE `ac_user_sessions`
#57 - info - SHOW TABLES LIKE 'ac_security_logs'
#58 - info - SHOW TABLES LIKE 'ac_security_logs'
#59 - info - DROP TABLE `ac_security_logs`
#60 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#61 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#62 - info - DROP TABLE `ac_api_token_logs`
#63 - info - SHOW TABLES LIKE 'ac_activity_logs'
#64 - info - SHOW TABLES LIKE 'ac_activity_logs'
#65 - info - DROP TABLE `ac_activity_logs`
#66 - info - SHOW TABLES LIKE 'ac_data_filters'
#67 - info - SHOW TABLES LIKE 'ac_data_filters'
#68 - info - DROP TABLE `ac_data_filters`
#69 - info - SHOW TABLES LIKE 'ac_modification_logs'
#70 - info - SHOW TABLES LIKE 'ac_modification_logs'
#71 - info - DROP TABLE `ac_modification_logs`
#72 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#73 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#74 - info - DROP TABLE `ac_modification_log_values`
#75 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#76 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#77 - info - DROP TABLE `ac_mailing_activity_logs`
#78 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#79 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#80 - info - DROP TABLE `ac_outgoing_messages`
#81 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#82 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#83 - info - DROP TABLE `ac_incoming_mail_attachments`
#84 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#85 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#86 - info - DROP TABLE `ac_incoming_mail_filters`
#87 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#88 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#89 - info - DROP TABLE `ac_incoming_mailboxes`
#90 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#91 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#92 - info - DROP TABLE `ac_incoming_mails`
#93 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#94 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#95 - info - DROP TABLE `ac_homescreen_tabs`
#96 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#97 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#98 - info - DROP TABLE `ac_homescreen_widgets`
#99 - info - SHOW TABLES LIKE 'ac_announcements'
#100 - info - SHOW TABLES LIKE 'ac_announcements'
#101 - info - DROP TABLE `ac_announcements`
#102 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#103 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#104 - info - DROP TABLE `ac_announcement_target_ids`
#105 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#106 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#107 - info - DROP TABLE `ac_announcement_dismissals`
#108 - info - SHOW TABLES LIKE 'ac_attachments'
#109 - info - SHOW TABLES LIKE 'ac_attachments'
#110 - info - DROP TABLE `ac_attachments`
#111 - info - SHOW TABLES LIKE 'ac_notifications'
#112 - info - SHOW TABLES LIKE 'ac_notifications'
#113 - info - DROP TABLE `ac_notifications`
#114 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#115 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#116 - info - DROP TABLE `ac_notification_recipients`
#117 - info - SHOW TABLES LIKE 'ac_subscriptions'
#118 - info - SHOW TABLES LIKE 'ac_subscriptions'
#119 - info - DROP TABLE `ac_subscriptions`
#120 - info - SHOW TABLES LIKE 'ac_comments'
#121 - info - SHOW TABLES LIKE 'ac_comments'
#122 - info - DROP TABLE `ac_comments`
#123 - info - SHOW TABLES LIKE 'ac_categories'
#124 - info - SHOW TABLES LIKE 'ac_categories'
#125 - info - DROP TABLE `ac_categories`
#126 - info - SHOW TABLES LIKE 'ac_labels'
#127 - info - SHOW TABLES LIKE 'ac_labels'
#128 - info - DROP TABLE `ac_labels`
#129 - info - SHOW TABLES LIKE 'ac_assignments'
#130 - info - SHOW TABLES LIKE 'ac_assignments'
#131 - info - DROP TABLE `ac_assignments`
#132 - info - SHOW TABLES LIKE 'ac_subtasks'
#133 - info - SHOW TABLES LIKE 'ac_subtasks'
#134 - info - DROP TABLE `ac_subtasks`
#135 - info - SHOW TABLES LIKE 'ac_favorites'
#136 - info - SHOW TABLES LIKE 'ac_favorites'
#137 - info - DROP TABLE `ac_favorites`
#138 - info - SHOW TABLES LIKE 'ac_code_snippets'
#139 - info - SHOW TABLES LIKE 'ac_code_snippets'
#140 - info - DROP TABLE `ac_code_snippets`
#141 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#142 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#143 - info - DROP TABLE `ac_payment_gateways`
#144 - info - SHOW TABLES LIKE 'ac_payments'
#145 - info - SHOW TABLES LIKE 'ac_payments'
#146 - info - DROP TABLE `ac_payments`
#147 - info - SHOW TABLES LIKE 'ac_reminders'
#148 - info - SHOW TABLES LIKE 'ac_reminders'
#149 - info - DROP TABLE `ac_reminders`
#150 - info - SHOW TABLES LIKE 'ac_reminder_users'
#151 - info - SHOW TABLES LIKE 'ac_reminder_users'
#152 - info - DROP TABLE `ac_reminder_users`
#153 - info - SHOW TABLES LIKE 'ac_custom_fields'
#154 - info - SHOW TABLES LIKE 'ac_custom_fields'
#155 - info - DROP TABLE `ac_custom_fields`
#156 - info - SHOW TABLES LIKE 'ac_calendars'
#157 - info - SHOW TABLES LIKE 'ac_calendars'
#158 - info - DROP TABLE `ac_calendars`
#159 - info - SHOW TABLES LIKE 'ac_calendar_events'
#160 - info - SHOW TABLES LIKE 'ac_calendar_events'
#161 - info - DROP TABLE `ac_calendar_events`
#162 - info - SHOW TABLES LIKE 'ac_calendar_users'
#163 - info - SHOW TABLES LIKE 'ac_calendar_users'
#164 - info - DROP TABLE `ac_calendar_users`
#165 - info - SHOW TABLES LIKE 'ac_data_sources'
#166 - info - SHOW TABLES LIKE 'ac_data_sources'
#167 - info - DROP TABLE `ac_data_sources`
#168 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#169 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#170 - info - DROP TABLE `ac_data_source_mappings`
#171 - info - SHOW TABLES LIKE 'ac_companies'
#172 - info - SHOW TABLES LIKE 'ac_companies'
#173 - info - DROP TABLE `ac_companies`
#174 - info - SHOW TABLES LIKE 'ac_projects'
#175 - info - SHOW TABLES LIKE 'ac_projects'
#176 - info - DROP TABLE `ac_projects`
#177 - info - SHOW TABLES LIKE 'ac_project_roles'
#178 - info - SHOW TABLES LIKE 'ac_project_roles'
#179 - info - DROP TABLE `ac_project_roles`
#180 - info - SHOW TABLES LIKE 'ac_project_users'
#181 - info - SHOW TABLES LIKE 'ac_project_users'
#182 - info - DROP TABLE `ac_project_users`
#183 - info - SHOW TABLES LIKE 'ac_project_requests'
#184 - info - SHOW TABLES LIKE 'ac_project_requests'
#185 - info - DROP TABLE `ac_project_requests`
#186 - info - SHOW TABLES LIKE 'ac_project_objects'
#187 - info - SHOW TABLES LIKE 'ac_project_objects'
#188 - info - DROP TABLE `ac_project_objects`
#189 - info - SHOW TABLES LIKE 'ac_project_templates'
#190 - info - SHOW TABLES LIKE 'ac_project_templates'
#191 - info - DROP TABLE `ac_project_templates`
#192 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#193 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#194 - info - DROP TABLE `ac_project_object_templates`
#195 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#196 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#197 - info - DROP TABLE `ac_shared_object_profiles`
#198 - info - SHOW TABLES LIKE 'ac_file_versions'
#199 - info - SHOW TABLES LIKE 'ac_file_versions'
#200 - info - DROP TABLE `ac_file_versions`
#201 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#202 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#203 - info - DROP TABLE `ac_text_document_versions`
#204 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#205 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#206 - info - DROP TABLE `ac_public_task_forms`
#207 - info - SHOW TABLES LIKE 'ac_related_tasks'
#208 - info - SHOW TABLES LIKE 'ac_related_tasks'
#209 - info - DROP TABLE `ac_related_tasks`
#210 - info - SHOW TABLES LIKE 'ac_task_segments'
#211 - info - SHOW TABLES LIKE 'ac_task_segments'
#212 - info - DROP TABLE `ac_task_segments`
#213 - info - SHOW TABLES LIKE 'ac_status_updates'
#214 - info - SHOW TABLES LIKE 'ac_status_updates'
#215 - info - DROP TABLE `ac_status_updates`
#216 - info - SHOW TABLES LIKE 'ac_documents'
#217 - info - SHOW TABLES LIKE 'ac_documents'
#218 - info - DROP TABLE `ac_documents`
#219 - info - SHOW TABLES LIKE 'ac_time_records'
#220 - info - SHOW TABLES LIKE 'ac_time_records'
#221 - info - DROP TABLE `ac_time_records`
#222 - info - SHOW TABLES LIKE 'ac_job_types'
#223 - info - SHOW TABLES LIKE 'ac_job_types'
#224 - info - DROP TABLE `ac_job_types`
#225 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#226 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#227 - info - DROP TABLE `ac_project_hourly_rates`
#228 - info - SHOW TABLES LIKE 'ac_expenses'
#229 - info - SHOW TABLES LIKE 'ac_expenses'
#230 - info - DROP TABLE `ac_expenses`
#231 - info - SHOW TABLES LIKE 'ac_expense_categories'
#232 - info - SHOW TABLES LIKE 'ac_expense_categories'
#233 - info - DROP TABLE `ac_expense_categories`
#234 - info - SHOW TABLES LIKE 'ac_estimates'
#235 - info - SHOW TABLES LIKE 'ac_estimates'
#236 - info - DROP TABLE `ac_estimates`
#237 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#238 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#239 - info - DROP TABLE `ac_invoice_objects`
#240 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#241 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#242 - info - DROP TABLE `ac_invoice_object_items`
#243 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#244 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#245 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#246 - info - SHOW TABLES LIKE 'ac_tax_rates'
#247 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#248 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#249 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#250 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#251 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#252 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#253 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#254 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#255 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#256 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#257 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#258 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#259 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#260 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#261 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#262 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#263 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#264 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#265 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#266 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#267 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#268 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#269 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#270 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#271 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#272 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#273 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#274 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#275 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#276 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#277 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#278 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#279 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#280 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#281 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#282 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#283 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#284 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#285 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#286 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#287 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#288 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#289 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#290 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#291 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#292 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#293 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#294 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#295 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#296 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#297 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#298 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#299 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#300 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#301 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#302 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#303 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#304 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#305 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#306 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#307 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#308 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#309 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#310 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#311 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#312 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#313 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#314 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#315 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#316 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#317 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#318 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#319 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#320 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#321 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#322 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#323 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#324 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#325 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#326 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#327 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#328 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#329 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#330 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#331 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#332 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#333 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#334 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#335 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#336 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#337 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#338 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#339 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#340 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#341 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#342 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#343 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#344 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#345 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#346 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#347 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#348 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#349 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#350 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#370 - info - BEGIN WORK
#371 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#372 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#373 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#374 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#375 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#376 - info - COMMIT
#377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#378 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#386 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#387 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#388 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#390 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#404 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#405 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#406 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#407 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#408 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#409 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#410 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#411 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#412 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#413 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#414 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#415 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#416 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#417 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#420 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#421 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#422 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#423 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#424 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#425 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#426 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#428 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#429 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#430 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373656;')
#431 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#433 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#434 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#435 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#436 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#437 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#438 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#439 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#440 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#441 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#442 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#443 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#444 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#445 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#447 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#455 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#456 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#472 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#473 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#474 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#475 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#476 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#477 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#478 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:16', '1')
#479 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#480 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#481 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#482 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#484 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#486 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#492 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#493 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#494 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#495 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#497 - info - BEGIN WORK
#498 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#499 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#500 - info - COMMIT
#501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#502 - info - BEGIN WORK
#503 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#504 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#505 - info - COMMIT
#506 - info - BEGIN WORK
#507 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#508 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#509 - info - COMMIT
#510 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#511 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#512 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#520 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#521 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#522 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#524 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#541 - info - SHOW TABLES LIKE 'ac_job_types'
#542 - info - SELECT COUNT(id) FROM ac_job_types
#543 - info - SHOW TABLES LIKE 'ac_tax_rates'
#544 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#545 - info - BEGIN WORK
#546 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#547 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#548 - info - COMMIT
#549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#550 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#551 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#552 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#553 - info - SELECT COUNT(name) FROM ac_modules
#554 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#555 - info - SELECT name FROM ac_modules
#556 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#557 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#558 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#559 - info - SELECT name, is_enabled FROM ac_modules WHERE name != 'system' ORDER BY position
#560 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#561 - info - BEGIN WORK
#562 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#563 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#564 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'File', '2013-12-18 13:34:16')
#565 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#566 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#567 - info - COMMIT
#568 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#569 - info - BEGIN WORK
#570 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#571 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'New name') AND (id <> '1')
#572 - info - UPDATE ac_test_data_objects SET name = 'New name', updated_on = '2013-12-18 13:34:16' WHERE id = '1'
#573 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#574 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#575 - info - COMMIT
#576 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#577 - info - BEGIN WORK
#578 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#579 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#580 - info - COMMIT
#581 - info - DROP TABLE IF EXISTS ac_test_data_objects
#582 - info - SHOW TABLES LIKE 'ac_config_options'
#583 - info - SHOW TABLES LIKE 'ac_config_options'
#584 - info - DROP TABLE `ac_config_options`
#585 - info - SHOW TABLES LIKE 'ac_config_option_values'
#586 - info - SHOW TABLES LIKE 'ac_config_option_values'
#587 - info - DROP TABLE `ac_config_option_values`
#588 - info - SHOW TABLES LIKE 'ac_modules'
#589 - info - SHOW TABLES LIKE 'ac_modules'
#590 - info - DROP TABLE `ac_modules`
#591 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#592 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#593 - info - DROP TABLE `ac_executed_model_migrations`
#594 - info - SHOW TABLES LIKE 'ac_update_history'
#595 - info - SHOW TABLES LIKE 'ac_update_history'
#596 - info - DROP TABLE `ac_update_history`
#597 - info - SHOW TABLES LIKE 'ac_access_logs'
#598 - info - SHOW TABLES LIKE 'ac_access_logs'
#599 - info - DROP TABLE `ac_access_logs`
#600 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#601 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#602 - info - DROP TABLE `ac_access_logs_archive`
#603 - info - SHOW TABLES LIKE 'ac_object_contexts'
#604 - info - SHOW TABLES LIKE 'ac_object_contexts'
#605 - info - DROP TABLE `ac_object_contexts`
#606 - info - SHOW TABLES LIKE 'ac_routing_cache'
#607 - info - SHOW TABLES LIKE 'ac_routing_cache'
#608 - info - DROP TABLE `ac_routing_cache`
#609 - info - SHOW TABLES LIKE 'ac_currencies'
#610 - info - SHOW TABLES LIKE 'ac_currencies'
#611 - info - DROP TABLE `ac_currencies`
#612 - info - SHOW TABLES LIKE 'ac_day_offs'
#613 - info - SHOW TABLES LIKE 'ac_day_offs'
#614 - info - DROP TABLE `ac_day_offs`
#615 - info - SHOW TABLES LIKE 'ac_languages'
#616 - info - SHOW TABLES LIKE 'ac_languages'
#617 - info - DROP TABLE `ac_languages`
#618 - info - SHOW TABLES LIKE 'ac_language_phrases'
#619 - info - SHOW TABLES LIKE 'ac_language_phrases'
#620 - info - DROP TABLE `ac_language_phrases`
#621 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#622 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#623 - info - DROP TABLE `ac_language_phrase_translations`
#624 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#625 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#626 - info - DROP TABLE `ac_api_client_subscriptions`
#627 - info - SHOW TABLES LIKE 'ac_users'
#628 - info - SHOW TABLES LIKE 'ac_users'
#629 - info - DROP TABLE `ac_users`
#630 - info - SHOW TABLES LIKE 'ac_user_addresses'
#631 - info - SHOW TABLES LIKE 'ac_user_addresses'
#632 - info - DROP TABLE `ac_user_addresses`
#633 - info - SHOW TABLES LIKE 'ac_user_sessions'
#634 - info - SHOW TABLES LIKE 'ac_user_sessions'
#635 - info - DROP TABLE `ac_user_sessions`
#636 - info - SHOW TABLES LIKE 'ac_security_logs'
#637 - info - SHOW TABLES LIKE 'ac_security_logs'
#638 - info - DROP TABLE `ac_security_logs`
#639 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#640 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#641 - info - DROP TABLE `ac_api_token_logs`
#642 - info - SHOW TABLES LIKE 'ac_activity_logs'
#643 - info - SHOW TABLES LIKE 'ac_activity_logs'
#644 - info - DROP TABLE `ac_activity_logs`
#645 - info - SHOW TABLES LIKE 'ac_data_filters'
#646 - info - SHOW TABLES LIKE 'ac_data_filters'
#647 - info - DROP TABLE `ac_data_filters`
#648 - info - SHOW TABLES LIKE 'ac_modification_logs'
#649 - info - SHOW TABLES LIKE 'ac_modification_logs'
#650 - info - DROP TABLE `ac_modification_logs`
#651 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#652 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#653 - info - DROP TABLE `ac_modification_log_values`
#654 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#655 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#656 - info - DROP TABLE `ac_mailing_activity_logs`
#657 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#658 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#659 - info - DROP TABLE `ac_outgoing_messages`
#660 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#661 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#662 - info - DROP TABLE `ac_incoming_mail_attachments`
#663 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#664 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#665 - info - DROP TABLE `ac_incoming_mail_filters`
#666 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#667 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#668 - info - DROP TABLE `ac_incoming_mailboxes`
#669 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#670 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#671 - info - DROP TABLE `ac_incoming_mails`
#672 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#673 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#674 - info - DROP TABLE `ac_homescreen_tabs`
#675 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#676 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#677 - info - DROP TABLE `ac_homescreen_widgets`
#678 - info - SHOW TABLES LIKE 'ac_announcements'
#679 - info - SHOW TABLES LIKE 'ac_announcements'
#680 - info - DROP TABLE `ac_announcements`
#681 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#682 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#683 - info - DROP TABLE `ac_announcement_target_ids`
#684 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#685 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#686 - info - DROP TABLE `ac_announcement_dismissals`
#687 - info - SHOW TABLES LIKE 'ac_attachments'
#688 - info - SHOW TABLES LIKE 'ac_attachments'
#689 - info - DROP TABLE `ac_attachments`
#690 - info - SHOW TABLES LIKE 'ac_notifications'
#691 - info - SHOW TABLES LIKE 'ac_notifications'
#692 - info - DROP TABLE `ac_notifications`
#693 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#694 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#695 - info - DROP TABLE `ac_notification_recipients`
#696 - info - SHOW TABLES LIKE 'ac_subscriptions'
#697 - info - SHOW TABLES LIKE 'ac_subscriptions'
#698 - info - DROP TABLE `ac_subscriptions`
#699 - info - SHOW TABLES LIKE 'ac_comments'
#700 - info - SHOW TABLES LIKE 'ac_comments'
#701 - info - DROP TABLE `ac_comments`
#702 - info - SHOW TABLES LIKE 'ac_categories'
#703 - info - SHOW TABLES LIKE 'ac_categories'
#704 - info - DROP TABLE `ac_categories`
#705 - info - SHOW TABLES LIKE 'ac_labels'
#706 - info - SHOW TABLES LIKE 'ac_labels'
#707 - info - DROP TABLE `ac_labels`
#708 - info - SHOW TABLES LIKE 'ac_assignments'
#709 - info - SHOW TABLES LIKE 'ac_assignments'
#710 - info - DROP TABLE `ac_assignments`
#711 - info - SHOW TABLES LIKE 'ac_subtasks'
#712 - info - SHOW TABLES LIKE 'ac_subtasks'
#713 - info - DROP TABLE `ac_subtasks`
#714 - info - SHOW TABLES LIKE 'ac_favorites'
#715 - info - SHOW TABLES LIKE 'ac_favorites'
#716 - info - DROP TABLE `ac_favorites`
#717 - info - SHOW TABLES LIKE 'ac_code_snippets'
#718 - info - SHOW TABLES LIKE 'ac_code_snippets'
#719 - info - DROP TABLE `ac_code_snippets`
#720 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#721 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#722 - info - DROP TABLE `ac_payment_gateways`
#723 - info - SHOW TABLES LIKE 'ac_payments'
#724 - info - SHOW TABLES LIKE 'ac_payments'
#725 - info - DROP TABLE `ac_payments`
#726 - info - SHOW TABLES LIKE 'ac_reminders'
#727 - info - SHOW TABLES LIKE 'ac_reminders'
#728 - info - DROP TABLE `ac_reminders`
#729 - info - SHOW TABLES LIKE 'ac_reminder_users'
#730 - info - SHOW TABLES LIKE 'ac_reminder_users'
#731 - info - DROP TABLE `ac_reminder_users`
#732 - info - SHOW TABLES LIKE 'ac_custom_fields'
#733 - info - SHOW TABLES LIKE 'ac_custom_fields'
#734 - info - DROP TABLE `ac_custom_fields`
#735 - info - SHOW TABLES LIKE 'ac_calendars'
#736 - info - SHOW TABLES LIKE 'ac_calendars'
#737 - info - DROP TABLE `ac_calendars`
#738 - info - SHOW TABLES LIKE 'ac_calendar_events'
#739 - info - SHOW TABLES LIKE 'ac_calendar_events'
#740 - info - DROP TABLE `ac_calendar_events`
#741 - info - SHOW TABLES LIKE 'ac_calendar_users'
#742 - info - SHOW TABLES LIKE 'ac_calendar_users'
#743 - info - DROP TABLE `ac_calendar_users`
#744 - info - SHOW TABLES LIKE 'ac_data_sources'
#745 - info - SHOW TABLES LIKE 'ac_data_sources'
#746 - info - DROP TABLE `ac_data_sources`
#747 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#748 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#749 - info - DROP TABLE `ac_data_source_mappings`
#750 - info - SHOW TABLES LIKE 'ac_companies'
#751 - info - SHOW TABLES LIKE 'ac_companies'
#752 - info - DROP TABLE `ac_companies`
#753 - info - SHOW TABLES LIKE 'ac_projects'
#754 - info - SHOW TABLES LIKE 'ac_projects'
#755 - info - DROP TABLE `ac_projects`
#756 - info - SHOW TABLES LIKE 'ac_project_roles'
#757 - info - SHOW TABLES LIKE 'ac_project_roles'
#758 - info - DROP TABLE `ac_project_roles`
#759 - info - SHOW TABLES LIKE 'ac_project_users'
#760 - info - SHOW TABLES LIKE 'ac_project_users'
#761 - info - DROP TABLE `ac_project_users`
#762 - info - SHOW TABLES LIKE 'ac_project_requests'
#763 - info - SHOW TABLES LIKE 'ac_project_requests'
#764 - info - DROP TABLE `ac_project_requests`
#765 - info - SHOW TABLES LIKE 'ac_project_objects'
#766 - info - SHOW TABLES LIKE 'ac_project_objects'
#767 - info - DROP TABLE `ac_project_objects`
#768 - info - SHOW TABLES LIKE 'ac_project_templates'
#769 - info - SHOW TABLES LIKE 'ac_project_templates'
#770 - info - DROP TABLE `ac_project_templates`
#771 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#772 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#773 - info - DROP TABLE `ac_project_object_templates`
#774 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#775 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#776 - info - DROP TABLE `ac_shared_object_profiles`
#777 - info - SHOW TABLES LIKE 'ac_file_versions'
#778 - info - SHOW TABLES LIKE 'ac_file_versions'
#779 - info - DROP TABLE `ac_file_versions`
#780 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#781 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#782 - info - DROP TABLE `ac_text_document_versions`
#783 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#784 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#785 - info - DROP TABLE `ac_public_task_forms`
#786 - info - SHOW TABLES LIKE 'ac_related_tasks'
#787 - info - SHOW TABLES LIKE 'ac_related_tasks'
#788 - info - DROP TABLE `ac_related_tasks`
#789 - info - SHOW TABLES LIKE 'ac_task_segments'
#790 - info - SHOW TABLES LIKE 'ac_task_segments'
#791 - info - DROP TABLE `ac_task_segments`
#792 - info - SHOW TABLES LIKE 'ac_status_updates'
#793 - info - SHOW TABLES LIKE 'ac_status_updates'
#794 - info - DROP TABLE `ac_status_updates`
#795 - info - SHOW TABLES LIKE 'ac_documents'
#796 - info - SHOW TABLES LIKE 'ac_documents'
#797 - info - DROP TABLE `ac_documents`
#798 - info - SHOW TABLES LIKE 'ac_time_records'
#799 - info - SHOW TABLES LIKE 'ac_time_records'
#800 - info - DROP TABLE `ac_time_records`
#801 - info - SHOW TABLES LIKE 'ac_job_types'
#802 - info - SHOW TABLES LIKE 'ac_job_types'
#803 - info - DROP TABLE `ac_job_types`
#804 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#805 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#806 - info - DROP TABLE `ac_project_hourly_rates`
#807 - info - SHOW TABLES LIKE 'ac_expenses'
#808 - info - SHOW TABLES LIKE 'ac_expenses'
#809 - info - DROP TABLE `ac_expenses`
#810 - info - SHOW TABLES LIKE 'ac_expense_categories'
#811 - info - SHOW TABLES LIKE 'ac_expense_categories'
#812 - info - DROP TABLE `ac_expense_categories`
#813 - info - SHOW TABLES LIKE 'ac_estimates'
#814 - info - SHOW TABLES LIKE 'ac_estimates'
#815 - info - DROP TABLE `ac_estimates`
#816 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#817 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#818 - info - DROP TABLE `ac_invoice_objects`
#819 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#820 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#821 - info - DROP TABLE `ac_invoice_object_items`
#822 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#823 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#824 - info - DROP TABLE `ac_invoice_item_templates`
#825 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#826 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#827 - info - DROP TABLE `ac_invoice_note_templates`
#828 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#829 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#830 - info - DROP TABLE `ac_invoice_related_records`
#831 - info - SHOW TABLES LIKE 'ac_tax_rates'
#832 - info - SHOW TABLES LIKE 'ac_tax_rates'
#833 - info - DROP TABLE `ac_tax_rates`
#834 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#835 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#836 - info - DROP TABLE `ac_notebook_pages`
#837 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#838 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#839 - info - DROP TABLE `ac_notebook_page_versions`
#840 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#841 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#842 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#843 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#844 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#845 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#846 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#847 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#848 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#849 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#850 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#851 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#852 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#853 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#854 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#855 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#856 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#857 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#858 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#859 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#860 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#861 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#862 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#863 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#864 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#865 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#866 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#867 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#868 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#869 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#870 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#871 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#872 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#873 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#874 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#875 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#876 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#877 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#878 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#879 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#880 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#881 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#882 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#883 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#884 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#885 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#886 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#887 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#888 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#889 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#890 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#891 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#892 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#893 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#894 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#895 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#896 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#897 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#898 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#899 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#900 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#901 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#902 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#903 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#904 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#905 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#906 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#907 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#908 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#909 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#910 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#911 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#912 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#913 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#914 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#915 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#916 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#917 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#918 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#919 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#920 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#921 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#922 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#923 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#924 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#925 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#926 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#931 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#932 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#933 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#934 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#935 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#942 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#943 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#944 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#945 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#946 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#947 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#948 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#949 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#950 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#951 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#952 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#953 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#954 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#955 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#956 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#957 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#958 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#961 - info - BEGIN WORK
#962 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#963 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#964 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#965 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#966 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#967 - info - COMMIT
#968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#981 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#982 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#983 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#985 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#993 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#994 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#995 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#996 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#997 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#998 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#999 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1000 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1001 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1002 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1003 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1004 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1005 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1006 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1007 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1008 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1009 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1010 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1011 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1012 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1013 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1014 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1015 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1016 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1017 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1018 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1019 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1020 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373657;')
#1022 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1024 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1030 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1031 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1032 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1033 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1034 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1035 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1036 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1037 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1038 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1040 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1041 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1042 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1043 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1044 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1045 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1046 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1047 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1048 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1049 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1050 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1051 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1052 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1053 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1054 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1056 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1058 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1059 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1065 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1066 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1067 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1068 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1069 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:17', '1')
#1070 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1071 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1072 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1073 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1075 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1077 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1079 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1080 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1081 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1082 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1083 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1084 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1085 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1086 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1087 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1088 - info - BEGIN WORK
#1089 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1090 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1091 - info - COMMIT
#1092 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1093 - info - BEGIN WORK
#1094 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1095 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1096 - info - COMMIT
#1097 - info - BEGIN WORK
#1098 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1099 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1100 - info - COMMIT
#1101 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1102 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1103 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1104 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1105 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1106 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1107 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1108 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1109 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1110 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1111 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1112 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1113 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1114 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1115 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1116 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1117 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1119 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1121 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1122 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1124 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1125 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1126 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1127 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1128 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1129 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1132 - info - SHOW TABLES LIKE 'ac_job_types'
#1133 - info - SELECT COUNT(id) FROM ac_job_types
#1134 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1135 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1136 - info - BEGIN WORK
#1137 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1138 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1139 - info - COMMIT
#1140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1141 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1142 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1143 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1144 - info - SELECT COUNT(name) FROM ac_modules
#1145 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1146 - info - SELECT name FROM ac_modules
#1147 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1148 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1149 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1150 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1151 - info - SELECT value FROM ac_config_options WHERE name = 'search_provider'
#1152 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1153 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1154 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1155 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1156 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1157 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1158 - info - BEGIN WORK
#1159 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1160 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1161 - info - UPDATE ac_config_options SET value = 'i:1387373657;' WHERE name = 'search_initialized_on'
#1162 - info - COMMIT
#1163 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1164 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1165 - info - SHOW TABLES LIKE 'ac_%'
#1166 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1167 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1168 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1169 - info - SHOW TABLES LIKE 'ac_%'
#1170 - info - DROP TABLE ac_test_table
#1171 - info - SHOW TABLES LIKE 'ac_config_options'
#1172 - info - SHOW TABLES LIKE 'ac_config_options'
#1173 - info - DROP TABLE `ac_config_options`
#1174 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1175 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1176 - info - DROP TABLE `ac_config_option_values`
#1177 - info - SHOW TABLES LIKE 'ac_modules'
#1178 - info - SHOW TABLES LIKE 'ac_modules'
#1179 - info - DROP TABLE `ac_modules`
#1180 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1181 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1182 - info - DROP TABLE `ac_executed_model_migrations`
#1183 - info - SHOW TABLES LIKE 'ac_update_history'
#1184 - info - SHOW TABLES LIKE 'ac_update_history'
#1185 - info - DROP TABLE `ac_update_history`
#1186 - info - SHOW TABLES LIKE 'ac_access_logs'
#1187 - info - SHOW TABLES LIKE 'ac_access_logs'
#1188 - info - DROP TABLE `ac_access_logs`
#1189 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1190 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1191 - info - DROP TABLE `ac_access_logs_archive`
#1192 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1193 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1194 - info - DROP TABLE `ac_object_contexts`
#1195 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1196 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1197 - info - DROP TABLE `ac_routing_cache`
#1198 - info - SHOW TABLES LIKE 'ac_currencies'
#1199 - info - SHOW TABLES LIKE 'ac_currencies'
#1200 - info - DROP TABLE `ac_currencies`
#1201 - info - SHOW TABLES LIKE 'ac_day_offs'
#1202 - info - SHOW TABLES LIKE 'ac_day_offs'
#1203 - info - DROP TABLE `ac_day_offs`
#1204 - info - SHOW TABLES LIKE 'ac_languages'
#1205 - info - SHOW TABLES LIKE 'ac_languages'
#1206 - info - DROP TABLE `ac_languages`
#1207 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1208 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1209 - info - DROP TABLE `ac_language_phrases`
#1210 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1211 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1212 - info - DROP TABLE `ac_language_phrase_translations`
#1213 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1214 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1215 - info - DROP TABLE `ac_api_client_subscriptions`
#1216 - info - SHOW TABLES LIKE 'ac_users'
#1217 - info - SHOW TABLES LIKE 'ac_users'
#1218 - info - DROP TABLE `ac_users`
#1219 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1220 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1221 - info - DROP TABLE `ac_user_addresses`
#1222 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1223 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1224 - info - DROP TABLE `ac_user_sessions`
#1225 - info - SHOW TABLES LIKE 'ac_security_logs'
#1226 - info - SHOW TABLES LIKE 'ac_security_logs'
#1227 - info - DROP TABLE `ac_security_logs`
#1228 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1229 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1230 - info - DROP TABLE `ac_api_token_logs`
#1231 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1232 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1233 - info - DROP TABLE `ac_activity_logs`
#1234 - info - SHOW TABLES LIKE 'ac_data_filters'
#1235 - info - SHOW TABLES LIKE 'ac_data_filters'
#1236 - info - DROP TABLE `ac_data_filters`
#1237 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1238 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1239 - info - DROP TABLE `ac_modification_logs`
#1240 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1241 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1242 - info - DROP TABLE `ac_modification_log_values`
#1243 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1244 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1245 - info - DROP TABLE `ac_mailing_activity_logs`
#1246 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1247 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1248 - info - DROP TABLE `ac_outgoing_messages`
#1249 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1250 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#1251 - info - DROP TABLE `ac_incoming_mail_attachments`
#1252 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1253 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#1254 - info - DROP TABLE `ac_incoming_mail_filters`
#1255 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1256 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#1257 - info - DROP TABLE `ac_incoming_mailboxes`
#1258 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1259 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#1260 - info - DROP TABLE `ac_incoming_mails`
#1261 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1262 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#1263 - info - DROP TABLE `ac_homescreen_tabs`
#1264 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1265 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#1266 - info - DROP TABLE `ac_homescreen_widgets`
#1267 - info - SHOW TABLES LIKE 'ac_announcements'
#1268 - info - SHOW TABLES LIKE 'ac_announcements'
#1269 - info - DROP TABLE `ac_announcements`
#1270 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1271 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#1272 - info - DROP TABLE `ac_announcement_target_ids`
#1273 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1274 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#1275 - info - DROP TABLE `ac_announcement_dismissals`
#1276 - info - SHOW TABLES LIKE 'ac_attachments'
#1277 - info - SHOW TABLES LIKE 'ac_attachments'
#1278 - info - DROP TABLE `ac_attachments`
#1279 - info - SHOW TABLES LIKE 'ac_notifications'
#1280 - info - SHOW TABLES LIKE 'ac_notifications'
#1281 - info - DROP TABLE `ac_notifications`
#1282 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1283 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#1284 - info - DROP TABLE `ac_notification_recipients`
#1285 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1286 - info - SHOW TABLES LIKE 'ac_subscriptions'
#1287 - info - DROP TABLE `ac_subscriptions`
#1288 - info - SHOW TABLES LIKE 'ac_comments'
#1289 - info - SHOW TABLES LIKE 'ac_comments'
#1290 - info - DROP TABLE `ac_comments`
#1291 - info - SHOW TABLES LIKE 'ac_categories'
#1292 - info - SHOW TABLES LIKE 'ac_categories'
#1293 - info - DROP TABLE `ac_categories`
#1294 - info - SHOW TABLES LIKE 'ac_labels'
#1295 - info - SHOW TABLES LIKE 'ac_labels'
#1296 - info - DROP TABLE `ac_labels`
#1297 - info - SHOW TABLES LIKE 'ac_assignments'
#1298 - info - SHOW TABLES LIKE 'ac_assignments'
#1299 - info - DROP TABLE `ac_assignments`
#1300 - info - SHOW TABLES LIKE 'ac_subtasks'
#1301 - info - SHOW TABLES LIKE 'ac_subtasks'
#1302 - info - DROP TABLE `ac_subtasks`
#1303 - info - SHOW TABLES LIKE 'ac_favorites'
#1304 - info - SHOW TABLES LIKE 'ac_favorites'
#1305 - info - DROP TABLE `ac_favorites`
#1306 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1307 - info - SHOW TABLES LIKE 'ac_code_snippets'
#1308 - info - DROP TABLE `ac_code_snippets`
#1309 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1310 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#1311 - info - DROP TABLE `ac_payment_gateways`
#1312 - info - SHOW TABLES LIKE 'ac_payments'
#1313 - info - SHOW TABLES LIKE 'ac_payments'
#1314 - info - DROP TABLE `ac_payments`
#1315 - info - SHOW TABLES LIKE 'ac_reminders'
#1316 - info - SHOW TABLES LIKE 'ac_reminders'
#1317 - info - DROP TABLE `ac_reminders`
#1318 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1319 - info - SHOW TABLES LIKE 'ac_reminder_users'
#1320 - info - DROP TABLE `ac_reminder_users`
#1321 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1322 - info - SHOW TABLES LIKE 'ac_custom_fields'
#1323 - info - DROP TABLE `ac_custom_fields`
#1324 - info - SHOW TABLES LIKE 'ac_calendars'
#1325 - info - SHOW TABLES LIKE 'ac_calendars'
#1326 - info - DROP TABLE `ac_calendars`
#1327 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1328 - info - SHOW TABLES LIKE 'ac_calendar_events'
#1329 - info - DROP TABLE `ac_calendar_events`
#1330 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1331 - info - SHOW TABLES LIKE 'ac_calendar_users'
#1332 - info - DROP TABLE `ac_calendar_users`
#1333 - info - SHOW TABLES LIKE 'ac_data_sources'
#1334 - info - SHOW TABLES LIKE 'ac_data_sources'
#1335 - info - DROP TABLE `ac_data_sources`
#1336 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1337 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#1338 - info - DROP TABLE `ac_data_source_mappings`
#1339 - info - SHOW TABLES LIKE 'ac_companies'
#1340 - info - SHOW TABLES LIKE 'ac_companies'
#1341 - info - DROP TABLE `ac_companies`
#1342 - info - SHOW TABLES LIKE 'ac_projects'
#1343 - info - SHOW TABLES LIKE 'ac_projects'
#1344 - info - DROP TABLE `ac_projects`
#1345 - info - SHOW TABLES LIKE 'ac_project_roles'
#1346 - info - SHOW TABLES LIKE 'ac_project_roles'
#1347 - info - DROP TABLE `ac_project_roles`
#1348 - info - SHOW TABLES LIKE 'ac_project_users'
#1349 - info - SHOW TABLES LIKE 'ac_project_users'
#1350 - info - DROP TABLE `ac_project_users`
#1351 - info - SHOW TABLES LIKE 'ac_project_requests'
#1352 - info - SHOW TABLES LIKE 'ac_project_requests'
#1353 - info - DROP TABLE `ac_project_requests`
#1354 - info - SHOW TABLES LIKE 'ac_project_objects'
#1355 - info - SHOW TABLES LIKE 'ac_project_objects'
#1356 - info - DROP TABLE `ac_project_objects`
#1357 - info - SHOW TABLES LIKE 'ac_project_templates'
#1358 - info - SHOW TABLES LIKE 'ac_project_templates'
#1359 - info - DROP TABLE `ac_project_templates`
#1360 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1361 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#1362 - info - DROP TABLE `ac_project_object_templates`
#1363 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1364 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#1365 - info - DROP TABLE `ac_shared_object_profiles`
#1366 - info - SHOW TABLES LIKE 'ac_file_versions'
#1367 - info - SHOW TABLES LIKE 'ac_file_versions'
#1368 - info - DROP TABLE `ac_file_versions`
#1369 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1370 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#1371 - info - DROP TABLE `ac_text_document_versions`
#1372 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1373 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#1374 - info - DROP TABLE `ac_public_task_forms`
#1375 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1376 - info - SHOW TABLES LIKE 'ac_related_tasks'
#1377 - info - DROP TABLE `ac_related_tasks`
#1378 - info - SHOW TABLES LIKE 'ac_task_segments'
#1379 - info - SHOW TABLES LIKE 'ac_task_segments'
#1380 - info - DROP TABLE `ac_task_segments`
#1381 - info - SHOW TABLES LIKE 'ac_status_updates'
#1382 - info - SHOW TABLES LIKE 'ac_status_updates'
#1383 - info - DROP TABLE `ac_status_updates`
#1384 - info - SHOW TABLES LIKE 'ac_documents'
#1385 - info - SHOW TABLES LIKE 'ac_documents'
#1386 - info - DROP TABLE `ac_documents`
#1387 - info - SHOW TABLES LIKE 'ac_time_records'
#1388 - info - SHOW TABLES LIKE 'ac_time_records'
#1389 - info - DROP TABLE `ac_time_records`
#1390 - info - SHOW TABLES LIKE 'ac_job_types'
#1391 - info - SHOW TABLES LIKE 'ac_job_types'
#1392 - info - DROP TABLE `ac_job_types`
#1393 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1394 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#1395 - info - DROP TABLE `ac_project_hourly_rates`
#1396 - info - SHOW TABLES LIKE 'ac_expenses'
#1397 - info - SHOW TABLES LIKE 'ac_expenses'
#1398 - info - DROP TABLE `ac_expenses`
#1399 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1400 - info - SHOW TABLES LIKE 'ac_expense_categories'
#1401 - info - DROP TABLE `ac_expense_categories`
#1402 - info - SHOW TABLES LIKE 'ac_estimates'
#1403 - info - SHOW TABLES LIKE 'ac_estimates'
#1404 - info - DROP TABLE `ac_estimates`
#1405 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1406 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#1407 - info - DROP TABLE `ac_invoice_objects`
#1408 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1409 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#1410 - info - DROP TABLE `ac_invoice_object_items`
#1411 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1412 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#1413 - info - DROP TABLE `ac_invoice_item_templates`
#1414 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1415 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#1416 - info - DROP TABLE `ac_invoice_note_templates`
#1417 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1418 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#1419 - info - DROP TABLE `ac_invoice_related_records`
#1420 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1421 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1422 - info - DROP TABLE `ac_tax_rates`
#1423 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1424 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#1425 - info - DROP TABLE `ac_notebook_pages`
#1426 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1427 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#1428 - info - DROP TABLE `ac_notebook_page_versions`
#1429 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1430 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1431 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1432 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1433 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1434 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1435 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1436 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1437 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1438 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1439 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1440 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1441 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1442 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1443 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1444 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1445 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1446 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1447 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1448 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1449 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1450 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1451 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1452 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1453 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1454 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1455 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1456 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1457 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1458 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1459 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1460 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1461 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1462 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1463 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1464 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1465 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1466 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1467 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1468 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1469 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1470 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1471 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1472 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1473 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1474 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1475 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1476 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1477 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1478 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1479 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1480 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1481 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1482 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1483 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1484 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1485 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1486 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1487 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1488 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1489 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1490 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1491 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1492 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1493 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1494 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1495 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1496 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1497 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1498 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1499 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1500 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1501 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1502 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1503 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1504 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1505 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1506 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1507 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1508 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1509 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1510 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1511 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1512 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1513 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1514 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#1515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#1516 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#1517 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#1518 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#1519 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#1520 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#1521 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#1522 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#1523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#1524 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#1525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#1526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#1527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#1528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#1529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#1530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#1531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#1532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#1533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#1534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#1535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#1536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#1537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#1538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#1539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#1540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#1541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#1542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#1543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#1544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#1545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#1546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#1547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#1548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#1549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#1550 - info - BEGIN WORK
#1551 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#1552 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#1553 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#1554 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#1555 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#1556 - info - COMMIT
#1557 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#1558 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#1559 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#1560 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#1561 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#1562 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#1563 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#1564 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#1565 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#1566 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#1567 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#1568 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#1569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#1570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#1571 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#1572 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#1573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#1574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#1575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#1576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#1577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#1578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#1579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#1580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#1581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#1582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#1583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#1584 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1585 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#1586 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1587 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1588 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1589 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1590 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#1591 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1592 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1593 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1594 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1595 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#1596 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#1597 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#1598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#1599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#1600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#1601 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#1602 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#1603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#1604 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#1605 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#1606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#1607 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#1608 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#1609 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#1610 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373658;')
#1611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#1612 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#1613 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#1614 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#1615 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#1616 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#1617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#1618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#1619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#1620 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#1621 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#1622 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#1623 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#1624 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#1625 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#1626 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#1627 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#1628 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#1629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#1630 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#1631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#1632 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#1633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#1634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#1635 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#1636 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#1637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#1638 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#1639 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#1640 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#1641 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#1642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#1643 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#1644 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#1645 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#1646 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#1647 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#1648 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#1649 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#1650 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#1651 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#1652 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#1653 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#1654 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#1655 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#1656 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#1657 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#1658 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:18', '1')
#1659 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#1660 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#1661 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#1662 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#1663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#1664 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#1666 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1667 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#1668 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#1669 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#1670 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#1671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#1672 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#1673 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#1674 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#1675 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#1677 - info - BEGIN WORK
#1678 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#1679 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#1680 - info - COMMIT
#1681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#1682 - info - BEGIN WORK
#1683 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1684 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#1685 - info - COMMIT
#1686 - info - BEGIN WORK
#1687 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#1688 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#1689 - info - COMMIT
#1690 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1691 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1692 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#1693 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#1694 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#1695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#1696 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#1697 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#1698 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#1699 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#1700 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#1701 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#1702 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#1703 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#1704 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#1705 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#1706 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#1707 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#1708 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#1709 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#1710 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#1711 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#1712 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#1713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#1714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#1715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#1716 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#1717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#1718 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#1719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#1720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#1721 - info - SHOW TABLES LIKE 'ac_job_types'
#1722 - info - SELECT COUNT(id) FROM ac_job_types
#1723 - info - SHOW TABLES LIKE 'ac_tax_rates'
#1724 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#1725 - info - BEGIN WORK
#1726 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#1727 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#1728 - info - COMMIT
#1729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#1730 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#1731 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#1732 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#1733 - info - SELECT COUNT(name) FROM ac_modules
#1734 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#1735 - info - SELECT name FROM ac_modules
#1736 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#1737 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#1738 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#1739 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#1740 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#1741 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#1742 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#1743 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#1744 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#1745 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#1746 - info - BEGIN WORK
#1747 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#1748 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#1749 - info - UPDATE ac_config_options SET value = 'i:1387373658;' WHERE name = 'search_initialized_on'
#1750 - info - COMMIT
#1751 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#1752 - info - CREATE TABLE ac_test_table (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1753 - info - SELECT COUNT(*) FROM ac_test_table
#1754 - info - SHOW TABLES LIKE 'ac_test_table_migrate_test'
#1755 - info - DROP TABLE `ac_test_table_migrate_test`
#1756 - info - CREATE TABLE `ac_test_table_migrate_test` LIKE `ac_test_table`
#1757 - info - INSERT INTO `ac_test_table_migrate_test` SELECT * FROM `ac_test_table`
#1758 - info - INSERT INTO ac_test_table_migrate_test (name) VALUES ('Test Migration')
#1759 - info - SHOW TABLES LIKE 'ac_test_table_h8PHLpRSBp'
#1760 - info - RENAME TABLE ac_test_table TO ac_test_table_h8PHLpRSBp, ac_test_table_migrate_test TO ac_test_table
#1761 - info - DROP TABLE ac_test_table_h8PHLpRSBp
#1762 - info - SELECT COUNT(*) FROM ac_test_table
#1763 - info - DROP TABLE ac_test_table
#1764 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_date' AND parent_type = 'User' AND parent_id = '1'
#1765 - info - SELECT value FROM ac_config_options WHERE name = 'format_date'
#1766 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_timezone' AND parent_type = 'User' AND parent_id = '1'
#1767 - info - SELECT value FROM ac_config_options WHERE name = 'time_timezone'
#1768 - info - SELECT value FROM ac_config_option_values WHERE name = 'time_dst' AND parent_type = 'User' AND parent_id = '1'
#1769 - info - SELECT value FROM ac_config_options WHERE name = 'time_dst'
#1770 - info - SELECT value FROM ac_config_option_values WHERE name = 'format_time' AND parent_type = 'User' AND parent_id = '1'
#1771 - info - SELECT value FROM ac_config_options WHERE name = 'format_time'
#1772 - info - CREATE TABLE ac_test_db_result_to_json (
        id int(11) NOT NULL auto_increment,
        string_field varchar(255) default NULL,
        int_field int(11) default NULL,
        other float default NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
#1773 - info - SHOW TABLES LIKE 'ac_%'
#1774 - info - INSERT INTO ac_test_db_result_to_json (id,string_field,int_field,other) VALUES (1,'A',5,3.2), (2,'Another record',18,NULL);
#1775 - info - SELECT * FROM ac_test_db_result_to_json
#1776 - info - DROP TABLE ac_test_db_result_to_json
#1777 - info - SHOW TABLES LIKE 'ac_%'
#1778 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1779 - info - BEGIN WORK
#1780 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1781 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 1'
#1782 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 1', 'TestDataObject', '2013-12-18 13:34:18')
#1783 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1784 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1785 - info - COMMIT
#1786 - info - BEGIN WORK
#1787 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1788 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Object 2'
#1789 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Object 2', 'TestDataObject', '2013-12-18 13:34:18')
#1790 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1791 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1792 - info - COMMIT
#1793 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1794 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1795 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1796 - info - BEGIN WORK
#1797 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1798 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Name'
#1799 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('Name', 'TestDataObject', '2013-12-18 13:34:18')
#1800 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1801 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1802 - info - COMMIT
#1803 - info - BEGIN WORK
#1804 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1805 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1806 - info - COMMIT
#1807 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1808 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1809 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1810 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1811 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object name', 'Object description')
#1812 - info - SELECT id, name, description, type, created_on, updated_on FROM ac_test_data_objects WHERE id = '1'  LIMIT 0, 1
#1813 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1814 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1815 - info - INSERT INTO ac_test_data_objects (name, description) VALUES ('Object #1', 'Description #1'), ('Object #2', 'Description #2'), ('Object #3', 'TestDataObject')
#1816 - info - SELECT * FROM ac_test_data_objects
#1817 - info - SELECT * FROM ac_test_data_objects ORDER BY name
#1818 - info - SELECT * FROM ac_test_data_objects WHERE name = 'Object #3'
#1819 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1820 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1821 - info - BEGIN WORK
#1822 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1823 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1824 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 13:34:18')
#1825 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1826 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1827 - info - COMMIT
#1828 - info - BEGIN WORK
#1829 - info - Transaction level increased to 1. Message: Removing object from database @ FwApplicationObject
#1830 - info - DELETE FROM ac_test_data_objects WHERE id = '1'
#1831 - info - COMMIT
#1832 - info - BEGIN WORK
#1833 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1834 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1835 - info - INSERT INTO ac_test_data_objects (name, description, type, created_on, id) VALUES ('First name', 'Description', 'TestDataObject', '2013-12-18 13:34:18', '1')
#1836 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1837 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1838 - info - COMMIT
#1839 - info - SELECT * FROM ac_test_data_objects WHERE id = '1'    LIMIT 0, 1
#1840 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1841 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1842 - info - BEGIN WORK
#1843 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1844 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'First name'
#1845 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('First name', 'TestDataObject', '2013-12-18 13:34:18')
#1846 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1847 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1848 - info - COMMIT
#1849 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1850 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1851 - info - BEGIN WORK
#1852 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1853 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New name'
#1854 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New name', 'TestDataObject', '2013-12-18 13:34:18')
#1855 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1856 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1857 - info - COMMIT
#1858 - info - SELECT * FROM ac_test_data_objects WHERE id = '1' LIMIT 0, 1
#1859 - info - BEGIN WORK
#1860 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1861 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'Something something') AND (id <> '1')
#1862 - info - UPDATE ac_test_data_objects SET name = 'Something something', updated_on = '2013-12-18 13:34:18' WHERE id = '1'
#1863 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1864 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1865 - info - COMMIT
#1866 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1867 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1868 - info - BEGIN WORK
#1869 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1870 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'My name'
#1871 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('My name', 'TestDataObject', '2013-12-18 13:34:18')
#1872 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1873 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1874 - info - COMMIT
#1875 - info - BEGIN WORK
#1876 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1877 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE (name = 'My name') AND (id <> '1')
#1878 - info - SELECT count(*) AS 'row_count' FROM ac_test_data_objects WHERE id = '1'
#1879 - info - UPDATE ac_test_data_objects SET id = '12', updated_on = '2013-12-18 13:34:18' WHERE id = '1'
#1880 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1881 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1882 - info - COMMIT
#1883 - info - SELECT * FROM ac_test_data_objects WHERE id = '12' LIMIT 0, 1
#1884 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1885 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('TestDataObject', 'Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1886 - info - BEGIN WORK
#1887 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1888 - info - ROLLBACK
#1889 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#1890 - info - BEGIN WORK
#1891 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1892 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#1893 - info - INSERT INTO ac_test_data_objects (type, created_on, name) VALUES ('TestDataObject', '2013-12-18 13:34:18', 'Unique name')
#1894 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1895 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1896 - info - COMMIT
#1897 - info - BEGIN WORK
#1898 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1899 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'Unique name'
#1900 - info - ROLLBACK
#1901 - info - Rolling back the transaction. Reason: Failed to save application object @ FwApplicationObject
#1902 - info - BEGIN WORK
#1903 - info - Transaction level increased to 1. Message: Saving application object @ FwApplicationObject
#1904 - info - SELECT COUNT(*) AS 'row_count' FROM ac_test_data_objects WHERE name = 'New, better name'
#1905 - info - INSERT INTO ac_test_data_objects (name, type, created_on) VALUES ('New, better name', 'TestDataObject', '2013-12-18 13:34:18')
#1906 - info - Transaction level increased to 2. Message: Commiting pending code snippets @ ICodeSnippetsImplementation
#1907 - info - Transaction level decreased to 1. Message: Commited pending code snippets @ ICodeSnippetsImplementation
#1908 - info - COMMIT
#1909 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1910 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1911 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1912 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1913 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1914 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1915 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1916 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1917 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1918 - info - CREATE TABLE ac_test_data_objects (
        id int(10) unsigned NOT NULL auto_increment,
        name varchar(100) NOT NULL,
        description text,
        type enum('Task','Milestone','Message','File') NOT NULL default 'File',
        created_on datetime NULL,
        updated_on datetime NULL,
        PRIMARY KEY  (id)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
#1919 - info - INSERT INTO ac_test_data_objects (id, name) VALUES (1, 'Belgrade'), (2, 'Novi Sad'), (3, 'Sombor'), (4, 'Subotica')
#1920 - info - SELECT id, name FROM ac_test_data_objects ORDER BY id
#1921 - info - DROP TABLE IF EXISTS ac_test_data_objects
#1922 - info - SHOW TABLES LIKE 'ac_config_options'
#1923 - info - SHOW TABLES LIKE 'ac_config_options'
#1924 - info - DROP TABLE `ac_config_options`
#1925 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1926 - info - SHOW TABLES LIKE 'ac_config_option_values'
#1927 - info - DROP TABLE `ac_config_option_values`
#1928 - info - SHOW TABLES LIKE 'ac_modules'
#1929 - info - SHOW TABLES LIKE 'ac_modules'
#1930 - info - DROP TABLE `ac_modules`
#1931 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1932 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#1933 - info - DROP TABLE `ac_executed_model_migrations`
#1934 - info - SHOW TABLES LIKE 'ac_update_history'
#1935 - info - SHOW TABLES LIKE 'ac_update_history'
#1936 - info - DROP TABLE `ac_update_history`
#1937 - info - SHOW TABLES LIKE 'ac_access_logs'
#1938 - info - SHOW TABLES LIKE 'ac_access_logs'
#1939 - info - DROP TABLE `ac_access_logs`
#1940 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1941 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#1942 - info - DROP TABLE `ac_access_logs_archive`
#1943 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1944 - info - SHOW TABLES LIKE 'ac_object_contexts'
#1945 - info - DROP TABLE `ac_object_contexts`
#1946 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1947 - info - SHOW TABLES LIKE 'ac_routing_cache'
#1948 - info - DROP TABLE `ac_routing_cache`
#1949 - info - SHOW TABLES LIKE 'ac_currencies'
#1950 - info - SHOW TABLES LIKE 'ac_currencies'
#1951 - info - DROP TABLE `ac_currencies`
#1952 - info - SHOW TABLES LIKE 'ac_day_offs'
#1953 - info - SHOW TABLES LIKE 'ac_day_offs'
#1954 - info - DROP TABLE `ac_day_offs`
#1955 - info - SHOW TABLES LIKE 'ac_languages'
#1956 - info - SHOW TABLES LIKE 'ac_languages'
#1957 - info - DROP TABLE `ac_languages`
#1958 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1959 - info - SHOW TABLES LIKE 'ac_language_phrases'
#1960 - info - DROP TABLE `ac_language_phrases`
#1961 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1962 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#1963 - info - DROP TABLE `ac_language_phrase_translations`
#1964 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1965 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#1966 - info - DROP TABLE `ac_api_client_subscriptions`
#1967 - info - SHOW TABLES LIKE 'ac_users'
#1968 - info - SHOW TABLES LIKE 'ac_users'
#1969 - info - DROP TABLE `ac_users`
#1970 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1971 - info - SHOW TABLES LIKE 'ac_user_addresses'
#1972 - info - DROP TABLE `ac_user_addresses`
#1973 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1974 - info - SHOW TABLES LIKE 'ac_user_sessions'
#1975 - info - DROP TABLE `ac_user_sessions`
#1976 - info - SHOW TABLES LIKE 'ac_security_logs'
#1977 - info - SHOW TABLES LIKE 'ac_security_logs'
#1978 - info - DROP TABLE `ac_security_logs`
#1979 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1980 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#1981 - info - DROP TABLE `ac_api_token_logs`
#1982 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1983 - info - SHOW TABLES LIKE 'ac_activity_logs'
#1984 - info - DROP TABLE `ac_activity_logs`
#1985 - info - SHOW TABLES LIKE 'ac_data_filters'
#1986 - info - SHOW TABLES LIKE 'ac_data_filters'
#1987 - info - DROP TABLE `ac_data_filters`
#1988 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1989 - info - SHOW TABLES LIKE 'ac_modification_logs'
#1990 - info - DROP TABLE `ac_modification_logs`
#1991 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1992 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#1993 - info - DROP TABLE `ac_modification_log_values`
#1994 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1995 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#1996 - info - DROP TABLE `ac_mailing_activity_logs`
#1997 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1998 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#1999 - info - DROP TABLE `ac_outgoing_messages`
#2000 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2001 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2002 - info - DROP TABLE `ac_incoming_mail_attachments`
#2003 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2004 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2005 - info - DROP TABLE `ac_incoming_mail_filters`
#2006 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2007 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2008 - info - DROP TABLE `ac_incoming_mailboxes`
#2009 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2010 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2011 - info - DROP TABLE `ac_incoming_mails`
#2012 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2013 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2014 - info - DROP TABLE `ac_homescreen_tabs`
#2015 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2016 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2017 - info - DROP TABLE `ac_homescreen_widgets`
#2018 - info - SHOW TABLES LIKE 'ac_announcements'
#2019 - info - SHOW TABLES LIKE 'ac_announcements'
#2020 - info - DROP TABLE `ac_announcements`
#2021 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2022 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2023 - info - DROP TABLE `ac_announcement_target_ids`
#2024 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2025 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2026 - info - DROP TABLE `ac_announcement_dismissals`
#2027 - info - SHOW TABLES LIKE 'ac_attachments'
#2028 - info - SHOW TABLES LIKE 'ac_attachments'
#2029 - info - DROP TABLE `ac_attachments`
#2030 - info - SHOW TABLES LIKE 'ac_notifications'
#2031 - info - SHOW TABLES LIKE 'ac_notifications'
#2032 - info - DROP TABLE `ac_notifications`
#2033 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2034 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2035 - info - DROP TABLE `ac_notification_recipients`
#2036 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2037 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2038 - info - DROP TABLE `ac_subscriptions`
#2039 - info - SHOW TABLES LIKE 'ac_comments'
#2040 - info - SHOW TABLES LIKE 'ac_comments'
#2041 - info - DROP TABLE `ac_comments`
#2042 - info - SHOW TABLES LIKE 'ac_categories'
#2043 - info - SHOW TABLES LIKE 'ac_categories'
#2044 - info - DROP TABLE `ac_categories`
#2045 - info - SHOW TABLES LIKE 'ac_labels'
#2046 - info - SHOW TABLES LIKE 'ac_labels'
#2047 - info - DROP TABLE `ac_labels`
#2048 - info - SHOW TABLES LIKE 'ac_assignments'
#2049 - info - SHOW TABLES LIKE 'ac_assignments'
#2050 - info - DROP TABLE `ac_assignments`
#2051 - info - SHOW TABLES LIKE 'ac_subtasks'
#2052 - info - SHOW TABLES LIKE 'ac_subtasks'
#2053 - info - DROP TABLE `ac_subtasks`
#2054 - info - SHOW TABLES LIKE 'ac_favorites'
#2055 - info - SHOW TABLES LIKE 'ac_favorites'
#2056 - info - DROP TABLE `ac_favorites`
#2057 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2058 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2059 - info - DROP TABLE `ac_code_snippets`
#2060 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2061 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2062 - info - DROP TABLE `ac_payment_gateways`
#2063 - info - SHOW TABLES LIKE 'ac_payments'
#2064 - info - SHOW TABLES LIKE 'ac_payments'
#2065 - info - DROP TABLE `ac_payments`
#2066 - info - SHOW TABLES LIKE 'ac_reminders'
#2067 - info - SHOW TABLES LIKE 'ac_reminders'
#2068 - info - DROP TABLE `ac_reminders`
#2069 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2070 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2071 - info - DROP TABLE `ac_reminder_users`
#2072 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2073 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2074 - info - DROP TABLE `ac_custom_fields`
#2075 - info - SHOW TABLES LIKE 'ac_calendars'
#2076 - info - SHOW TABLES LIKE 'ac_calendars'
#2077 - info - DROP TABLE `ac_calendars`
#2078 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2079 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2080 - info - DROP TABLE `ac_calendar_events`
#2081 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2082 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2083 - info - DROP TABLE `ac_calendar_users`
#2084 - info - SHOW TABLES LIKE 'ac_data_sources'
#2085 - info - SHOW TABLES LIKE 'ac_data_sources'
#2086 - info - DROP TABLE `ac_data_sources`
#2087 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2088 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2089 - info - DROP TABLE `ac_data_source_mappings`
#2090 - info - SHOW TABLES LIKE 'ac_companies'
#2091 - info - SHOW TABLES LIKE 'ac_companies'
#2092 - info - DROP TABLE `ac_companies`
#2093 - info - SHOW TABLES LIKE 'ac_projects'
#2094 - info - SHOW TABLES LIKE 'ac_projects'
#2095 - info - DROP TABLE `ac_projects`
#2096 - info - SHOW TABLES LIKE 'ac_project_roles'
#2097 - info - SHOW TABLES LIKE 'ac_project_roles'
#2098 - info - DROP TABLE `ac_project_roles`
#2099 - info - SHOW TABLES LIKE 'ac_project_users'
#2100 - info - SHOW TABLES LIKE 'ac_project_users'
#2101 - info - DROP TABLE `ac_project_users`
#2102 - info - SHOW TABLES LIKE 'ac_project_requests'
#2103 - info - SHOW TABLES LIKE 'ac_project_requests'
#2104 - info - DROP TABLE `ac_project_requests`
#2105 - info - SHOW TABLES LIKE 'ac_project_objects'
#2106 - info - SHOW TABLES LIKE 'ac_project_objects'
#2107 - info - DROP TABLE `ac_project_objects`
#2108 - info - SHOW TABLES LIKE 'ac_project_templates'
#2109 - info - SHOW TABLES LIKE 'ac_project_templates'
#2110 - info - DROP TABLE `ac_project_templates`
#2111 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2112 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2113 - info - DROP TABLE `ac_project_object_templates`
#2114 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2115 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2116 - info - DROP TABLE `ac_shared_object_profiles`
#2117 - info - SHOW TABLES LIKE 'ac_file_versions'
#2118 - info - SHOW TABLES LIKE 'ac_file_versions'
#2119 - info - DROP TABLE `ac_file_versions`
#2120 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2121 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2122 - info - DROP TABLE `ac_text_document_versions`
#2123 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2124 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2125 - info - DROP TABLE `ac_public_task_forms`
#2126 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2127 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2128 - info - DROP TABLE `ac_related_tasks`
#2129 - info - SHOW TABLES LIKE 'ac_task_segments'
#2130 - info - SHOW TABLES LIKE 'ac_task_segments'
#2131 - info - DROP TABLE `ac_task_segments`
#2132 - info - SHOW TABLES LIKE 'ac_status_updates'
#2133 - info - SHOW TABLES LIKE 'ac_status_updates'
#2134 - info - DROP TABLE `ac_status_updates`
#2135 - info - SHOW TABLES LIKE 'ac_documents'
#2136 - info - SHOW TABLES LIKE 'ac_documents'
#2137 - info - DROP TABLE `ac_documents`
#2138 - info - SHOW TABLES LIKE 'ac_time_records'
#2139 - info - SHOW TABLES LIKE 'ac_time_records'
#2140 - info - DROP TABLE `ac_time_records`
#2141 - info - SHOW TABLES LIKE 'ac_job_types'
#2142 - info - SHOW TABLES LIKE 'ac_job_types'
#2143 - info - DROP TABLE `ac_job_types`
#2144 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2145 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2146 - info - DROP TABLE `ac_project_hourly_rates`
#2147 - info - SHOW TABLES LIKE 'ac_expenses'
#2148 - info - SHOW TABLES LIKE 'ac_expenses'
#2149 - info - DROP TABLE `ac_expenses`
#2150 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2151 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2152 - info - DROP TABLE `ac_expense_categories`
#2153 - info - SHOW TABLES LIKE 'ac_estimates'
#2154 - info - SHOW TABLES LIKE 'ac_estimates'
#2155 - info - DROP TABLE `ac_estimates`
#2156 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2157 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2158 - info - DROP TABLE `ac_invoice_objects`
#2159 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2160 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2161 - info - DROP TABLE `ac_invoice_object_items`
#2162 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2163 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2164 - info - DROP TABLE `ac_invoice_item_templates`
#2165 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2166 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2167 - info - DROP TABLE `ac_invoice_note_templates`
#2168 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2169 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2170 - info - DROP TABLE `ac_invoice_related_records`
#2171 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2172 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2173 - info - DROP TABLE `ac_tax_rates`
#2174 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2175 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2176 - info - DROP TABLE `ac_notebook_pages`
#2177 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2178 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2179 - info - DROP TABLE `ac_notebook_page_versions`
#2180 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2181 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2182 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2183 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2184 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2185 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2186 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2187 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2188 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2189 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2190 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2191 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2192 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2193 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2194 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2195 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2196 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2197 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2198 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2199 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2200 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2201 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2202 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2203 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2204 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2205 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2206 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2207 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2208 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2209 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2210 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2211 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2212 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2213 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2214 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2215 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2216 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2217 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2218 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2219 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2220 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2221 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2222 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2223 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2224 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2225 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2226 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2227 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2228 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2229 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2230 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2231 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2232 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2233 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2234 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2235 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2236 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2237 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2238 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2239 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2240 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2241 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2242 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2243 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2244 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2245 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2246 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2247 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2248 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2249 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2250 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2251 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2252 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2253 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2254 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2255 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2256 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2257 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2258 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2259 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2260 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2261 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2262 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2263 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2264 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2265 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2266 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2267 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2268 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2269 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2270 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2271 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2272 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2273 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2274 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2275 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2276 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2277 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2278 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2279 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2280 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2281 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2282 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2283 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2284 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2285 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2286 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2287 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2288 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2289 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2290 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2291 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2292 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2293 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2294 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2295 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2297 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2298 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2299 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2300 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2301 - info - BEGIN WORK
#2302 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2303 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2304 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2305 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2306 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2307 - info - COMMIT
#2308 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2309 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2310 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2311 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2313 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2314 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2315 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2316 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2317 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2318 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2319 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2324 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2325 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2326 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2327 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2328 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2329 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2330 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2331 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2333 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2334 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2335 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2336 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2337 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2338 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2339 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2340 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2341 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2342 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2343 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2344 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2345 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2346 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2347 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2348 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2349 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2350 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2351 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2352 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2353 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2354 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2356 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2357 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2358 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2359 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2360 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2361 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373659;')
#2362 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2363 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2364 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2365 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2366 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2367 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2368 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2369 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2370 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2371 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2372 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2373 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2374 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2375 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2376 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2377 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2378 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2379 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2380 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2381 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2382 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2383 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2384 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2385 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2386 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2387 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2388 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2389 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2390 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2391 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2392 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#2393 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#2394 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#2395 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#2396 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#2397 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#2398 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#2399 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#2400 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#2401 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#2402 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#2403 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#2404 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#2405 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#2406 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#2407 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#2408 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#2409 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:19', '1')
#2410 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2411 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2412 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2413 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2414 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#2415 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2416 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#2417 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2418 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#2419 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#2420 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#2421 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#2422 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#2423 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#2424 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#2425 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#2426 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2427 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#2428 - info - BEGIN WORK
#2429 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#2430 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#2431 - info - COMMIT
#2432 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#2433 - info - BEGIN WORK
#2434 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2435 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#2436 - info - COMMIT
#2437 - info - BEGIN WORK
#2438 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#2439 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#2440 - info - COMMIT
#2441 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2442 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2443 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#2444 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#2445 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#2446 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#2447 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#2448 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#2449 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#2450 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#2451 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#2452 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#2453 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#2454 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#2455 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#2456 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#2457 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#2458 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#2459 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#2460 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#2461 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#2462 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#2463 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#2464 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#2465 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#2466 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#2467 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#2468 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#2469 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#2470 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#2471 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#2472 - info - SHOW TABLES LIKE 'ac_job_types'
#2473 - info - SELECT COUNT(id) FROM ac_job_types
#2474 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2475 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#2476 - info - BEGIN WORK
#2477 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#2478 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#2479 - info - COMMIT
#2480 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#2481 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#2482 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#2483 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#2484 - info - SELECT COUNT(name) FROM ac_modules
#2485 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#2486 - info - SELECT name FROM ac_modules
#2487 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#2488 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#2489 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#2490 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#2491 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#2492 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#2493 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#2494 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#2495 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#2496 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#2497 - info - BEGIN WORK
#2498 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#2499 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#2500 - info - UPDATE ac_config_options SET value = 'i:1387373659;' WHERE name = 'search_initialized_on'
#2501 - info - COMMIT
#2502 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#2503 - info - SELECT COUNT(*) FROM  ac_config_options
#2504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'i:12;')
#2505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 2', 'N;')
#2506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 's:9:\"something\";')
#2507 - info - SELECT COUNT(*) FROM  ac_config_options
#2508 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2509 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2510 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2511 - info - BEGIN WORK
#2512 - info - Transaction level increased to 1. Message: Begin Work: Removing config option
#2513 - info - DELETE FROM ac_config_options WHERE name = 'Option 2'
#2514 - info - DELETE FROM ac_config_option_values WHERE name = 'Option 2'
#2515 - info - COMMIT
#2516 - info - SELECT COUNT(*) FROM  ac_config_options
#2517 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2518 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#2519 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2520 - info - BEGIN WORK
#2521 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#2522 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#2523 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 3')
#2524 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3')
#2525 - info - COMMIT
#2526 - info - SELECT COUNT(*) FROM  ac_config_options
#2527 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#2528 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#2529 - info - SHOW TABLES LIKE 'ac_config_options'
#2530 - info - SHOW TABLES LIKE 'ac_config_options'
#2531 - info - DROP TABLE `ac_config_options`
#2532 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2533 - info - SHOW TABLES LIKE 'ac_config_option_values'
#2534 - info - DROP TABLE `ac_config_option_values`
#2535 - info - SHOW TABLES LIKE 'ac_modules'
#2536 - info - SHOW TABLES LIKE 'ac_modules'
#2537 - info - DROP TABLE `ac_modules`
#2538 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2539 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#2540 - info - DROP TABLE `ac_executed_model_migrations`
#2541 - info - SHOW TABLES LIKE 'ac_update_history'
#2542 - info - SHOW TABLES LIKE 'ac_update_history'
#2543 - info - DROP TABLE `ac_update_history`
#2544 - info - SHOW TABLES LIKE 'ac_access_logs'
#2545 - info - SHOW TABLES LIKE 'ac_access_logs'
#2546 - info - DROP TABLE `ac_access_logs`
#2547 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2548 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#2549 - info - DROP TABLE `ac_access_logs_archive`
#2550 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2551 - info - SHOW TABLES LIKE 'ac_object_contexts'
#2552 - info - DROP TABLE `ac_object_contexts`
#2553 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2554 - info - SHOW TABLES LIKE 'ac_routing_cache'
#2555 - info - DROP TABLE `ac_routing_cache`
#2556 - info - SHOW TABLES LIKE 'ac_currencies'
#2557 - info - SHOW TABLES LIKE 'ac_currencies'
#2558 - info - DROP TABLE `ac_currencies`
#2559 - info - SHOW TABLES LIKE 'ac_day_offs'
#2560 - info - SHOW TABLES LIKE 'ac_day_offs'
#2561 - info - DROP TABLE `ac_day_offs`
#2562 - info - SHOW TABLES LIKE 'ac_languages'
#2563 - info - SHOW TABLES LIKE 'ac_languages'
#2564 - info - DROP TABLE `ac_languages`
#2565 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2566 - info - SHOW TABLES LIKE 'ac_language_phrases'
#2567 - info - DROP TABLE `ac_language_phrases`
#2568 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2569 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#2570 - info - DROP TABLE `ac_language_phrase_translations`
#2571 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2572 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#2573 - info - DROP TABLE `ac_api_client_subscriptions`
#2574 - info - SHOW TABLES LIKE 'ac_users'
#2575 - info - SHOW TABLES LIKE 'ac_users'
#2576 - info - DROP TABLE `ac_users`
#2577 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2578 - info - SHOW TABLES LIKE 'ac_user_addresses'
#2579 - info - DROP TABLE `ac_user_addresses`
#2580 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2581 - info - SHOW TABLES LIKE 'ac_user_sessions'
#2582 - info - DROP TABLE `ac_user_sessions`
#2583 - info - SHOW TABLES LIKE 'ac_security_logs'
#2584 - info - SHOW TABLES LIKE 'ac_security_logs'
#2585 - info - DROP TABLE `ac_security_logs`
#2586 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2587 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#2588 - info - DROP TABLE `ac_api_token_logs`
#2589 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2590 - info - SHOW TABLES LIKE 'ac_activity_logs'
#2591 - info - DROP TABLE `ac_activity_logs`
#2592 - info - SHOW TABLES LIKE 'ac_data_filters'
#2593 - info - SHOW TABLES LIKE 'ac_data_filters'
#2594 - info - DROP TABLE `ac_data_filters`
#2595 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2596 - info - SHOW TABLES LIKE 'ac_modification_logs'
#2597 - info - DROP TABLE `ac_modification_logs`
#2598 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2599 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#2600 - info - DROP TABLE `ac_modification_log_values`
#2601 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2602 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#2603 - info - DROP TABLE `ac_mailing_activity_logs`
#2604 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2605 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#2606 - info - DROP TABLE `ac_outgoing_messages`
#2607 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2608 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#2609 - info - DROP TABLE `ac_incoming_mail_attachments`
#2610 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2611 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#2612 - info - DROP TABLE `ac_incoming_mail_filters`
#2613 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2614 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#2615 - info - DROP TABLE `ac_incoming_mailboxes`
#2616 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2617 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#2618 - info - DROP TABLE `ac_incoming_mails`
#2619 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2620 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#2621 - info - DROP TABLE `ac_homescreen_tabs`
#2622 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2623 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#2624 - info - DROP TABLE `ac_homescreen_widgets`
#2625 - info - SHOW TABLES LIKE 'ac_announcements'
#2626 - info - SHOW TABLES LIKE 'ac_announcements'
#2627 - info - DROP TABLE `ac_announcements`
#2628 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2629 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#2630 - info - DROP TABLE `ac_announcement_target_ids`
#2631 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2632 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#2633 - info - DROP TABLE `ac_announcement_dismissals`
#2634 - info - SHOW TABLES LIKE 'ac_attachments'
#2635 - info - SHOW TABLES LIKE 'ac_attachments'
#2636 - info - DROP TABLE `ac_attachments`
#2637 - info - SHOW TABLES LIKE 'ac_notifications'
#2638 - info - SHOW TABLES LIKE 'ac_notifications'
#2639 - info - DROP TABLE `ac_notifications`
#2640 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2641 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#2642 - info - DROP TABLE `ac_notification_recipients`
#2643 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2644 - info - SHOW TABLES LIKE 'ac_subscriptions'
#2645 - info - DROP TABLE `ac_subscriptions`
#2646 - info - SHOW TABLES LIKE 'ac_comments'
#2647 - info - SHOW TABLES LIKE 'ac_comments'
#2648 - info - DROP TABLE `ac_comments`
#2649 - info - SHOW TABLES LIKE 'ac_categories'
#2650 - info - SHOW TABLES LIKE 'ac_categories'
#2651 - info - DROP TABLE `ac_categories`
#2652 - info - SHOW TABLES LIKE 'ac_labels'
#2653 - info - SHOW TABLES LIKE 'ac_labels'
#2654 - info - DROP TABLE `ac_labels`
#2655 - info - SHOW TABLES LIKE 'ac_assignments'
#2656 - info - SHOW TABLES LIKE 'ac_assignments'
#2657 - info - DROP TABLE `ac_assignments`
#2658 - info - SHOW TABLES LIKE 'ac_subtasks'
#2659 - info - SHOW TABLES LIKE 'ac_subtasks'
#2660 - info - DROP TABLE `ac_subtasks`
#2661 - info - SHOW TABLES LIKE 'ac_favorites'
#2662 - info - SHOW TABLES LIKE 'ac_favorites'
#2663 - info - DROP TABLE `ac_favorites`
#2664 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2665 - info - SHOW TABLES LIKE 'ac_code_snippets'
#2666 - info - DROP TABLE `ac_code_snippets`
#2667 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2668 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#2669 - info - DROP TABLE `ac_payment_gateways`
#2670 - info - SHOW TABLES LIKE 'ac_payments'
#2671 - info - SHOW TABLES LIKE 'ac_payments'
#2672 - info - DROP TABLE `ac_payments`
#2673 - info - SHOW TABLES LIKE 'ac_reminders'
#2674 - info - SHOW TABLES LIKE 'ac_reminders'
#2675 - info - DROP TABLE `ac_reminders`
#2676 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2677 - info - SHOW TABLES LIKE 'ac_reminder_users'
#2678 - info - DROP TABLE `ac_reminder_users`
#2679 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2680 - info - SHOW TABLES LIKE 'ac_custom_fields'
#2681 - info - DROP TABLE `ac_custom_fields`
#2682 - info - SHOW TABLES LIKE 'ac_calendars'
#2683 - info - SHOW TABLES LIKE 'ac_calendars'
#2684 - info - DROP TABLE `ac_calendars`
#2685 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2686 - info - SHOW TABLES LIKE 'ac_calendar_events'
#2687 - info - DROP TABLE `ac_calendar_events`
#2688 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2689 - info - SHOW TABLES LIKE 'ac_calendar_users'
#2690 - info - DROP TABLE `ac_calendar_users`
#2691 - info - SHOW TABLES LIKE 'ac_data_sources'
#2692 - info - SHOW TABLES LIKE 'ac_data_sources'
#2693 - info - DROP TABLE `ac_data_sources`
#2694 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2695 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#2696 - info - DROP TABLE `ac_data_source_mappings`
#2697 - info - SHOW TABLES LIKE 'ac_companies'
#2698 - info - SHOW TABLES LIKE 'ac_companies'
#2699 - info - DROP TABLE `ac_companies`
#2700 - info - SHOW TABLES LIKE 'ac_projects'
#2701 - info - SHOW TABLES LIKE 'ac_projects'
#2702 - info - DROP TABLE `ac_projects`
#2703 - info - SHOW TABLES LIKE 'ac_project_roles'
#2704 - info - SHOW TABLES LIKE 'ac_project_roles'
#2705 - info - DROP TABLE `ac_project_roles`
#2706 - info - SHOW TABLES LIKE 'ac_project_users'
#2707 - info - SHOW TABLES LIKE 'ac_project_users'
#2708 - info - DROP TABLE `ac_project_users`
#2709 - info - SHOW TABLES LIKE 'ac_project_requests'
#2710 - info - SHOW TABLES LIKE 'ac_project_requests'
#2711 - info - DROP TABLE `ac_project_requests`
#2712 - info - SHOW TABLES LIKE 'ac_project_objects'
#2713 - info - SHOW TABLES LIKE 'ac_project_objects'
#2714 - info - DROP TABLE `ac_project_objects`
#2715 - info - SHOW TABLES LIKE 'ac_project_templates'
#2716 - info - SHOW TABLES LIKE 'ac_project_templates'
#2717 - info - DROP TABLE `ac_project_templates`
#2718 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2719 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#2720 - info - DROP TABLE `ac_project_object_templates`
#2721 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2722 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#2723 - info - DROP TABLE `ac_shared_object_profiles`
#2724 - info - SHOW TABLES LIKE 'ac_file_versions'
#2725 - info - SHOW TABLES LIKE 'ac_file_versions'
#2726 - info - DROP TABLE `ac_file_versions`
#2727 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2728 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#2729 - info - DROP TABLE `ac_text_document_versions`
#2730 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2731 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#2732 - info - DROP TABLE `ac_public_task_forms`
#2733 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2734 - info - SHOW TABLES LIKE 'ac_related_tasks'
#2735 - info - DROP TABLE `ac_related_tasks`
#2736 - info - SHOW TABLES LIKE 'ac_task_segments'
#2737 - info - SHOW TABLES LIKE 'ac_task_segments'
#2738 - info - DROP TABLE `ac_task_segments`
#2739 - info - SHOW TABLES LIKE 'ac_status_updates'
#2740 - info - SHOW TABLES LIKE 'ac_status_updates'
#2741 - info - DROP TABLE `ac_status_updates`
#2742 - info - SHOW TABLES LIKE 'ac_documents'
#2743 - info - SHOW TABLES LIKE 'ac_documents'
#2744 - info - DROP TABLE `ac_documents`
#2745 - info - SHOW TABLES LIKE 'ac_time_records'
#2746 - info - SHOW TABLES LIKE 'ac_time_records'
#2747 - info - DROP TABLE `ac_time_records`
#2748 - info - SHOW TABLES LIKE 'ac_job_types'
#2749 - info - SHOW TABLES LIKE 'ac_job_types'
#2750 - info - DROP TABLE `ac_job_types`
#2751 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2752 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#2753 - info - DROP TABLE `ac_project_hourly_rates`
#2754 - info - SHOW TABLES LIKE 'ac_expenses'
#2755 - info - SHOW TABLES LIKE 'ac_expenses'
#2756 - info - DROP TABLE `ac_expenses`
#2757 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2758 - info - SHOW TABLES LIKE 'ac_expense_categories'
#2759 - info - DROP TABLE `ac_expense_categories`
#2760 - info - SHOW TABLES LIKE 'ac_estimates'
#2761 - info - SHOW TABLES LIKE 'ac_estimates'
#2762 - info - DROP TABLE `ac_estimates`
#2763 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2764 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#2765 - info - DROP TABLE `ac_invoice_objects`
#2766 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2767 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#2768 - info - DROP TABLE `ac_invoice_object_items`
#2769 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2770 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#2771 - info - DROP TABLE `ac_invoice_item_templates`
#2772 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2773 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#2774 - info - DROP TABLE `ac_invoice_note_templates`
#2775 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2776 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#2777 - info - DROP TABLE `ac_invoice_related_records`
#2778 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2779 - info - SHOW TABLES LIKE 'ac_tax_rates'
#2780 - info - DROP TABLE `ac_tax_rates`
#2781 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2782 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#2783 - info - DROP TABLE `ac_notebook_pages`
#2784 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2785 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#2786 - info - DROP TABLE `ac_notebook_page_versions`
#2787 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2788 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2789 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2790 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2791 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2792 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2793 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2794 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2795 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2796 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2797 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2798 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2799 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2800 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2801 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2802 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2803 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2804 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2805 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2806 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2807 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2808 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2809 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2810 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2811 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2812 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2813 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2814 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2815 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2816 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2817 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2818 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2819 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2820 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2821 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2822 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2823 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2824 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2825 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2826 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2827 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2828 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2829 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2830 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2831 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2832 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2833 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2834 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2835 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2836 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2837 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2838 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2839 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2840 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2841 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2842 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2843 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2844 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2845 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2846 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2847 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2848 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2849 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2850 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2851 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2852 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2853 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2854 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2855 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2856 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2857 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2858 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2859 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2860 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2861 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2862 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2863 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2864 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2865 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2866 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2867 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2868 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2869 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2870 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2871 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2872 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#2873 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#2874 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#2875 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#2876 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#2877 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#2878 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#2879 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#2880 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#2881 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#2882 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#2883 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#2884 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#2885 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#2886 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#2887 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#2888 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#2889 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#2890 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#2891 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#2892 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#2893 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#2894 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#2895 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#2896 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#2897 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#2898 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#2899 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#2900 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#2901 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#2902 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#2903 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#2904 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#2905 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#2906 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#2907 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#2908 - info - BEGIN WORK
#2909 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#2910 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#2911 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#2912 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#2913 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#2914 - info - COMMIT
#2915 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#2916 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#2917 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#2918 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#2919 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#2920 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#2921 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#2922 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#2923 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#2924 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#2925 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#2926 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#2927 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#2928 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#2929 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#2930 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#2931 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#2932 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#2933 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#2934 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#2935 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#2936 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#2937 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#2938 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#2939 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#2940 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#2941 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#2942 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2943 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#2944 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2945 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2946 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2947 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2948 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#2949 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#2950 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#2951 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#2952 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#2953 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#2954 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#2955 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#2956 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#2957 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#2958 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#2959 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#2960 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#2961 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#2962 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#2963 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#2964 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#2965 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#2966 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#2967 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#2968 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373659;')
#2969 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#2970 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#2971 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#2972 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#2973 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#2974 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#2975 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#2976 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#2977 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#2978 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#2979 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#2980 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#2981 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#2982 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#2983 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#2984 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#2985 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#2986 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#2987 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#2988 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#2989 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#2990 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#2991 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#2992 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#2993 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#2994 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#2995 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#2996 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#2997 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#2998 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#2999 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3000 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3001 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3002 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3003 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3004 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3005 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3006 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3007 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3008 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3009 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3010 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3011 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3012 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3013 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3014 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3015 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3016 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:19', '1')
#3017 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3018 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3019 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3020 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3021 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3022 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3023 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3024 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3025 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3026 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3027 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3028 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3029 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3030 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3031 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3032 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3033 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3034 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3035 - info - BEGIN WORK
#3036 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3037 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3038 - info - COMMIT
#3039 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3040 - info - BEGIN WORK
#3041 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3042 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3043 - info - COMMIT
#3044 - info - BEGIN WORK
#3045 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3046 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3047 - info - COMMIT
#3048 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3049 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3050 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3051 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3052 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3053 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3054 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3055 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3056 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3057 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3058 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3059 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3060 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3061 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3062 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3063 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3064 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3065 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3066 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3067 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3068 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3069 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3070 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3071 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3072 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3073 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3074 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3075 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3076 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3077 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3078 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3079 - info - SHOW TABLES LIKE 'ac_job_types'
#3080 - info - SELECT COUNT(id) FROM ac_job_types
#3081 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3082 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3083 - info - BEGIN WORK
#3084 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3085 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3086 - info - COMMIT
#3087 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3088 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3089 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3090 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3091 - info - SELECT COUNT(name) FROM ac_modules
#3092 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3093 - info - SELECT name FROM ac_modules
#3094 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3095 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3096 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3097 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3098 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3099 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3100 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3101 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3102 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3103 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3104 - info - BEGIN WORK
#3105 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3106 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3107 - info - UPDATE ac_config_options SET value = 'i:1387373659;' WHERE name = 'search_initialized_on'
#3108 - info - COMMIT
#3109 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3110 - info - SELECT COUNT(*) FROM  ac_config_options
#3111 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'Module 1', 'N;')
#3112 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'Module 1', 'N;')
#3113 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'Module 1', 'N;')
#3114 - info - SELECT COUNT(*) FROM ac_config_options
#3115 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3116 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3117 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3118 - info - BEGIN WORK
#3119 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3120 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3121 - info - UPDATE ac_config_options SET value = 's:7:\"Value 1\";' WHERE name = 'Option 1'
#3122 - info - COMMIT
#3123 - info - BEGIN WORK
#3124 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3125 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3126 - info - UPDATE ac_config_options SET value = 's:7:\"Value 2\";' WHERE name = 'Option 2'
#3127 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3128 - info - UPDATE ac_config_options SET value = 's:7:\"Value 3\";' WHERE name = 'Option 3'
#3129 - info - COMMIT
#3130 - info - BEGIN WORK
#3131 - info - Transaction level increased to 1. Message: Begin Work: Removing config option by module
#3132 - info - SELECT name FROM ac_config_options WHERE module = 'Module 1'
#3133 - info - DELETE FROM ac_config_options WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3134 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 2', 'Option 3')
#3135 - info - COMMIT
#3136 - info - SELECT COUNT(*) FROM ac_config_options
#3137 - info - SHOW TABLES LIKE 'ac_config_options'
#3138 - info - SHOW TABLES LIKE 'ac_config_options'
#3139 - info - DROP TABLE `ac_config_options`
#3140 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3141 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3142 - info - DROP TABLE `ac_config_option_values`
#3143 - info - SHOW TABLES LIKE 'ac_modules'
#3144 - info - SHOW TABLES LIKE 'ac_modules'
#3145 - info - DROP TABLE `ac_modules`
#3146 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3147 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3148 - info - DROP TABLE `ac_executed_model_migrations`
#3149 - info - SHOW TABLES LIKE 'ac_update_history'
#3150 - info - SHOW TABLES LIKE 'ac_update_history'
#3151 - info - DROP TABLE `ac_update_history`
#3152 - info - SHOW TABLES LIKE 'ac_access_logs'
#3153 - info - SHOW TABLES LIKE 'ac_access_logs'
#3154 - info - DROP TABLE `ac_access_logs`
#3155 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3156 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3157 - info - DROP TABLE `ac_access_logs_archive`
#3158 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3159 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3160 - info - DROP TABLE `ac_object_contexts`
#3161 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3162 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3163 - info - DROP TABLE `ac_routing_cache`
#3164 - info - SHOW TABLES LIKE 'ac_currencies'
#3165 - info - SHOW TABLES LIKE 'ac_currencies'
#3166 - info - DROP TABLE `ac_currencies`
#3167 - info - SHOW TABLES LIKE 'ac_day_offs'
#3168 - info - SHOW TABLES LIKE 'ac_day_offs'
#3169 - info - DROP TABLE `ac_day_offs`
#3170 - info - SHOW TABLES LIKE 'ac_languages'
#3171 - info - SHOW TABLES LIKE 'ac_languages'
#3172 - info - DROP TABLE `ac_languages`
#3173 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3174 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3175 - info - DROP TABLE `ac_language_phrases`
#3176 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3177 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3178 - info - DROP TABLE `ac_language_phrase_translations`
#3179 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3180 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3181 - info - DROP TABLE `ac_api_client_subscriptions`
#3182 - info - SHOW TABLES LIKE 'ac_users'
#3183 - info - SHOW TABLES LIKE 'ac_users'
#3184 - info - DROP TABLE `ac_users`
#3185 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3186 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3187 - info - DROP TABLE `ac_user_addresses`
#3188 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3189 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3190 - info - DROP TABLE `ac_user_sessions`
#3191 - info - SHOW TABLES LIKE 'ac_security_logs'
#3192 - info - SHOW TABLES LIKE 'ac_security_logs'
#3193 - info - DROP TABLE `ac_security_logs`
#3194 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3195 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3196 - info - DROP TABLE `ac_api_token_logs`
#3197 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3198 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3199 - info - DROP TABLE `ac_activity_logs`
#3200 - info - SHOW TABLES LIKE 'ac_data_filters'
#3201 - info - SHOW TABLES LIKE 'ac_data_filters'
#3202 - info - DROP TABLE `ac_data_filters`
#3203 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3204 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3205 - info - DROP TABLE `ac_modification_logs`
#3206 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3207 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3208 - info - DROP TABLE `ac_modification_log_values`
#3209 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3210 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3211 - info - DROP TABLE `ac_mailing_activity_logs`
#3212 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3213 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3214 - info - DROP TABLE `ac_outgoing_messages`
#3215 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3216 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3217 - info - DROP TABLE `ac_incoming_mail_attachments`
#3218 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3219 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3220 - info - DROP TABLE `ac_incoming_mail_filters`
#3221 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3222 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3223 - info - DROP TABLE `ac_incoming_mailboxes`
#3224 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3225 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3226 - info - DROP TABLE `ac_incoming_mails`
#3227 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3228 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3229 - info - DROP TABLE `ac_homescreen_tabs`
#3230 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3231 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3232 - info - DROP TABLE `ac_homescreen_widgets`
#3233 - info - SHOW TABLES LIKE 'ac_announcements'
#3234 - info - SHOW TABLES LIKE 'ac_announcements'
#3235 - info - DROP TABLE `ac_announcements`
#3236 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3237 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3238 - info - DROP TABLE `ac_announcement_target_ids`
#3239 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3240 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3241 - info - DROP TABLE `ac_announcement_dismissals`
#3242 - info - SHOW TABLES LIKE 'ac_attachments'
#3243 - info - SHOW TABLES LIKE 'ac_attachments'
#3244 - info - DROP TABLE `ac_attachments`
#3245 - info - SHOW TABLES LIKE 'ac_notifications'
#3246 - info - SHOW TABLES LIKE 'ac_notifications'
#3247 - info - DROP TABLE `ac_notifications`
#3248 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3249 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3250 - info - DROP TABLE `ac_notification_recipients`
#3251 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3252 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3253 - info - DROP TABLE `ac_subscriptions`
#3254 - info - SHOW TABLES LIKE 'ac_comments'
#3255 - info - SHOW TABLES LIKE 'ac_comments'
#3256 - info - DROP TABLE `ac_comments`
#3257 - info - SHOW TABLES LIKE 'ac_categories'
#3258 - info - SHOW TABLES LIKE 'ac_categories'
#3259 - info - DROP TABLE `ac_categories`
#3260 - info - SHOW TABLES LIKE 'ac_labels'
#3261 - info - SHOW TABLES LIKE 'ac_labels'
#3262 - info - DROP TABLE `ac_labels`
#3263 - info - SHOW TABLES LIKE 'ac_assignments'
#3264 - info - SHOW TABLES LIKE 'ac_assignments'
#3265 - info - DROP TABLE `ac_assignments`
#3266 - info - SHOW TABLES LIKE 'ac_subtasks'
#3267 - info - SHOW TABLES LIKE 'ac_subtasks'
#3268 - info - DROP TABLE `ac_subtasks`
#3269 - info - SHOW TABLES LIKE 'ac_favorites'
#3270 - info - SHOW TABLES LIKE 'ac_favorites'
#3271 - info - DROP TABLE `ac_favorites`
#3272 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3273 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3274 - info - DROP TABLE `ac_code_snippets`
#3275 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3276 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3277 - info - DROP TABLE `ac_payment_gateways`
#3278 - info - SHOW TABLES LIKE 'ac_payments'
#3279 - info - SHOW TABLES LIKE 'ac_payments'
#3280 - info - DROP TABLE `ac_payments`
#3281 - info - SHOW TABLES LIKE 'ac_reminders'
#3282 - info - SHOW TABLES LIKE 'ac_reminders'
#3283 - info - DROP TABLE `ac_reminders`
#3284 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3285 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3286 - info - DROP TABLE `ac_reminder_users`
#3287 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3288 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3289 - info - DROP TABLE `ac_custom_fields`
#3290 - info - SHOW TABLES LIKE 'ac_calendars'
#3291 - info - SHOW TABLES LIKE 'ac_calendars'
#3292 - info - DROP TABLE `ac_calendars`
#3293 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3294 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3295 - info - DROP TABLE `ac_calendar_events`
#3296 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3297 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3298 - info - DROP TABLE `ac_calendar_users`
#3299 - info - SHOW TABLES LIKE 'ac_data_sources'
#3300 - info - SHOW TABLES LIKE 'ac_data_sources'
#3301 - info - DROP TABLE `ac_data_sources`
#3302 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3303 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3304 - info - DROP TABLE `ac_data_source_mappings`
#3305 - info - SHOW TABLES LIKE 'ac_companies'
#3306 - info - SHOW TABLES LIKE 'ac_companies'
#3307 - info - DROP TABLE `ac_companies`
#3308 - info - SHOW TABLES LIKE 'ac_projects'
#3309 - info - SHOW TABLES LIKE 'ac_projects'
#3310 - info - DROP TABLE `ac_projects`
#3311 - info - SHOW TABLES LIKE 'ac_project_roles'
#3312 - info - SHOW TABLES LIKE 'ac_project_roles'
#3313 - info - DROP TABLE `ac_project_roles`
#3314 - info - SHOW TABLES LIKE 'ac_project_users'
#3315 - info - SHOW TABLES LIKE 'ac_project_users'
#3316 - info - DROP TABLE `ac_project_users`
#3317 - info - SHOW TABLES LIKE 'ac_project_requests'
#3318 - info - SHOW TABLES LIKE 'ac_project_requests'
#3319 - info - DROP TABLE `ac_project_requests`
#3320 - info - SHOW TABLES LIKE 'ac_project_objects'
#3321 - info - SHOW TABLES LIKE 'ac_project_objects'
#3322 - info - DROP TABLE `ac_project_objects`
#3323 - info - SHOW TABLES LIKE 'ac_project_templates'
#3324 - info - SHOW TABLES LIKE 'ac_project_templates'
#3325 - info - DROP TABLE `ac_project_templates`
#3326 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3327 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3328 - info - DROP TABLE `ac_project_object_templates`
#3329 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3330 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3331 - info - DROP TABLE `ac_shared_object_profiles`
#3332 - info - SHOW TABLES LIKE 'ac_file_versions'
#3333 - info - SHOW TABLES LIKE 'ac_file_versions'
#3334 - info - DROP TABLE `ac_file_versions`
#3335 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3336 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3337 - info - DROP TABLE `ac_text_document_versions`
#3338 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3339 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3340 - info - DROP TABLE `ac_public_task_forms`
#3341 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3342 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3343 - info - DROP TABLE `ac_related_tasks`
#3344 - info - SHOW TABLES LIKE 'ac_task_segments'
#3345 - info - SHOW TABLES LIKE 'ac_task_segments'
#3346 - info - DROP TABLE `ac_task_segments`
#3347 - info - SHOW TABLES LIKE 'ac_status_updates'
#3348 - info - SHOW TABLES LIKE 'ac_status_updates'
#3349 - info - DROP TABLE `ac_status_updates`
#3350 - info - SHOW TABLES LIKE 'ac_documents'
#3351 - info - SHOW TABLES LIKE 'ac_documents'
#3352 - info - DROP TABLE `ac_documents`
#3353 - info - SHOW TABLES LIKE 'ac_time_records'
#3354 - info - SHOW TABLES LIKE 'ac_time_records'
#3355 - info - DROP TABLE `ac_time_records`
#3356 - info - SHOW TABLES LIKE 'ac_job_types'
#3357 - info - SHOW TABLES LIKE 'ac_job_types'
#3358 - info - DROP TABLE `ac_job_types`
#3359 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3360 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3361 - info - DROP TABLE `ac_project_hourly_rates`
#3362 - info - SHOW TABLES LIKE 'ac_expenses'
#3363 - info - SHOW TABLES LIKE 'ac_expenses'
#3364 - info - DROP TABLE `ac_expenses`
#3365 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3366 - info - SHOW TABLES LIKE 'ac_expense_categories'
#3367 - info - DROP TABLE `ac_expense_categories`
#3368 - info - SHOW TABLES LIKE 'ac_estimates'
#3369 - info - SHOW TABLES LIKE 'ac_estimates'
#3370 - info - DROP TABLE `ac_estimates`
#3371 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3372 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#3373 - info - DROP TABLE `ac_invoice_objects`
#3374 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3375 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#3376 - info - DROP TABLE `ac_invoice_object_items`
#3377 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3378 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#3379 - info - DROP TABLE `ac_invoice_item_templates`
#3380 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3381 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#3382 - info - DROP TABLE `ac_invoice_note_templates`
#3383 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3384 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#3385 - info - DROP TABLE `ac_invoice_related_records`
#3386 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3387 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3388 - info - DROP TABLE `ac_tax_rates`
#3389 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3390 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#3391 - info - DROP TABLE `ac_notebook_pages`
#3392 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3393 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#3394 - info - DROP TABLE `ac_notebook_page_versions`
#3395 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3396 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3397 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3398 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3399 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3400 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3401 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3402 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3403 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3404 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3405 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3406 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3407 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3408 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3409 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3410 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3411 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3412 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3413 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3414 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3415 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3416 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3417 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3418 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3419 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3420 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3421 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3422 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3423 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3424 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3425 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3426 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3427 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3428 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3429 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3430 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3431 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3432 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3433 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3434 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3435 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3436 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3437 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3438 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3439 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3440 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3441 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3442 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3443 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3444 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3445 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3446 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3447 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3448 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3449 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3450 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3451 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3452 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3453 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3454 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3455 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3456 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3457 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3458 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3459 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3460 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3461 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3462 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3463 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3464 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3465 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3466 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3467 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3468 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3469 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3470 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3471 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3472 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3473 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3474 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3475 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3476 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3477 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3478 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3479 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3480 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#3481 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#3482 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#3483 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#3484 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#3485 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#3486 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#3487 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#3488 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#3489 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#3490 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#3491 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#3492 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#3493 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#3494 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#3495 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#3496 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#3497 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#3498 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#3499 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#3500 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#3501 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#3502 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#3503 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#3504 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#3505 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#3506 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#3507 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#3508 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#3509 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#3510 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#3511 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#3512 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#3513 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#3514 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#3515 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#3516 - info - BEGIN WORK
#3517 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#3518 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#3519 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#3520 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#3521 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#3522 - info - COMMIT
#3523 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#3524 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#3525 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#3526 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#3527 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#3528 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#3529 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#3530 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#3531 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#3532 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#3533 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#3534 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#3535 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#3536 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#3537 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#3538 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#3539 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#3540 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#3541 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#3542 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#3543 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#3544 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#3545 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#3546 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#3547 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#3548 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#3549 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#3550 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3551 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#3552 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3553 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3554 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3555 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3556 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#3557 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3558 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3559 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3560 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3561 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#3562 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#3563 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#3564 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#3565 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#3566 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#3567 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#3568 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#3569 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#3570 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#3571 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#3572 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#3573 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#3574 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#3575 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#3576 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373660;')
#3577 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#3578 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#3579 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#3580 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#3581 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#3582 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#3583 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#3584 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#3585 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#3586 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#3587 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#3588 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#3589 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#3590 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#3591 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#3592 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#3593 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#3594 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#3595 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#3596 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#3597 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#3598 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#3599 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#3600 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#3601 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#3602 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#3603 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#3604 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#3605 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#3606 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#3607 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#3608 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#3609 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#3610 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#3611 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#3612 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#3613 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#3614 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#3615 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#3616 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#3617 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#3618 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#3619 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#3620 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#3621 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#3622 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#3623 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#3624 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:20', '1')
#3625 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#3626 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#3627 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#3628 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#3629 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#3630 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3631 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#3632 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3633 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#3634 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#3635 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#3636 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#3637 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#3638 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#3639 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#3640 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#3641 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3642 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#3643 - info - BEGIN WORK
#3644 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#3645 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#3646 - info - COMMIT
#3647 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#3648 - info - BEGIN WORK
#3649 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3650 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#3651 - info - COMMIT
#3652 - info - BEGIN WORK
#3653 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#3654 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#3655 - info - COMMIT
#3656 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3657 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3658 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#3659 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#3660 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#3661 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#3662 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#3663 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#3664 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#3665 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#3666 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#3667 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#3668 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#3669 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#3670 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#3671 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#3672 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#3673 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#3674 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#3675 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#3676 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#3677 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#3678 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#3679 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#3680 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#3681 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#3682 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#3683 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#3684 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#3685 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#3686 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#3687 - info - SHOW TABLES LIKE 'ac_job_types'
#3688 - info - SELECT COUNT(id) FROM ac_job_types
#3689 - info - SHOW TABLES LIKE 'ac_tax_rates'
#3690 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#3691 - info - BEGIN WORK
#3692 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#3693 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#3694 - info - COMMIT
#3695 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#3696 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#3697 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#3698 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#3699 - info - SELECT COUNT(name) FROM ac_modules
#3700 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#3701 - info - SELECT name FROM ac_modules
#3702 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#3703 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#3704 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#3705 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#3706 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#3707 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#3708 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#3709 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#3710 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#3711 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#3712 - info - BEGIN WORK
#3713 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#3714 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#3715 - info - UPDATE ac_config_options SET value = 'i:1387373660;' WHERE name = 'search_initialized_on'
#3716 - info - COMMIT
#3717 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#3718 - info - SELECT COUNT(*) FROM  ac_config_options
#3719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 1', 'system', 'i:1983;')
#3720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 2', 'system', 's:10:\"Google.com\";')
#3721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('Option 3', 'system', 'a:6:{i:0;s:8:\"Belgrade\";i:1;s:6:\"Zagreb\";i:2;s:9:\"Ljubljana\";i:3;s:8:\"Sarajevo\";i:4;s:9:\"Podgorica\";i:5;s:7:\"Skoplje\";}')
#3722 - info - SELECT COUNT(*) FROM ac_config_options
#3723 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3724 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3725 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3726 - info - BEGIN WORK
#3727 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3728 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3729 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3730 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '1', 's:7:\"Value 1\";')
#3731 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3732 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3733 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '1', 's:7:\"Value 3\";')
#3734 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3735 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3736 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 2', 'TestConfigOptionsObject1', '1', 's:7:\"Value 2\";')
#3737 - info - COMMIT
#3738 - info - BEGIN WORK
#3739 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3740 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3741 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3742 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject1', '2', 's:25:\"Value 1 for second object\";')
#3743 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 3'
#3744 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 3' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3745 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 3', 'TestConfigOptionsObject1', '2', 's:7:\"Value 3\";')
#3746 - info - COMMIT
#3747 - info - BEGIN WORK
#3748 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3749 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 1'
#3750 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 1' AND parent_type = 'TestConfigOptionsObject2' AND parent_id = '1'
#3751 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('Option 1', 'TestConfigOptionsObject2', '1', 'i:1;')
#3752 - info - COMMIT
#3753 - info - SELECT COUNT(*) FROM ac_config_option_values
#3754 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3755 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject2'
#3756 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 1', 'Option 3') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3757 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3758 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3759 - info - DELETE FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1' AND parent_id = '2'
#3760 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE parent_type = 'TestConfigOptionsObject1'
#3761 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3762 - info - BEGIN WORK
#3763 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#3764 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'Option 2'
#3765 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3766 - info - UPDATE ac_config_option_values SET value = 's:9:\"Yahoo.com\";' WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3767 - info - COMMIT
#3768 - info - SELECT COUNT(*) FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3769 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3770 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3771 - info - DELETE FROM ac_config_option_values WHERE name IN ('Option 2') AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3772 - info - SELECT value FROM ac_config_option_values WHERE name = 'Option 2' AND parent_type = 'TestConfigOptionsObject1' AND parent_id = '1'
#3773 - info - SELECT value FROM ac_config_options WHERE name = 'Option 2'
#3774 - info - SHOW TABLES LIKE 'ac_config_options'
#3775 - info - SHOW TABLES LIKE 'ac_config_options'
#3776 - info - DROP TABLE `ac_config_options`
#3777 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3778 - info - SHOW TABLES LIKE 'ac_config_option_values'
#3779 - info - DROP TABLE `ac_config_option_values`
#3780 - info - SHOW TABLES LIKE 'ac_modules'
#3781 - info - SHOW TABLES LIKE 'ac_modules'
#3782 - info - DROP TABLE `ac_modules`
#3783 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3784 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#3785 - info - DROP TABLE `ac_executed_model_migrations`
#3786 - info - SHOW TABLES LIKE 'ac_update_history'
#3787 - info - SHOW TABLES LIKE 'ac_update_history'
#3788 - info - DROP TABLE `ac_update_history`
#3789 - info - SHOW TABLES LIKE 'ac_access_logs'
#3790 - info - SHOW TABLES LIKE 'ac_access_logs'
#3791 - info - DROP TABLE `ac_access_logs`
#3792 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3793 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#3794 - info - DROP TABLE `ac_access_logs_archive`
#3795 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3796 - info - SHOW TABLES LIKE 'ac_object_contexts'
#3797 - info - DROP TABLE `ac_object_contexts`
#3798 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3799 - info - SHOW TABLES LIKE 'ac_routing_cache'
#3800 - info - DROP TABLE `ac_routing_cache`
#3801 - info - SHOW TABLES LIKE 'ac_currencies'
#3802 - info - SHOW TABLES LIKE 'ac_currencies'
#3803 - info - DROP TABLE `ac_currencies`
#3804 - info - SHOW TABLES LIKE 'ac_day_offs'
#3805 - info - SHOW TABLES LIKE 'ac_day_offs'
#3806 - info - DROP TABLE `ac_day_offs`
#3807 - info - SHOW TABLES LIKE 'ac_languages'
#3808 - info - SHOW TABLES LIKE 'ac_languages'
#3809 - info - DROP TABLE `ac_languages`
#3810 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3811 - info - SHOW TABLES LIKE 'ac_language_phrases'
#3812 - info - DROP TABLE `ac_language_phrases`
#3813 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3814 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#3815 - info - DROP TABLE `ac_language_phrase_translations`
#3816 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3817 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#3818 - info - DROP TABLE `ac_api_client_subscriptions`
#3819 - info - SHOW TABLES LIKE 'ac_users'
#3820 - info - SHOW TABLES LIKE 'ac_users'
#3821 - info - DROP TABLE `ac_users`
#3822 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3823 - info - SHOW TABLES LIKE 'ac_user_addresses'
#3824 - info - DROP TABLE `ac_user_addresses`
#3825 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3826 - info - SHOW TABLES LIKE 'ac_user_sessions'
#3827 - info - DROP TABLE `ac_user_sessions`
#3828 - info - SHOW TABLES LIKE 'ac_security_logs'
#3829 - info - SHOW TABLES LIKE 'ac_security_logs'
#3830 - info - DROP TABLE `ac_security_logs`
#3831 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3832 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#3833 - info - DROP TABLE `ac_api_token_logs`
#3834 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3835 - info - SHOW TABLES LIKE 'ac_activity_logs'
#3836 - info - DROP TABLE `ac_activity_logs`
#3837 - info - SHOW TABLES LIKE 'ac_data_filters'
#3838 - info - SHOW TABLES LIKE 'ac_data_filters'
#3839 - info - DROP TABLE `ac_data_filters`
#3840 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3841 - info - SHOW TABLES LIKE 'ac_modification_logs'
#3842 - info - DROP TABLE `ac_modification_logs`
#3843 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3844 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#3845 - info - DROP TABLE `ac_modification_log_values`
#3846 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3847 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#3848 - info - DROP TABLE `ac_mailing_activity_logs`
#3849 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3850 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#3851 - info - DROP TABLE `ac_outgoing_messages`
#3852 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3853 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#3854 - info - DROP TABLE `ac_incoming_mail_attachments`
#3855 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3856 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#3857 - info - DROP TABLE `ac_incoming_mail_filters`
#3858 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3859 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#3860 - info - DROP TABLE `ac_incoming_mailboxes`
#3861 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3862 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#3863 - info - DROP TABLE `ac_incoming_mails`
#3864 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3865 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#3866 - info - DROP TABLE `ac_homescreen_tabs`
#3867 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3868 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#3869 - info - DROP TABLE `ac_homescreen_widgets`
#3870 - info - SHOW TABLES LIKE 'ac_announcements'
#3871 - info - SHOW TABLES LIKE 'ac_announcements'
#3872 - info - DROP TABLE `ac_announcements`
#3873 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3874 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#3875 - info - DROP TABLE `ac_announcement_target_ids`
#3876 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3877 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#3878 - info - DROP TABLE `ac_announcement_dismissals`
#3879 - info - SHOW TABLES LIKE 'ac_attachments'
#3880 - info - SHOW TABLES LIKE 'ac_attachments'
#3881 - info - DROP TABLE `ac_attachments`
#3882 - info - SHOW TABLES LIKE 'ac_notifications'
#3883 - info - SHOW TABLES LIKE 'ac_notifications'
#3884 - info - DROP TABLE `ac_notifications`
#3885 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3886 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#3887 - info - DROP TABLE `ac_notification_recipients`
#3888 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3889 - info - SHOW TABLES LIKE 'ac_subscriptions'
#3890 - info - DROP TABLE `ac_subscriptions`
#3891 - info - SHOW TABLES LIKE 'ac_comments'
#3892 - info - SHOW TABLES LIKE 'ac_comments'
#3893 - info - DROP TABLE `ac_comments`
#3894 - info - SHOW TABLES LIKE 'ac_categories'
#3895 - info - SHOW TABLES LIKE 'ac_categories'
#3896 - info - DROP TABLE `ac_categories`
#3897 - info - SHOW TABLES LIKE 'ac_labels'
#3898 - info - SHOW TABLES LIKE 'ac_labels'
#3899 - info - DROP TABLE `ac_labels`
#3900 - info - SHOW TABLES LIKE 'ac_assignments'
#3901 - info - SHOW TABLES LIKE 'ac_assignments'
#3902 - info - DROP TABLE `ac_assignments`
#3903 - info - SHOW TABLES LIKE 'ac_subtasks'
#3904 - info - SHOW TABLES LIKE 'ac_subtasks'
#3905 - info - DROP TABLE `ac_subtasks`
#3906 - info - SHOW TABLES LIKE 'ac_favorites'
#3907 - info - SHOW TABLES LIKE 'ac_favorites'
#3908 - info - DROP TABLE `ac_favorites`
#3909 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3910 - info - SHOW TABLES LIKE 'ac_code_snippets'
#3911 - info - DROP TABLE `ac_code_snippets`
#3912 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3913 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#3914 - info - DROP TABLE `ac_payment_gateways`
#3915 - info - SHOW TABLES LIKE 'ac_payments'
#3916 - info - SHOW TABLES LIKE 'ac_payments'
#3917 - info - DROP TABLE `ac_payments`
#3918 - info - SHOW TABLES LIKE 'ac_reminders'
#3919 - info - SHOW TABLES LIKE 'ac_reminders'
#3920 - info - DROP TABLE `ac_reminders`
#3921 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3922 - info - SHOW TABLES LIKE 'ac_reminder_users'
#3923 - info - DROP TABLE `ac_reminder_users`
#3924 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3925 - info - SHOW TABLES LIKE 'ac_custom_fields'
#3926 - info - DROP TABLE `ac_custom_fields`
#3927 - info - SHOW TABLES LIKE 'ac_calendars'
#3928 - info - SHOW TABLES LIKE 'ac_calendars'
#3929 - info - DROP TABLE `ac_calendars`
#3930 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3931 - info - SHOW TABLES LIKE 'ac_calendar_events'
#3932 - info - DROP TABLE `ac_calendar_events`
#3933 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3934 - info - SHOW TABLES LIKE 'ac_calendar_users'
#3935 - info - DROP TABLE `ac_calendar_users`
#3936 - info - SHOW TABLES LIKE 'ac_data_sources'
#3937 - info - SHOW TABLES LIKE 'ac_data_sources'
#3938 - info - DROP TABLE `ac_data_sources`
#3939 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3940 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#3941 - info - DROP TABLE `ac_data_source_mappings`
#3942 - info - SHOW TABLES LIKE 'ac_companies'
#3943 - info - SHOW TABLES LIKE 'ac_companies'
#3944 - info - DROP TABLE `ac_companies`
#3945 - info - SHOW TABLES LIKE 'ac_projects'
#3946 - info - SHOW TABLES LIKE 'ac_projects'
#3947 - info - DROP TABLE `ac_projects`
#3948 - info - SHOW TABLES LIKE 'ac_project_roles'
#3949 - info - SHOW TABLES LIKE 'ac_project_roles'
#3950 - info - DROP TABLE `ac_project_roles`
#3951 - info - SHOW TABLES LIKE 'ac_project_users'
#3952 - info - SHOW TABLES LIKE 'ac_project_users'
#3953 - info - DROP TABLE `ac_project_users`
#3954 - info - SHOW TABLES LIKE 'ac_project_requests'
#3955 - info - SHOW TABLES LIKE 'ac_project_requests'
#3956 - info - DROP TABLE `ac_project_requests`
#3957 - info - SHOW TABLES LIKE 'ac_project_objects'
#3958 - info - SHOW TABLES LIKE 'ac_project_objects'
#3959 - info - DROP TABLE `ac_project_objects`
#3960 - info - SHOW TABLES LIKE 'ac_project_templates'
#3961 - info - SHOW TABLES LIKE 'ac_project_templates'
#3962 - info - DROP TABLE `ac_project_templates`
#3963 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3964 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#3965 - info - DROP TABLE `ac_project_object_templates`
#3966 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3967 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#3968 - info - DROP TABLE `ac_shared_object_profiles`
#3969 - info - SHOW TABLES LIKE 'ac_file_versions'
#3970 - info - SHOW TABLES LIKE 'ac_file_versions'
#3971 - info - DROP TABLE `ac_file_versions`
#3972 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3973 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#3974 - info - DROP TABLE `ac_text_document_versions`
#3975 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3976 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#3977 - info - DROP TABLE `ac_public_task_forms`
#3978 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3979 - info - SHOW TABLES LIKE 'ac_related_tasks'
#3980 - info - DROP TABLE `ac_related_tasks`
#3981 - info - SHOW TABLES LIKE 'ac_task_segments'
#3982 - info - SHOW TABLES LIKE 'ac_task_segments'
#3983 - info - DROP TABLE `ac_task_segments`
#3984 - info - SHOW TABLES LIKE 'ac_status_updates'
#3985 - info - SHOW TABLES LIKE 'ac_status_updates'
#3986 - info - DROP TABLE `ac_status_updates`
#3987 - info - SHOW TABLES LIKE 'ac_documents'
#3988 - info - SHOW TABLES LIKE 'ac_documents'
#3989 - info - DROP TABLE `ac_documents`
#3990 - info - SHOW TABLES LIKE 'ac_time_records'
#3991 - info - SHOW TABLES LIKE 'ac_time_records'
#3992 - info - DROP TABLE `ac_time_records`
#3993 - info - SHOW TABLES LIKE 'ac_job_types'
#3994 - info - SHOW TABLES LIKE 'ac_job_types'
#3995 - info - DROP TABLE `ac_job_types`
#3996 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3997 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#3998 - info - DROP TABLE `ac_project_hourly_rates`
#3999 - info - SHOW TABLES LIKE 'ac_expenses'
#4000 - info - SHOW TABLES LIKE 'ac_expenses'
#4001 - info - DROP TABLE `ac_expenses`
#4002 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4003 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4004 - info - DROP TABLE `ac_expense_categories`
#4005 - info - SHOW TABLES LIKE 'ac_estimates'
#4006 - info - SHOW TABLES LIKE 'ac_estimates'
#4007 - info - DROP TABLE `ac_estimates`
#4008 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4009 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4010 - info - DROP TABLE `ac_invoice_objects`
#4011 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4012 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4013 - info - DROP TABLE `ac_invoice_object_items`
#4014 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4015 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4016 - info - DROP TABLE `ac_invoice_item_templates`
#4017 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4018 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4019 - info - DROP TABLE `ac_invoice_note_templates`
#4020 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4021 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4022 - info - DROP TABLE `ac_invoice_related_records`
#4023 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4024 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4025 - info - DROP TABLE `ac_tax_rates`
#4026 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4027 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4028 - info - DROP TABLE `ac_notebook_pages`
#4029 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4030 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4031 - info - DROP TABLE `ac_notebook_page_versions`
#4032 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4033 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4034 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4035 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4036 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4037 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4038 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4039 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4040 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4041 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4042 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4043 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4044 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4045 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4046 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4047 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4048 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4049 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4050 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4051 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4052 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4053 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4054 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4055 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4056 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4057 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4058 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4059 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4060 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4061 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4062 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4063 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4064 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4065 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4066 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4067 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4068 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4069 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4070 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4071 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4072 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4073 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4074 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4075 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4076 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4077 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4078 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4079 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4080 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4081 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4082 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4083 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4084 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4085 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4086 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4087 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4088 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4089 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4090 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4091 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4092 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4093 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4094 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4095 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4096 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4097 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4098 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4099 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4100 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4101 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4102 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4103 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4104 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4105 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4106 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4107 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4108 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4109 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4110 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4111 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4112 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4113 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4114 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4115 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4116 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4117 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4118 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4119 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4120 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4121 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4122 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4123 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4124 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4125 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4126 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4127 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4128 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4129 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4130 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4131 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4132 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4133 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4134 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4135 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4136 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4137 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4138 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4139 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4140 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4141 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4142 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4143 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4144 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4145 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4146 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4147 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4148 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4149 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4150 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4151 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4152 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4153 - info - BEGIN WORK
#4154 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4155 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4156 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4157 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4158 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4159 - info - COMMIT
#4160 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4161 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4162 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4163 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4164 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4165 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4166 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4167 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4168 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4169 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4170 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4171 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4172 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4173 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4174 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4175 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4176 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4177 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4178 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4179 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4180 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4181 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4182 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4183 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4184 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4185 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4186 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4187 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4188 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4189 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4190 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4191 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4192 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4193 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4194 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4195 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4196 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4197 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4198 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4199 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4200 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4201 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4202 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4203 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4204 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4205 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4206 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4207 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4208 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4209 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_config', 'calendars', NULL)
#4210 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('calendar_sidebar_hidden', 'calendars', NULL)
#4211 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_tabs', 'system', 'a:5:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";}')
#4212 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('clients_can_delegate_to_employees', 'system', 'b:1;')
#4213 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_details_updated_on', 'system', 'i:1387373661;')
#4214 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_version', 'system', 's:7:\"current\";')
#4215 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('latest_available_version', 'system', 's:7:\"current\";')
#4216 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_copyright_removed', 'system', 'b:0;')
#4217 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('license_expires', 'system', 'i:1352592000;')
#4218 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('remove_branding_url', 'system', NULL)
#4219 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('renew_support_url', 'system', NULL)
#4220 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_instructions_url', 'system', NULL)
#4221 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_archive_url', 'system', NULL)
#4222 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_address', 'system', NULL)
#4223 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_fax', 'system', NULL)
#4224 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_homepage', 'system', NULL)
#4225 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('office_phone', 'system', NULL)
#4226 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_name'
#4227 - info - UPDATE ac_config_options SET value = 's:8:\"Projects\";' WHERE name = 'identity_name'
#4228 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_client_welcome_message'
#4229 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_client_welcome_message', 'system', 's:214:\"Welcome to our project collaboration environment! You will find all your projects when you click on \'Projects\' icon in the main navigation. To get back to this page, you can always click on \'Home Screen\' menu item.\";')
#4230 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'identity_logo_on_white'
#4231 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_logo_on_white', 'system', 'b:0;')
#4232 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('title', 'system', NULL)
#4233 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_mobile', 'system', NULL)
#4234 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('phone_work', 'system', NULL)
#4235 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_type', 'system', NULL)
#4236 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('im_value', 'system', NULL)
#4237 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('welcome_message', 'system', NULL)
#4238 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'who_can_override_channel_settings'
#4239 - info - UPDATE ac_config_options SET value = 'a:1:{s:5:\"email\";a:2:{i:0;s:6:\"Member\";i:1;s:7:\"Manager\";}}' WHERE name = 'who_can_override_channel_settings'
#4240 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_project_object_visibility', 'system', 'i:1;')
#4241 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_milestone_starts_on', 'system', NULL)
#4242 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('job_type_id', 'system', NULL)
#4243 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_enabled', 'system', 'b:0;')
#4244 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_title', 'system', 's:17:\"Request a Project\";')
#4245 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_page_description', 'system', 's:38:\"Please tell us more about your project\";')
#4246 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_custom_fields', 'system', 'a:5:{s:14:\"custom_field_1\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:6:\"Budget\";}s:14:\"custom_field_2\";a:2:{s:7:\"enabled\";b:1;s:4:\"name\";s:10:\"Time Frame\";}s:14:\"custom_field_3\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_4\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}s:14:\"custom_field_5\";a:2:{s:7:\"enabled\";b:0;s:4:\"name\";s:0:\"\";}}')
#4247 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_captcha_enabled', 'system', 'b:0;')
#4248 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_requests_notify_user_ids', 'system', NULL)
#4249 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_for_new_version', 'system', 'b:1;')
#4250 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('new_modules_available', 'system', 'b:0;')
#4251 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('update_download_progress', 'system', 'i:0;')
#4252 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project', 'system', 'i:0;')
#4253 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mail_to_project_default_action', 'system', 'i:0;')
#4254 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_sync_locked', 'system', 'b:0;')
#4255 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_synced_on', 'system', NULL)
#4256 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('project_last_sync_locked_until', 'system', NULL)
#4257 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Project')
#4258 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Project')
#4259 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Project')
#4260 - info - INSERT INTO `ac_companies` (`name`, `state`, `is_owner`) VALUES ('Owner Company', '3', '1')
#4261 - info - INSERT INTO `ac_users` (`company_id`, `state`, `email`, `type`, `password`, `password_hashed_with`, `created_on`, `created_by_id`) VALUES ('1', '3', 'user@activecollab.com', 'Administrator', 'wcRUiWy8zibVcGADObU1lXc8p36rCwuAZRG3gwdL1GVomA4PKi9lDw==', 'pbkdf2', '2013-12-18 13:34:21', '1')
#4262 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4263 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4264 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'CANCELED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4265 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('ProjectLabel', 'PAUSED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4266 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('discussion_categories', 'discussions', 'a:1:{i:0;s:7:\"General\";}')
#4267 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4268 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('asset_categories', 'files', 'a:1:{i:0;s:7:\"General\";}')
#4269 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4270 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('task_categories', 'tasks', 'a:1:{i:0;s:7:\"General\";}')
#4271 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen', 'tasks', 'b:1;')
#4272 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_auto_reopen_clients_only', 'tasks', 'b:1;')
#4273 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_public_submit_enabled', 'tasks', 'b:0;')
#4274 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('tasks_use_captcha', 'tasks', 'b:0;')
#4275 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_1', 'Task')
#4276 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_2', 'Task')
#4277 - info - INSERT INTO ac_custom_fields (field_name, parent_type) VALUES ('custom_field_3', 'Task')
#4278 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4279 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('status_update_last_visited', 'status', NULL)
#4280 - info - BEGIN WORK
#4281 - info - Transaction level increased to 1. Message: Loading table data for 'documents' @ AngieFrameworkModel
#4282 - info - INSERT INTO ac_categories (type, name) VALUES ('DocumentsCategory', 'General')
#4283 - info - COMMIT
#4284 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_billable_status', 'tracking', 'i:1;')
#4285 - info - BEGIN WORK
#4286 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4287 - info - INSERT INTO ac_job_types (name, default_hourly_rate, is_default, is_active) VALUES ('General', '100', '1', '1')
#4288 - info - COMMIT
#4289 - info - BEGIN WORK
#4290 - info - Transaction level increased to 1. Message: Loading table data for 'tracking' @ AngieFrameworkModel
#4291 - info - INSERT INTO ac_expense_categories (name, is_default) VALUES ('General', '1')
#4292 - info - COMMIT
#4293 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4294 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4295 - info - UPDATE ac_config_options SET value = 'a:6:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";}' WHERE name = 'project_tabs'
#4296 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('prefered_currency', 'invoicing', NULL)
#4297 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_invoice_based_on', 'invoicing', 's:38:\"keep_records_as_separate_invoice_items\";')
#4298 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_task', 'invoicing', NULL)
#4299 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_project', 'invoicing', NULL)
#4300 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_grouped_by_job_type', 'invoicing', NULL)
#4301 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('description_format_separate_items', 'invoicing', NULL)
#4302 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_record_summary_transformation', 'invoicing', 's:17:\"prefix_with_colon\";')
#4303 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('second_record_summary_transformation', 'invoicing', NULL)
#4304 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_pattern', 'invoicing', 's:30:\":invoice_in_year/:current_year\";')
#4305 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_date_counters', 'invoicing', NULL)
#4306 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_number_counter_padding', 'invoicing', NULL)
#4307 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_template', 'invoicing', NULL)
#4308 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_invoices_as', 'invoicing', NULL)
#4309 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('print_proforma_invoices_as', 'invoicing', NULL)
#4310 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoicing_default_due', 'invoicing', 'i:15;')
#4311 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_enabled', 'invoicing', 'b:0;')
#4312 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_second_tax_is_compound', 'invoicing', 'b:0;')
#4313 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_payment', 'invoicing', 'i:1;')
#4314 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_on_cancel', 'invoicing', 'i:1;')
#4315 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_managers', 'invoicing', 'i:2;')
#4316 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_notify_financial_manager_ids', 'invoicing', 'i:0;')
#4317 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_enabled', 'invoicing', 'b:0;')
#4318 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_first', 'invoicing', 'i:7;')
#4319 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_send_every', 'invoicing', 'i:7;')
#4320 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_first_message', 'invoicing', 's:118:\"We would like to remind you that the following invoice has been overdue. Please send your payment promptly. Thank you.\";')
#4321 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_enabled', 'invoicing', 'b:0;')
#4322 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_escalation_messages', 'invoicing', 'a:1:{i:0;a:2:{s:14:\"send_escalated\";i:14;s:17:\"escalated_message\";N;}}')
#4323 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('invoice_overdue_reminders_dont_send_to', 'invoicing', NULL)
#4324 - info - SHOW TABLES LIKE 'ac_job_types'
#4325 - info - SELECT COUNT(id) FROM ac_job_types
#4326 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4327 - info - SELECT COUNT(id) FROM ac_tax_rates WHERE name='VAT'
#4328 - info - BEGIN WORK
#4329 - info - Transaction level increased to 1. Message: Loading table data for 'invoicing' @ AngieFrameworkModel
#4330 - info - INSERT INTO ac_tax_rates (name, percentage) VALUES ('VAT', '17.5')
#4331 - info - COMMIT
#4332 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notebook_categories', 'notebooks', 'a:1:{i:0;s:7:\"General\";}')
#4333 - info - SELECT value FROM ac_config_options WHERE name = 'project_tabs'
#4334 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'project_tabs'
#4335 - info - UPDATE ac_config_options SET value = 'a:7:{i:0;s:7:\"outline\";i:1;s:10:\"milestones\";i:2;s:5:\"tasks\";i:3;s:11:\"discussions\";i:4;s:5:\"files\";i:5;s:4:\"time\";i:6;s:9:\"notebooks\";}' WHERE name = 'project_tabs'
#4336 - info - SELECT COUNT(name) FROM ac_modules
#4337 - info - INSERT INTO ac_modules (name, is_enabled, position) VALUES ('system', '1', '1'), ('discussions', '1', '2'), ('files', '1', '3'), ('tasks', '1', '4'), ('project_exporter', '1', '5'), ('status', '1', '6'), ('documents', '1', '7'), ('tracking', '1', '8'), ('invoicing', '1', '9'), ('notebooks', '1', '10')
#4338 - info - SELECT name FROM ac_modules
#4339 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceUserAddresses', '2013-11-15', 'user-addresses', UTC_TIMESTAMP())
#4340 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateIntroduceWhitelistedTagsConfig', '2013-11-27', 'whitelisted-tags-config', UTC_TIMESTAMP())
#4341 - info - REPLACE INTO ac_executed_model_migrations (migration, changeset_timestamp, changeset_name, executed_on) VALUES ('MigrateTextDocumentAttachments', '2013-12-10', 'update-text-document-attachments', UTC_TIMESTAMP())
#4342 - info - SELECT value FROM ac_config_options WHERE name = 'search_initialized_on'
#4343 - info - SHOW TABLES LIKE 'ac_search_index_for_help'
#4344 - info - SHOW TABLES LIKE 'ac_search_index_for_users'
#4345 - info - SHOW TABLES LIKE 'ac_search_index_for_projects'
#4346 - info - SHOW TABLES LIKE 'ac_search_index_for_project_objects'
#4347 - info - SHOW TABLES LIKE 'ac_search_index_for_names'
#4348 - info - SHOW TABLES LIKE 'ac_search_index_for_documents'
#4349 - info - BEGIN WORK
#4350 - info - Transaction level increased to 1. Message: Setting configuration values @ ConfigOptions
#4351 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'search_initialized_on'
#4352 - info - UPDATE ac_config_options SET value = 'i:1387373661;' WHERE name = 'search_initialized_on'
#4353 - info - COMMIT
#4354 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1
#4355 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('testing_user_model', 'system', 'N;')
#4356 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'testing_user_model'
#4357 - info - BEGIN WORK
#4358 - info - Transaction level increased to 1. Message: Setting configuration option for object @ ConfigOptions
#4359 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_options WHERE name = 'testing_user_model'
#4360 - info - SELECT COUNT(*) AS 'row_count' FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4361 - info - INSERT INTO ac_config_option_values (name, parent_type, parent_id, value) VALUES ('testing_user_model', 'User', '1', 'i:123;')
#4362 - info - COMMIT
#4363 - info - SELECT value FROM ac_config_option_values WHERE name = 'testing_user_model' AND parent_type = 'User' AND parent_id = '1'
#4364 - info - SELECT * FROM ac_config_option_values WHERE name = 'testing_user_model'
#4365 - info - SHOW TABLES LIKE 'ac_config_options'
#4366 - info - SHOW TABLES LIKE 'ac_config_options'
#4367 - info - DROP TABLE `ac_config_options`
#4368 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4369 - info - SHOW TABLES LIKE 'ac_config_option_values'
#4370 - info - DROP TABLE `ac_config_option_values`
#4371 - info - SHOW TABLES LIKE 'ac_modules'
#4372 - info - SHOW TABLES LIKE 'ac_modules'
#4373 - info - DROP TABLE `ac_modules`
#4374 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4375 - info - SHOW TABLES LIKE 'ac_executed_model_migrations'
#4376 - info - DROP TABLE `ac_executed_model_migrations`
#4377 - info - SHOW TABLES LIKE 'ac_update_history'
#4378 - info - SHOW TABLES LIKE 'ac_update_history'
#4379 - info - DROP TABLE `ac_update_history`
#4380 - info - SHOW TABLES LIKE 'ac_access_logs'
#4381 - info - SHOW TABLES LIKE 'ac_access_logs'
#4382 - info - DROP TABLE `ac_access_logs`
#4383 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4384 - info - SHOW TABLES LIKE 'ac_access_logs_archive'
#4385 - info - DROP TABLE `ac_access_logs_archive`
#4386 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4387 - info - SHOW TABLES LIKE 'ac_object_contexts'
#4388 - info - DROP TABLE `ac_object_contexts`
#4389 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4390 - info - SHOW TABLES LIKE 'ac_routing_cache'
#4391 - info - DROP TABLE `ac_routing_cache`
#4392 - info - SHOW TABLES LIKE 'ac_currencies'
#4393 - info - SHOW TABLES LIKE 'ac_currencies'
#4394 - info - DROP TABLE `ac_currencies`
#4395 - info - SHOW TABLES LIKE 'ac_day_offs'
#4396 - info - SHOW TABLES LIKE 'ac_day_offs'
#4397 - info - DROP TABLE `ac_day_offs`
#4398 - info - SHOW TABLES LIKE 'ac_languages'
#4399 - info - SHOW TABLES LIKE 'ac_languages'
#4400 - info - DROP TABLE `ac_languages`
#4401 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4402 - info - SHOW TABLES LIKE 'ac_language_phrases'
#4403 - info - DROP TABLE `ac_language_phrases`
#4404 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4405 - info - SHOW TABLES LIKE 'ac_language_phrase_translations'
#4406 - info - DROP TABLE `ac_language_phrase_translations`
#4407 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4408 - info - SHOW TABLES LIKE 'ac_api_client_subscriptions'
#4409 - info - DROP TABLE `ac_api_client_subscriptions`
#4410 - info - SHOW TABLES LIKE 'ac_users'
#4411 - info - SHOW TABLES LIKE 'ac_users'
#4412 - info - DROP TABLE `ac_users`
#4413 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4414 - info - SHOW TABLES LIKE 'ac_user_addresses'
#4415 - info - DROP TABLE `ac_user_addresses`
#4416 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4417 - info - SHOW TABLES LIKE 'ac_user_sessions'
#4418 - info - DROP TABLE `ac_user_sessions`
#4419 - info - SHOW TABLES LIKE 'ac_security_logs'
#4420 - info - SHOW TABLES LIKE 'ac_security_logs'
#4421 - info - DROP TABLE `ac_security_logs`
#4422 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4423 - info - SHOW TABLES LIKE 'ac_api_token_logs'
#4424 - info - DROP TABLE `ac_api_token_logs`
#4425 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4426 - info - SHOW TABLES LIKE 'ac_activity_logs'
#4427 - info - DROP TABLE `ac_activity_logs`
#4428 - info - SHOW TABLES LIKE 'ac_data_filters'
#4429 - info - SHOW TABLES LIKE 'ac_data_filters'
#4430 - info - DROP TABLE `ac_data_filters`
#4431 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4432 - info - SHOW TABLES LIKE 'ac_modification_logs'
#4433 - info - DROP TABLE `ac_modification_logs`
#4434 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4435 - info - SHOW TABLES LIKE 'ac_modification_log_values'
#4436 - info - DROP TABLE `ac_modification_log_values`
#4437 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4438 - info - SHOW TABLES LIKE 'ac_mailing_activity_logs'
#4439 - info - DROP TABLE `ac_mailing_activity_logs`
#4440 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4441 - info - SHOW TABLES LIKE 'ac_outgoing_messages'
#4442 - info - DROP TABLE `ac_outgoing_messages`
#4443 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4444 - info - SHOW TABLES LIKE 'ac_incoming_mail_attachments'
#4445 - info - DROP TABLE `ac_incoming_mail_attachments`
#4446 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4447 - info - SHOW TABLES LIKE 'ac_incoming_mail_filters'
#4448 - info - DROP TABLE `ac_incoming_mail_filters`
#4449 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4450 - info - SHOW TABLES LIKE 'ac_incoming_mailboxes'
#4451 - info - DROP TABLE `ac_incoming_mailboxes`
#4452 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4453 - info - SHOW TABLES LIKE 'ac_incoming_mails'
#4454 - info - DROP TABLE `ac_incoming_mails`
#4455 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4456 - info - SHOW TABLES LIKE 'ac_homescreen_tabs'
#4457 - info - DROP TABLE `ac_homescreen_tabs`
#4458 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4459 - info - SHOW TABLES LIKE 'ac_homescreen_widgets'
#4460 - info - DROP TABLE `ac_homescreen_widgets`
#4461 - info - SHOW TABLES LIKE 'ac_announcements'
#4462 - info - SHOW TABLES LIKE 'ac_announcements'
#4463 - info - DROP TABLE `ac_announcements`
#4464 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4465 - info - SHOW TABLES LIKE 'ac_announcement_target_ids'
#4466 - info - DROP TABLE `ac_announcement_target_ids`
#4467 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4468 - info - SHOW TABLES LIKE 'ac_announcement_dismissals'
#4469 - info - DROP TABLE `ac_announcement_dismissals`
#4470 - info - SHOW TABLES LIKE 'ac_attachments'
#4471 - info - SHOW TABLES LIKE 'ac_attachments'
#4472 - info - DROP TABLE `ac_attachments`
#4473 - info - SHOW TABLES LIKE 'ac_notifications'
#4474 - info - SHOW TABLES LIKE 'ac_notifications'
#4475 - info - DROP TABLE `ac_notifications`
#4476 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4477 - info - SHOW TABLES LIKE 'ac_notification_recipients'
#4478 - info - DROP TABLE `ac_notification_recipients`
#4479 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4480 - info - SHOW TABLES LIKE 'ac_subscriptions'
#4481 - info - DROP TABLE `ac_subscriptions`
#4482 - info - SHOW TABLES LIKE 'ac_comments'
#4483 - info - SHOW TABLES LIKE 'ac_comments'
#4484 - info - DROP TABLE `ac_comments`
#4485 - info - SHOW TABLES LIKE 'ac_categories'
#4486 - info - SHOW TABLES LIKE 'ac_categories'
#4487 - info - DROP TABLE `ac_categories`
#4488 - info - SHOW TABLES LIKE 'ac_labels'
#4489 - info - SHOW TABLES LIKE 'ac_labels'
#4490 - info - DROP TABLE `ac_labels`
#4491 - info - SHOW TABLES LIKE 'ac_assignments'
#4492 - info - SHOW TABLES LIKE 'ac_assignments'
#4493 - info - DROP TABLE `ac_assignments`
#4494 - info - SHOW TABLES LIKE 'ac_subtasks'
#4495 - info - SHOW TABLES LIKE 'ac_subtasks'
#4496 - info - DROP TABLE `ac_subtasks`
#4497 - info - SHOW TABLES LIKE 'ac_favorites'
#4498 - info - SHOW TABLES LIKE 'ac_favorites'
#4499 - info - DROP TABLE `ac_favorites`
#4500 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4501 - info - SHOW TABLES LIKE 'ac_code_snippets'
#4502 - info - DROP TABLE `ac_code_snippets`
#4503 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4504 - info - SHOW TABLES LIKE 'ac_payment_gateways'
#4505 - info - DROP TABLE `ac_payment_gateways`
#4506 - info - SHOW TABLES LIKE 'ac_payments'
#4507 - info - SHOW TABLES LIKE 'ac_payments'
#4508 - info - DROP TABLE `ac_payments`
#4509 - info - SHOW TABLES LIKE 'ac_reminders'
#4510 - info - SHOW TABLES LIKE 'ac_reminders'
#4511 - info - DROP TABLE `ac_reminders`
#4512 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4513 - info - SHOW TABLES LIKE 'ac_reminder_users'
#4514 - info - DROP TABLE `ac_reminder_users`
#4515 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4516 - info - SHOW TABLES LIKE 'ac_custom_fields'
#4517 - info - DROP TABLE `ac_custom_fields`
#4518 - info - SHOW TABLES LIKE 'ac_calendars'
#4519 - info - SHOW TABLES LIKE 'ac_calendars'
#4520 - info - DROP TABLE `ac_calendars`
#4521 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4522 - info - SHOW TABLES LIKE 'ac_calendar_events'
#4523 - info - DROP TABLE `ac_calendar_events`
#4524 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4525 - info - SHOW TABLES LIKE 'ac_calendar_users'
#4526 - info - DROP TABLE `ac_calendar_users`
#4527 - info - SHOW TABLES LIKE 'ac_data_sources'
#4528 - info - SHOW TABLES LIKE 'ac_data_sources'
#4529 - info - DROP TABLE `ac_data_sources`
#4530 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4531 - info - SHOW TABLES LIKE 'ac_data_source_mappings'
#4532 - info - DROP TABLE `ac_data_source_mappings`
#4533 - info - SHOW TABLES LIKE 'ac_companies'
#4534 - info - SHOW TABLES LIKE 'ac_companies'
#4535 - info - DROP TABLE `ac_companies`
#4536 - info - SHOW TABLES LIKE 'ac_projects'
#4537 - info - SHOW TABLES LIKE 'ac_projects'
#4538 - info - DROP TABLE `ac_projects`
#4539 - info - SHOW TABLES LIKE 'ac_project_roles'
#4540 - info - SHOW TABLES LIKE 'ac_project_roles'
#4541 - info - DROP TABLE `ac_project_roles`
#4542 - info - SHOW TABLES LIKE 'ac_project_users'
#4543 - info - SHOW TABLES LIKE 'ac_project_users'
#4544 - info - DROP TABLE `ac_project_users`
#4545 - info - SHOW TABLES LIKE 'ac_project_requests'
#4546 - info - SHOW TABLES LIKE 'ac_project_requests'
#4547 - info - DROP TABLE `ac_project_requests`
#4548 - info - SHOW TABLES LIKE 'ac_project_objects'
#4549 - info - SHOW TABLES LIKE 'ac_project_objects'
#4550 - info - DROP TABLE `ac_project_objects`
#4551 - info - SHOW TABLES LIKE 'ac_project_templates'
#4552 - info - SHOW TABLES LIKE 'ac_project_templates'
#4553 - info - DROP TABLE `ac_project_templates`
#4554 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4555 - info - SHOW TABLES LIKE 'ac_project_object_templates'
#4556 - info - DROP TABLE `ac_project_object_templates`
#4557 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4558 - info - SHOW TABLES LIKE 'ac_shared_object_profiles'
#4559 - info - DROP TABLE `ac_shared_object_profiles`
#4560 - info - SHOW TABLES LIKE 'ac_file_versions'
#4561 - info - SHOW TABLES LIKE 'ac_file_versions'
#4562 - info - DROP TABLE `ac_file_versions`
#4563 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4564 - info - SHOW TABLES LIKE 'ac_text_document_versions'
#4565 - info - DROP TABLE `ac_text_document_versions`
#4566 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4567 - info - SHOW TABLES LIKE 'ac_public_task_forms'
#4568 - info - DROP TABLE `ac_public_task_forms`
#4569 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4570 - info - SHOW TABLES LIKE 'ac_related_tasks'
#4571 - info - DROP TABLE `ac_related_tasks`
#4572 - info - SHOW TABLES LIKE 'ac_task_segments'
#4573 - info - SHOW TABLES LIKE 'ac_task_segments'
#4574 - info - DROP TABLE `ac_task_segments`
#4575 - info - SHOW TABLES LIKE 'ac_status_updates'
#4576 - info - SHOW TABLES LIKE 'ac_status_updates'
#4577 - info - DROP TABLE `ac_status_updates`
#4578 - info - SHOW TABLES LIKE 'ac_documents'
#4579 - info - SHOW TABLES LIKE 'ac_documents'
#4580 - info - DROP TABLE `ac_documents`
#4581 - info - SHOW TABLES LIKE 'ac_time_records'
#4582 - info - SHOW TABLES LIKE 'ac_time_records'
#4583 - info - DROP TABLE `ac_time_records`
#4584 - info - SHOW TABLES LIKE 'ac_job_types'
#4585 - info - SHOW TABLES LIKE 'ac_job_types'
#4586 - info - DROP TABLE `ac_job_types`
#4587 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4588 - info - SHOW TABLES LIKE 'ac_project_hourly_rates'
#4589 - info - DROP TABLE `ac_project_hourly_rates`
#4590 - info - SHOW TABLES LIKE 'ac_expenses'
#4591 - info - SHOW TABLES LIKE 'ac_expenses'
#4592 - info - DROP TABLE `ac_expenses`
#4593 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4594 - info - SHOW TABLES LIKE 'ac_expense_categories'
#4595 - info - DROP TABLE `ac_expense_categories`
#4596 - info - SHOW TABLES LIKE 'ac_estimates'
#4597 - info - SHOW TABLES LIKE 'ac_estimates'
#4598 - info - DROP TABLE `ac_estimates`
#4599 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4600 - info - SHOW TABLES LIKE 'ac_invoice_objects'
#4601 - info - DROP TABLE `ac_invoice_objects`
#4602 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4603 - info - SHOW TABLES LIKE 'ac_invoice_object_items'
#4604 - info - DROP TABLE `ac_invoice_object_items`
#4605 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4606 - info - SHOW TABLES LIKE 'ac_invoice_item_templates'
#4607 - info - DROP TABLE `ac_invoice_item_templates`
#4608 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4609 - info - SHOW TABLES LIKE 'ac_invoice_note_templates'
#4610 - info - DROP TABLE `ac_invoice_note_templates`
#4611 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4612 - info - SHOW TABLES LIKE 'ac_invoice_related_records'
#4613 - info - DROP TABLE `ac_invoice_related_records`
#4614 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4615 - info - SHOW TABLES LIKE 'ac_tax_rates'
#4616 - info - DROP TABLE `ac_tax_rates`
#4617 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4618 - info - SHOW TABLES LIKE 'ac_notebook_pages'
#4619 - info - DROP TABLE `ac_notebook_pages`
#4620 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4621 - info - SHOW TABLES LIKE 'ac_notebook_page_versions'
#4622 - info - DROP TABLE `ac_notebook_page_versions`
#4623 - info - CREATE TABLE `ac_config_options` (
  `name` varchar(100)  DEFAULT NULL,
  `module` varchar(30)  DEFAULT NULL,
  `value` text ,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4624 - info - CREATE TABLE `ac_config_option_values` (
  `name` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `value` text ,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`name`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4625 - info - CREATE TABLE `ac_modules` (
  `name` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(6) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4626 - info - CREATE TABLE `ac_executed_model_migrations` (
  `id` int unsigned NOT NULL auto_increment,
  `migration` varchar(255) NOT NULL DEFAULT '',
  `changeset_timestamp` date  DEFAULT NULL,
  `changeset_name` varchar(255)  DEFAULT NULL,
  `executed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `migration` (`migration`),
  INDEX `executed_on` (`executed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4627 - info - CREATE TABLE `ac_update_history` (
  `id` smallint unsigned NOT NULL auto_increment,
  `version` varchar(30) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `version` (`version`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4628 - info - CREATE TABLE `ac_access_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4629 - info - CREATE TABLE `ac_access_logs_archive` (
  `id` bigint unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `accessed_by_id` int(10) unsigned NULL DEFAULT NULL,
  `accessed_by_name` varchar(100)  DEFAULT NULL,
  `accessed_by_email` varchar(150)  DEFAULT NULL,
  `accessed_on` datetime  DEFAULT NULL,
  `ip_address` varchar(50)  DEFAULT NULL,
  `is_download` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `accessed_by_id` (`accessed_by_id`),
  INDEX `accessed_on` (`accessed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4630 - info - CREATE TABLE `ac_object_contexts` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `context` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE `context` (`context`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4631 - info - CREATE TABLE `ac_routing_cache` (
  `id` int unsigned NOT NULL auto_increment,
  `path_info` varchar(255)  DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `content` text ,
  `last_accessed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `path_info` (`path_info`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4632 - info - CREATE TABLE `ac_currencies` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `code` varchar(3)  DEFAULT NULL,
  `decimal_spaces` int(1) unsigned NOT NULL DEFAULT '2',
  `decimal_rounding` decimal(4, 3) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4633 - info - CREATE TABLE `ac_day_offs` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `event_date` date  DEFAULT NULL,
  `repeat_yearly` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `day_off_name` (`name`, `event_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4634 - info - CREATE TABLE `ac_languages` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `locale` varchar(30) NOT NULL DEFAULT '',
  `decimal_separator` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ',',
  `last_updated_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`),
  UNIQUE `locale` (`locale`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4635 - info - CREATE TABLE `ac_language_phrases` (
  `hash` varchar(32)  DEFAULT NULL,
  `phrase` text ,
  `module` varchar(50) NOT NULL DEFAULT '',
  `is_serverside` int(2) unsigned NULL DEFAULT NULL,
  `is_clientside` int(2) unsigned NULL DEFAULT NULL,
  UNIQUE `module_phrase` (`hash`, `module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4636 - info - CREATE TABLE `ac_language_phrase_translations` (
  `language_id` int(11) unsigned NOT NULL DEFAULT 0,
  `phrase_hash` varchar(32)  DEFAULT NULL,
  `translation` text ,
  UNIQUE `language_phrase` (`phrase_hash`, `language_id`),
  INDEX `language_id` (`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4637 - info - CREATE TABLE `ac_api_client_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApiClientSubscription',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `token` varchar(40)  DEFAULT NULL,
  `client_name` varchar(100)  DEFAULT NULL,
  `client_vendor` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `last_used_on` datetime  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_read_only` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `token` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4638 - info - CREATE TABLE `ac_users` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'User',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `first_name` varchar(50)  DEFAULT NULL,
  `last_name` varchar(50)  DEFAULT NULL,
  `email` varchar(150) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `password_hashed_with` enum('pbkdf2', 'sha1') NOT NULL DEFAULT 'pbkdf2',
  `password_expires_on` date  DEFAULT NULL,
  `password_reset_key` varchar(20)  DEFAULT NULL,
  `password_reset_on` datetime  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `invited_on` datetime  DEFAULT NULL,
  `last_login_on` datetime  DEFAULT NULL,
  `last_visit_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `auto_assign` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_assign_role_id` int(3) unsigned NULL DEFAULT NULL,
  `auto_assign_permissions` text ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `email` (`email`),
  INDEX `last_activity_on` (`last_activity_on`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4639 - info - CREATE TABLE `ac_user_addresses` (
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `email` varchar(150) NOT NULL DEFAULT '',
  PRIMARY KEY (`user_id`, `email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4640 - info - CREATE TABLE `ac_user_sessions` (
  `id` int unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `visits` int(10) unsigned NOT NULL DEFAULT 0,
  `remember` int(3) unsigned NOT NULL DEFAULT 0,
  `interface` enum('default', 'phone', 'tablet') NOT NULL DEFAULT 'default',
  `created_on` datetime  DEFAULT NULL,
  `last_activity_on` datetime  DEFAULT NULL,
  `expires_on` datetime  DEFAULT NULL,
  `session_key` varchar(40)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `session_key` (`session_key`),
  INDEX `expires_on` (`expires_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4641 - info - CREATE TABLE `ac_security_logs` (
  `id` bigint unsigned NOT NULL auto_increment,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `login_as_id` int(10) unsigned NULL DEFAULT NULL,
  `login_as_name` varchar(100)  DEFAULT NULL,
  `login_as_email` varchar(150)  DEFAULT NULL,
  `logout_by_id` int(10) unsigned NULL DEFAULT NULL,
  `logout_by_name` varchar(100)  DEFAULT NULL,
  `logout_by_email` varchar(150)  DEFAULT NULL,
  `event` enum('login', 'logout', 'expired', 'failed')  DEFAULT NULL,
  `event_on` datetime  DEFAULT NULL,
  `user_ip` varchar(45)  DEFAULT NULL,
  `user_agent` text ,
  `is_api` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `user_id` (`user_id`),
  INDEX `login_as_id` (`login_as_id`),
  INDEX `logout_by_id` (`logout_by_id`),
  INDEX `event_on` (`event_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4642 - info - CREATE TABLE `ac_api_token_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `counts_on` datetime  DEFAULT NULL,
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `counts_on` (`counts_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4643 - info - CREATE TABLE `ac_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `subject_type` varchar(50) NOT NULL DEFAULT '',
  `subject_id` int(5) unsigned NOT NULL DEFAULT 0,
  `subject_context` varchar(255) NOT NULL DEFAULT '',
  `action` varchar(100) NOT NULL DEFAULT '',
  `target_type` varchar(50)  DEFAULT NULL,
  `target_id` int(5) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `comment` text ,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `subject` (`subject_type`, `subject_id`),
  INDEX `subject_context` (`subject_context`),
  INDEX `action` (`action`),
  INDEX `target` (`target_type`, `target_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4644 - info - CREATE TABLE `ac_data_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(150) NOT NULL DEFAULT 'DataFilter',
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4645 - info - CREATE TABLE `ac_modification_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_first` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4646 - info - CREATE TABLE `ac_modification_log_values` (
  `modification_id` int(20) unsigned NOT NULL DEFAULT 0,
  `field` varchar(50) NOT NULL DEFAULT '',
  `value` longtext ,
  PRIMARY KEY (`modification_id`, `field`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4647 - info - CREATE TABLE `ac_mailing_activity_logs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'MailingActivityLog',
  `direction` enum('in', 'out') NOT NULL DEFAULT 'out',
  `from_id` int(10) unsigned NULL DEFAULT NULL,
  `from_name` varchar(100)  DEFAULT NULL,
  `from_email` varchar(150)  DEFAULT NULL,
  `to_id` int(10) unsigned NULL DEFAULT NULL,
  `to_name` varchar(100)  DEFAULT NULL,
  `to_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4648 - info - CREATE TABLE `ac_outgoing_messages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `context_id` varchar(50)  DEFAULT NULL,
  `code` varchar(25)  DEFAULT NULL,
  `mailing_method` varchar(15) NOT NULL DEFAULT 'in_background',
  `created_on` datetime  DEFAULT NULL,
  `send_retries` int(5) unsigned NOT NULL DEFAULT 0,
  `last_send_error` varchar(255)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `recipient_id` (`recipient_id`),
  INDEX `created_on` (`created_on`),
  INDEX `recipient_email` (`recipient_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4649 - info - CREATE TABLE `ac_incoming_mail_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailAttachment',
  `mail_id` int(10) unsigned NULL DEFAULT NULL,
  `temporary_filename` varchar(255)  DEFAULT NULL,
  `original_filename` varchar(255)  DEFAULT NULL,
  `content_type` varchar(255)  DEFAULT NULL,
  `file_size` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4650 - info - CREATE TABLE `ac_incoming_mail_filters` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailFilter',
  `name` varchar(100)  DEFAULT NULL,
  `description` text ,
  `subject` text ,
  `body` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `attachments` varchar(200)  DEFAULT NULL,
  `sender` longtext ,
  `to_email` text ,
  `mailbox_id` text ,
  `action_name` varchar(100)  DEFAULT NULL,
  `action_parameters` longtext ,
  `position` int(10) NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4651 - info - CREATE TABLE `ac_incoming_mailboxes` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMailbox',
  `name` varchar(100)  DEFAULT NULL,
  `email` varchar(150)  DEFAULT NULL,
  `mailbox` varchar(100)  DEFAULT NULL,
  `username` varchar(50)  DEFAULT NULL,
  `password` varchar(50)  DEFAULT NULL,
  `host` varchar(255)  DEFAULT NULL,
  `server_type` enum('POP3', 'IMAP') NOT NULL DEFAULT 'POP3',
  `port` int(10) unsigned NULL DEFAULT NULL,
  `security` enum('NONE', 'TLS', 'SSL') NOT NULL DEFAULT 'NONE',
  `last_status` int(3) unsigned NOT NULL DEFAULT 0,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `failure_attempts` tinyint(3) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4652 - info - CREATE TABLE `ac_incoming_mails` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'IncomingMail',
  `incoming_mailbox_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `is_replay_to_notification` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `subject` varchar(255)  DEFAULT NULL,
  `body` text ,
  `to_email` text ,
  `cc_to` text ,
  `bcc_to` text ,
  `reply_to` text ,
  `priority` varchar(200)  DEFAULT NULL,
  `additional_data` longtext ,
  `headers` longtext ,
  `status` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `incoming_mailbox_id` (`incoming_mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4653 - info - CREATE TABLE `ac_homescreen_tabs` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenTab',
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  `name` varchar(50)  DEFAULT NULL,
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `user_id` (`user_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4654 - info - CREATE TABLE `ac_homescreen_widgets` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'HomescreenWidget',
  `homescreen_tab_id` int(5) unsigned NOT NULL DEFAULT 0,
  `column_id` int(3) unsigned NOT NULL DEFAULT '1',
  `position` int(5) unsigned NOT NULL DEFAULT 0,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `homescreen_tab_id` (`homescreen_tab_id`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4655 - info - CREATE TABLE `ac_announcements` (
  `id` int unsigned NOT NULL auto_increment,
  `subject` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `body_type` tinyint(3) NOT NULL DEFAULT 0,
  `icon` enum('announcement', 'bug', 'comment', 'event', 'idea', 'info', 'joke', 'news', 'question', 'star', 'warning', 'welcome') NOT NULL DEFAULT 'announcement',
  `target_type` varchar(50)  DEFAULT NULL,
  `expiration_type` varchar(50)  DEFAULT NULL,
  `expires_on` date  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `subject` (`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4656 - info - CREATE TABLE `ac_announcement_target_ids` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `target_id` varchar(50) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4657 - info - CREATE TABLE `ac_announcement_dismissals` (
  `id` int unsigned NOT NULL auto_increment,
  `announcement_id` int(10) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4658 - info - CREATE TABLE `ac_attachments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Attachment',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4659 - info - CREATE TABLE `ac_notifications` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Notification',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `sender_id` int(10) unsigned NULL DEFAULT NULL,
  `sender_name` varchar(100)  DEFAULT NULL,
  `sender_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `sender_id` (`sender_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4660 - info - CREATE TABLE `ac_notification_recipients` (
  `id` int unsigned NOT NULL auto_increment,
  `notification_id` int(5) unsigned NULL DEFAULT NULL,
  `recipient_id` int(10) unsigned NULL DEFAULT NULL,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `seen_on` datetime  DEFAULT NULL,
  `read_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `recipient_id` (`recipient_id`),
  UNIQUE `notification_recipient` (`notification_id`, `recipient_email`),
  INDEX `seen_on` (`seen_on`),
  INDEX `read_on` (`read_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4661 - info - CREATE TABLE `ac_subscriptions` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `subscribed_on` datetime  DEFAULT NULL,
  `code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  UNIQUE `user_subscribed` (`user_email`, `parent_type`, `parent_id`),
  INDEX `subscribed_on` (`subscribed_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4662 - info - CREATE TABLE `ac_comments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Comment',
  `source` varchar(50)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `body` longtext ,
  `ip_address` varchar(45)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4663 - info - CREATE TABLE `ac_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Category',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  UNIQUE `name` (`parent_type`, `parent_id`, `type`, `name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4664 - info - CREATE TABLE `ac_labels` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Label',
  `name` varchar(10)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  UNIQUE `name` (`name`, `type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4665 - info - CREATE TABLE `ac_assignments` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4666 - info - CREATE TABLE `ac_subtasks` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'Subtask',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `body` longtext ,
  `due_on` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `completed_on` (`completed_on`),
  INDEX `position` (`position`),
  INDEX `due_on` (`due_on`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4667 - info - CREATE TABLE `ac_favorites` (
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  UNIQUE `favorite_object` (`parent_type`, `parent_id`, `user_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4668 - info - CREATE TABLE `ac_code_snippets` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `syntax` varchar(50)  DEFAULT NULL,
  `body` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4669 - info - CREATE TABLE `ac_payment_gateways` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `raw_additional_properties` longtext ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4670 - info - CREATE TABLE `ac_payments` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `currency_id` int(5) NULL DEFAULT NULL,
  `gateway_type` varchar(50)  DEFAULT NULL,
  `gateway_id` int(10) unsigned NULL DEFAULT NULL,
  `status` enum('Paid', 'Pending', 'Deleted', 'Canceled')  DEFAULT NULL,
  `reason` enum('Fraud', 'Refund', 'Other')  DEFAULT NULL,
  `reason_text` text ,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `paid_on` date  DEFAULT NULL,
  `comment` text ,
  `method` varchar(100)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `currency_id` (`currency_id`),
  INDEX `status` (`status`),
  INDEX `created_on` (`created_on`),
  INDEX `paid_on` (`paid_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4671 - info - CREATE TABLE `ac_reminders` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `send_to` varchar(15) NOT NULL DEFAULT 'self',
  `send_on` datetime  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `comment` text ,
  `selected_user_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_id` int(10) unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_by_id` (`created_by_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4672 - info - CREATE TABLE `ac_reminder_users` (
  `reminder_id` int(10) unsigned NULL DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `dismissed_on` datetime  DEFAULT NULL,
  INDEX `user_id` (`user_id`),
  PRIMARY KEY (`reminder_id`, `user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4673 - info - CREATE TABLE `ac_custom_fields` (
  `field_name` varchar(30)  DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `label` varchar(50)  DEFAULT NULL,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`field_name`, `parent_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4674 - info - CREATE TABLE `ac_calendars` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'UserCalendar',
  `name` varchar(255)  DEFAULT NULL,
  `color` varchar(7)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `share_type` varchar(255)  DEFAULT NULL,
  `share_can_add_events` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4675 - info - CREATE TABLE `ac_calendar_events` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'CalendarEvent',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `starts_on` date  DEFAULT NULL,
  `starts_on_time` time  DEFAULT NULL,
  `ends_on` date  DEFAULT NULL,
  `repeat_event` varchar(150) NOT NULL DEFAULT 'dont',
  `repeat_event_option` varchar(150)  DEFAULT NULL,
  `repeat_until` date  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`),
  INDEX `starts_on` (`starts_on`),
  INDEX `starts_on_time` (`starts_on`, `starts_on_time`),
  INDEX `ends_on` (`ends_on`),
  INDEX `position` (`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4676 - info - CREATE TABLE `ac_calendar_users` (
  `user_id` int(10) NOT NULL DEFAULT 0,
  `calendar_id` int(10) NOT NULL DEFAULT 0,
  INDEX `calendar_id` (`calendar_id`),
  INDEX `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4677 - info - CREATE TABLE `ac_data_sources` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ApplicationObject',
  `name` varchar(50)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_private` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_by_id` (`created_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4678 - info - CREATE TABLE `ac_data_source_mappings` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) NULL DEFAULT NULL,
  `source_type` varchar(50) NOT NULL DEFAULT '',
  `source_id` int(11) NULL DEFAULT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `parent_type` varchar(50) NOT NULL DEFAULT '',
  `external_id` int(11) NULL DEFAULT NULL,
  `external_type` varchar(50) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4679 - info - CREATE TABLE `ac_companies` (
  `id` int unsigned NOT NULL auto_increment,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(100)  DEFAULT NULL,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `is_owner` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  INDEX `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4680 - info - CREATE TABLE `ac_projects` (
  `id` int unsigned NOT NULL auto_increment,
  `slug` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NULL DEFAULT NULL,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `currency_id` int(5) unsigned NULL DEFAULT NULL,
  `budget` decimal(13, 3) unsigned  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `leader_id` int(10) unsigned NULL DEFAULT NULL,
  `leader_name` varchar(100)  DEFAULT NULL,
  `leader_email` varchar(150)  DEFAULT NULL,
  `overview` text ,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `mail_to_project_code` varchar(10)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `leader_id` (`leader_id`),
  INDEX `completed_on` (`completed_on`),
  INDEX `created_on` (`created_on`),
  UNIQUE `slug` (`slug`),
  UNIQUE `mail_to_project_code` (`mail_to_project_code`),
  INDEX `company_id` (`company_id`),
  INDEX `category_id` (`category_id`),
  INDEX `label_id` (`label_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4681 - info - CREATE TABLE `ac_project_roles` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `permissions` text ,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4682 - info - CREATE TABLE `ac_project_users` (
  `user_id` int(5) unsigned NOT NULL DEFAULT 0,
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `permissions` text ,
  `role_id` int(3) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_id`, `project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4683 - info - CREATE TABLE `ac_project_requests` (
  `id` int unsigned NOT NULL auto_increment,
  `public_id` varchar(32) NOT NULL DEFAULT '',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `status` int(4) NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `created_by_company_id` int(10) NULL DEFAULT NULL,
  `created_by_company_name` varchar(100) NOT NULL DEFAULT '',
  `created_by_company_address` varchar(150) NOT NULL DEFAULT '',
  `custom_field_1` text ,
  `custom_field_2` text ,
  `custom_field_3` text ,
  `custom_field_4` text ,
  `custom_field_5` text ,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `taken_by_id` int(10) unsigned NULL DEFAULT NULL,
  `taken_by_name` varchar(100)  DEFAULT NULL,
  `taken_by_email` varchar(150)  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `last_comment_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `taken_by_id` (`taken_by_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4684 - info - CREATE TABLE `ac_project_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObject',
  `source` varchar(50)  DEFAULT NULL,
  `module` varchar(30) NOT NULL DEFAULT 'system',
  `project_id` int(10) unsigned NOT NULL DEFAULT 0,
  `milestone_id` int(10) unsigned NULL DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `label_id` int(5) unsigned NULL DEFAULT NULL,
  `assignee_id` int(10) unsigned NULL DEFAULT NULL,
  `delegated_by_id` int(10) unsigned NULL DEFAULT NULL,
  `name` varchar(150)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `priority` int(4) NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `due_on` date  DEFAULT NULL,
  `completed_on` datetime  DEFAULT NULL,
  `completed_by_id` int unsigned NULL DEFAULT NULL,
  `completed_by_name` varchar(100)  DEFAULT NULL,
  `completed_by_email` varchar(150)  DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `float_field_1` decimal(12, 2)  DEFAULT NULL,
  `float_field_2` decimal(12, 2)  DEFAULT NULL,
  `float_field_3` decimal(12, 2)  DEFAULT NULL,
  `text_field_1` text ,
  `text_field_2` text ,
  `text_field_3` text ,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  `datetime_field_2` datetime  DEFAULT NULL,
  `datetime_field_3` datetime  DEFAULT NULL,
  `boolean_field_1` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_2` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `boolean_field_3` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(11) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `module` (`module`),
  INDEX `project_id` (`project_id`),
  INDEX `milestone_id` (`milestone_id`),
  INDEX `category_id` (`category_id`),
  INDEX `assignee_id` (`assignee_id`),
  INDEX `delegated_by_id` (`delegated_by_id`),
  INDEX `due_on` (`due_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4685 - info - CREATE TABLE `ac_project_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `category_id` int(10) unsigned NULL DEFAULT NULL,
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `custom_field_1` varchar(255)  DEFAULT NULL,
  `custom_field_2` varchar(255)  DEFAULT NULL,
  `custom_field_3` varchar(255)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `category_id` (`category_id`),
  INDEX `company_id` (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4686 - info - CREATE TABLE `ac_project_object_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'ProjectObjectTemplate',
  `subtype` varchar(50)  DEFAULT NULL,
  `template_id` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `value` longtext ,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `file_size` int(11) unsigned NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `template_id` (`template_id`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4687 - info - CREATE TABLE `ac_shared_object_profiles` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  `sharing_context` varchar(50) NOT NULL DEFAULT '',
  `sharing_code` varchar(100) NOT NULL DEFAULT '',
  `expires_on` date  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `is_discoverable` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `sharing` (`sharing_context`, `sharing_code`),
  UNIQUE `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4688 - info - CREATE TABLE `ac_file_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `file_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `mime_type` varchar(255) NOT NULL DEFAULT 'application/octet-stream',
  `size` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `file_version` (`file_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4689 - info - CREATE TABLE `ac_text_document_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `text_document_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version_num` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `text_document_version` (`text_document_id`, `version_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4690 - info - CREATE TABLE `ac_public_task_forms` (
  `id` int unsigned NOT NULL auto_increment,
  `project_id` int(11) unsigned NOT NULL DEFAULT 0,
  `slug` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(100)  DEFAULT NULL,
  `body` text ,
  `is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`),
  UNIQUE `slug` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4691 - info - CREATE TABLE `ac_related_tasks` (
  `parent_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `related_task_id` int(10) unsigned NOT NULL DEFAULT 0,
  `note` varchar(255)  DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  INDEX `created_on` (`created_on`),
  PRIMARY KEY (`parent_task_id`, `related_task_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4692 - info - CREATE TABLE `ac_task_segments` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `raw_additional_properties` longtext ,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4693 - info - CREATE TABLE `ac_status_updates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_id` int(10) unsigned NULL DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `last_update_on` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `created_on` (`created_on`),
  INDEX `last_update_on` (`last_update_on`),
  INDEX `parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4694 - info - CREATE TABLE `ac_documents` (
  `id` int unsigned NOT NULL auto_increment,
  `category_id` int(11) unsigned NULL DEFAULT NULL,
  `type` enum('text', 'file') NOT NULL DEFAULT 'text',
  `name` varchar(150)  DEFAULT NULL,
  `body` text ,
  `size` int(11) NULL DEFAULT NULL,
  `mime_type` varchar(255)  DEFAULT NULL,
  `location` varchar(50)  DEFAULT NULL,
  `md5` varchar(32)  DEFAULT NULL,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_pinned` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4695 - info - CREATE TABLE `ac_time_records` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(12, 2)  DEFAULT NULL,
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `job_type_id` (`job_type_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4696 - info - CREATE TABLE `ac_job_types` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `default_hourly_rate` decimal(13, 3) NOT NULL DEFAULT '0',
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4697 - info - CREATE TABLE `ac_project_hourly_rates` (
  `project_id` int(10) unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NULL DEFAULT NULL,
  `hourly_rate` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`project_id`, `job_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4698 - info - CREATE TABLE `ac_expenses` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `category_id` int(5) unsigned NOT NULL DEFAULT 0,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `record_date` date  DEFAULT NULL,
  `value` decimal(13, 3) unsigned NOT NULL DEFAULT '0',
  `user_id` int(10) unsigned NULL DEFAULT NULL,
  `user_name` varchar(100)  DEFAULT NULL,
  `user_email` varchar(150)  DEFAULT NULL,
  `summary` text ,
  `billable_status` int(3) unsigned NOT NULL DEFAULT 0,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `user_id` (`user_id`),
  INDEX `category_id` (`category_id`),
  INDEX `record_date` (`record_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4699 - info - CREATE TABLE `ac_expense_categories` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(100)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4700 - info - CREATE TABLE `ac_estimates` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `job_type_id` int(5) unsigned NOT NULL DEFAULT 0,
  `value` decimal(12, 2) unsigned  DEFAULT NULL,
  `comment` text ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `created_on` (`created_on`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4701 - info - CREATE TABLE `ac_invoice_objects` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObject',
  `company_id` int(5) unsigned NOT NULL DEFAULT 0,
  `company_name` varchar(150)  DEFAULT NULL,
  `company_address` text ,
  `currency_id` int(4) NOT NULL DEFAULT 0,
  `language_id` int(3) NOT NULL DEFAULT 0,
  `project_id` int(5) unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `balance_due` decimal(13, 3) NOT NULL DEFAULT '0',
  `paid_amount` decimal(13, 3) NOT NULL DEFAULT '0',
  `note` text ,
  `private_note` varchar(255)  DEFAULT NULL,
  `status` int(4) NOT NULL DEFAULT 0,
  `based_on_type` varchar(50)  DEFAULT NULL,
  `based_on_id` int(10) unsigned NULL DEFAULT NULL,
  `allow_payments` tinyint(3) NULL DEFAULT NULL,
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `visibility` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_visibility` tinyint(3) unsigned NULL DEFAULT NULL,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `recipient_id` int(10) unsigned NOT NULL DEFAULT 0,
  `recipient_name` varchar(100)  DEFAULT NULL,
  `recipient_email` varchar(150)  DEFAULT NULL,
  `sent_on` datetime  DEFAULT NULL,
  `sent_by_id` int unsigned NULL DEFAULT NULL,
  `sent_by_name` varchar(100)  DEFAULT NULL,
  `sent_by_email` varchar(150)  DEFAULT NULL,
  `reminder_sent_on` datetime  DEFAULT NULL,
  `closed_on` datetime  DEFAULT NULL,
  `closed_by_id` int unsigned NULL DEFAULT NULL,
  `closed_by_name` varchar(100)  DEFAULT NULL,
  `closed_by_email` varchar(150)  DEFAULT NULL,
  `varchar_field_1` varchar(255)  DEFAULT NULL,
  `varchar_field_2` varchar(255)  DEFAULT NULL,
  `varchar_field_3` varchar(255)  DEFAULT NULL,
  `varchar_field_4` varchar(255)  DEFAULT NULL,
  `integer_field_1` int(11) NULL DEFAULT NULL,
  `integer_field_2` int(11) NULL DEFAULT NULL,
  `integer_field_3` int(11) NULL DEFAULT NULL,
  `date_field_1` date  DEFAULT NULL,
  `date_field_2` date  DEFAULT NULL,
  `date_field_3` date  DEFAULT NULL,
  `datetime_field_1` datetime  DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `created_on` (`created_on`),
  INDEX `sent_on` (`sent_on`),
  INDEX `closed_on` (`closed_on`),
  INDEX `company_id` (`company_id`),
  INDEX `project_id` (`project_id`),
  INDEX `total` (`total`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4702 - info - CREATE TABLE `ac_invoice_object_items` (
  `id` int unsigned NOT NULL auto_increment,
  `type` varchar(50) NOT NULL DEFAULT 'InvoiceObjectItem',
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `subtotal` decimal(13, 3) NOT NULL DEFAULT '0',
  `first_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax` decimal(13, 3) NOT NULL DEFAULT '0',
  `total` decimal(13, 3) NOT NULL DEFAULT '0',
  `second_tax_is_enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `second_tax_is_compound` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `position` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  INDEX `type` (`type`),
  INDEX `parent` (`parent_type`, `parent_id`),
  INDEX `parent_id` (`parent_id`, `parent_type`, `position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4703 - info - CREATE TABLE `ac_invoice_item_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `first_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `second_tax_rate_id` int(3) unsigned NOT NULL DEFAULT 0,
  `description` text ,
  `quantity` decimal(13, 3) unsigned NOT NULL DEFAULT '1',
  `unit_cost` decimal(13, 3) NOT NULL DEFAULT '0',
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4704 - info - CREATE TABLE `ac_invoice_note_templates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(150)  DEFAULT NULL,
  `content` text ,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4705 - info - CREATE TABLE `ac_invoice_related_records` (
  `invoice_id` int(5) unsigned NULL DEFAULT NULL,
  `item_id` int(10) unsigned NULL DEFAULT NULL,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  INDEX `parent` (`parent_type`, `parent_id`),
  PRIMARY KEY (`invoice_id`, `item_id`, `parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4706 - info - CREATE TABLE `ac_tax_rates` (
  `id` int unsigned NOT NULL auto_increment,
  `name` varchar(50)  DEFAULT NULL,
  `percentage` decimal(6, 3)  DEFAULT NULL,
  `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4707 - info - CREATE TABLE `ac_notebook_pages` (
  `id` int unsigned NOT NULL auto_increment,
  `parent_type` varchar(50)  DEFAULT NULL,
  `parent_id` int unsigned NULL DEFAULT NULL,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `state` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `original_state` tinyint(3) unsigned NULL DEFAULT NULL,
  `is_locked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  `updated_on` datetime  DEFAULT NULL,
  `updated_by_id` int unsigned NULL DEFAULT NULL,
  `updated_by_name` varchar(100)  DEFAULT NULL,
  `updated_by_email` varchar(150)  DEFAULT NULL,
  `last_version_on` datetime  DEFAULT NULL,
  `last_version_by_id` int unsigned NULL DEFAULT NULL,
  `last_version_by_name` varchar(100)  DEFAULT NULL,
  `last_version_by_email` varchar(150)  DEFAULT NULL,
  `position` int(10) unsigned NULL DEFAULT NULL,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  INDEX `parent` (`parent_type`, `parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4708 - info - CREATE TABLE `ac_notebook_page_versions` (
  `id` int unsigned NOT NULL auto_increment,
  `notebook_page_id` int(10) unsigned NOT NULL DEFAULT 0,
  `version` int(5) unsigned NOT NULL DEFAULT 0,
  `name` varchar(255)  DEFAULT NULL,
  `body` longtext ,
  `created_on` datetime  DEFAULT NULL,
  `created_by_id` int unsigned NULL DEFAULT NULL,
  `created_by_name` varchar(100)  DEFAULT NULL,
  `created_by_email` varchar(150)  DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE `notebook_page_version` (`notebook_page_id`, `version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
#4709 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_message', 'environment', NULL)
#4710 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('first_run_on', 'environment', NULL)
#4711 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('help_improve_application', 'environment', 'b:1;')
#4712 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('identity_name', 'environment', 's:11:\"Application\";')
#4713 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('on_logout_url', 'environment', NULL)
#4714 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_frequently_activity', 'environment', NULL)
#4715 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_hourly_activity', 'environment', NULL)
#4716 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('last_daily_activity', 'environment', NULL)
#4717 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_scheduled_tasks', 'environment', 'b:1;')
#4718 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_disk_usage', 'environment', 'b:1;')
#4719 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_limit', 'environment', 'i:0;')
#4720 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_email_notifications', 'environment', 'b:1;')
#4721 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_low_space_threshold', 'environment', 'i:95;')
#4722 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disk_space_old_versions_size', 'environment', NULL)
#4723 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('current_scheme', 'environment', 's:7:\"default\";')
#4724 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('custom_schemes', 'environment', NULL)
#4725 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('whitelisted_tags', 'environment', 'a:1:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}}')
#4726 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('require_index_rebuild', 'environment', 'b:0;')
#4727 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_enabled', 'environment', 'b:0;')
#4728 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_settings', 'environment', NULL)
#4729 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_white_list', 'environment', NULL)
#4730 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_black_list', 'environment', NULL)
#4731 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('firewall_temp_list', 'environment', NULL)
#4732 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_enabled', 'environment', 'b:0;')
#4733 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_protocol', 'environment', 's:4:\"http\";')
#4734 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_address', 'environment', 's:0:\"\";')
#4735 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('network_proxy_port', 'environment', 's:0:\"\";')
#4736 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('language', 'globalization', 'i:1;')
#4737 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_dst', 'globalization', 'b:0;')
#4738 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_first_week_day', 'globalization', 'i:0;')
#4739 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_timezone', 'globalization', 'i:0;')
#4740 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('time_workdays', 'globalization', 'a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;}')
#4741 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_date', 'globalization', 's:9:\"%b %e. %Y\";')
#4742 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('format_time', 'globalization', 's:8:\"%I:%M %p\";')
#4743 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('effective_work_hours', 'globalization', 'i:40;')
#4744 - info - BEGIN WORK
#4745 - info - Transaction level increased to 1. Message: Loading table data for 'globalization' @ AngieFrameworkModel
#4746 - info - INSERT INTO ac_currencies (name, code) VALUES ('Euro', 'EUR')
#4747 - info - INSERT INTO ac_currencies (name, code, is_default) VALUES ('US Dollar', 'USD', '1')
#4748 - info - INSERT INTO ac_currencies (name, code) VALUES ('British Pound', 'GBP')
#4749 - info - INSERT INTO ac_currencies (name, code) VALUES ('Japanese Yen', 'JPY')
#4750 - info - COMMIT
#4751 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('maintenance_enabled', 'authentication', 'b:0;')
#4752 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing', 'email', 's:6:\"native\";')
#4753 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_authenticate', 'email', 'b:0;')
#4754 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_host', 'email', NULL)
#4755 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_username', 'email', NULL)
#4756 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_password', 'email', NULL)
#4757 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_port', 'email', 'i:25;')
#4758 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_smtp_security', 'email', 'i:25;')
#4759 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method', 'email', 's:9:\"instantly\";')
#4760 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_method_override', 'email', 'b:1;')
#4761 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_native_options', 'email', 's:9:\"-oi -f %s\";')
#4762 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('mailing_mark_as_bulk', 'email', 'b:1;')
#4763 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_force', 'email', 'b:1;')
#4764 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_name', 'email', 's:0:\"\";')
#4765 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_from_email', 'email', 's:0:\"\";')
#4766 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('conflict_notifications_delivery', 'email', 'i:2;')
#4767 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_reply_to_comment', 'email', 'b:1;')
#4768 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_queue', 'email', 'b:1;')
#4769 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('control_tower_check_email_conflicts', 'email', 'b:1;')
#4770 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_on_successive_connection_failures', 'email', 'b:1;')
#4771 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_successive_connection_attempts', 'email', 'i:3;')
#4772 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('disable_mailbox_notify_administrator', 'email', 'b:1;')
#4773 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('default_homescreen_tab_id', 'homescreens', NULL)
#4774 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('notifications_show_indicators', 'notifications', 'i:2;')
#4775 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('email_notifications_enabled', 'notifications', 'b:1;')
#4776 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('popup_show_only_unread', 'notifications', 'b:0;')
#4777 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('who_can_override_channel_settings', 'notifications', 'a:1:{s:5:\"email\";a:1:{i:0;s:6:\"Member\";}}')
#4778 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'NEW', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4779 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'CONFIRMED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#F26522\";}')
#4780 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WORKS4ME', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4781 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'DUPLICATE', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4782 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'WONTFIX', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4783 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'ASSIGNED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4784 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'BLOCKED', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#ACACAC\";}')
#4785 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'INPROGRESS', 'a:2:{s:8:\"fg_color\";s:7:\"#000000\";s:8:\"bg_color\";s:7:\"#FFFF00\";}')
#4786 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'FIXED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#0000FF\";}')
#4787 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'REOPENED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#FF0000\";}')
#4788 - info - INSERT INTO ac_labels (type, name, raw_additional_properties) VALUES ('AssignmentLabel', 'VERIFIED', 'a:2:{s:8:\"fg_color\";s:7:\"#FFFFFF\";s:8:\"bg_color\";s:7:\"#00A651\";}')
#4789 - info - SELECT value FROM ac_config_options WHERE name = 'whitelisted_tags'
#4790 - info - SELECT COUNT(name) FROM ac_config_options WHERE name = 'whitelisted_tags'
#4791 - info - UPDATE ac_config_options SET value = 'a:2:{s:11:\"environment\";a:3:{s:1:\"a\";a:5:{i:0;s:4:\"href\";i:1;s:5:\"title\";i:2;s:5:\"class\";i:3;s:9:\"object-id\";i:4;s:12:\"object-class\";}s:3:\"div\";a:4:{i:0;s:5:\"class\";i:1;s:16:\"placeholder-type\";i:2;s:21:\"placeholder-object-id\";i:3;s:17:\"placeholder-extra\";}s:3:\"img\";a:4:{i:0;s:3:\"src\";i:1;s:3:\"alt\";i:2;s:5:\"title\";i:3;s:5:\"class\";}}s:13:\"visual_editor\";a:12:{s:1:\"p\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:3:\"img\";a:3:{i:0;s:10:\"image-type\";i:1;s:9:\"object-id\";i:2;s:5:\"class\";}s:6:\"strike\";a:2:{i:0;s:5:\"class\";i:1;s:5:\"style\";}s:4:\"span\";a:3:{i:0;s:5:\"class\";i:1;s:27:\"data-redactor-inlinemethods\";i:2;s:13:\"data-redactor\";}s:1:\"a\";a:2:{i:0;s:5:\"class\";i:1;s:4:\"href\";}s:10:\"blockquote\";N;s:2:\"br\";N;s:1:\"b\";N;s:6:\"strong\";N;s:1:\"i\";N;s:2:\"em\";N;s:1:\"u\";N;}}' WHERE name = 'whitelisted_tags'
#4792 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments', 'payments', 'b:0;')
#4793 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('allow_payments_for_invoice', 'payments', 'b:0;')
#4794 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_common', 'payments', 'a:5:{i:0;s:12:\"Bank Deposit\";i:1;s:5:\"Check\";i:2;s:4:\"Cash\";i:3;s:6:\"Credit\";i:4;s:5:\"Debit\";}')
#4795 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_credit_card', 'payments', 'a:6:{i:0;s:11:\"Credit Card\";i:1;s:18:\"Credit Card (Visa)\";i:2;s:24:\"Credit Card (Mastercard)\";i:3;s:22:\"Credit Card (Discover)\";i:4;s:30:\"Credit Card (American Express)\";i:5;s:20:\"Credit Card (Diners)\";}')
#4796 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('payment_methods_online', 'payments', 'a:3:{i:0;s:14:\"Online Payment\";i:1;s:23:\"Online Payment (PayPal)\";i:2;s:26:\"Online Payment (Authorize)\";}')
#4797 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_provider', 'search', 's:19:\"MySqlSearchProvider\";')
#4798 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('search_initialized_on', 'search', NULL)
#4799 - info - INSERT INTO ac_config_options (name, module, value) VALUES ('elastic_search_hosts', 'search', 's:14:\"localhost:9200\";')
#4800 - info - SELECT * FROM ac_users WHERE id = '1' LIMIT 0, 1

cache

#1 - info - Cache miss 'installed_non_system_modues'
#2 - info - Cache hit 'installed_non_system_modues'
#3 - info - Cache hit 'installed_non_system_modues'
#4 - info - Cache hit 'installed_non_system_modues'
#5 - info - Cache hit 'installed_non_system_modues'
#6 - info - Cache hit 'installed_non_system_modues'
#7 - info - Cache hit 'installed_non_system_modues'
#8 - info - Cache hit 'installed_non_system_modues'
#9 - info - Cache hit 'installed_non_system_modues'
#10 - info - Cache hit 'installed_non_system_modues'
#11 - info - Cache miss 'root_url'
#12 - info - Cache miss 'models/test_data_objects/1'
#13 - info - Cache hit 'models/test_data_objects/1'
#14 - info - Cache miss 'models/test_data_objects/1'
#15 - info - Cache miss 'something_to_get'
#16 - info - Cache hit 'something_to_get'
#17 - info - Cache miss 'something_to_get'
#18 - info - Cache miss 'config_values'
#19 - info - Cache hit 'config_values'
#20 - info - Cache hit 'config_values'
#21 - info - Cache hit 'config_values'
#22 - info - Cache miss 'models/users/1'
#23 - info - Cache miss 'config_values'
#24 - info - Cache hit 'config_values'
#25 - info - Cache miss 'models/users/1'
#26 - info - Cache hit 'models/users/1'
#27 - info - Cache hit 'models/users/1'
#28 - info - Cache miss 'models/users/1/config_options'
#29 - info - Cache miss 'config_values'
#30 - info - Cache hit 'models/users/1/config_options'
#31 - info - Cache hit 'config_values'
#32 - info - Cache hit 'models/users/1/config_options'
#33 - info - Cache hit 'config_values'
#34 - info - Cache hit 'models/users/1/config_options'
#35 - info - Cache hit 'config_values'
#36 - info - Cache hit 'models/users/1'
#37 - info - Cache hit 'models/users/1'
#38 - info - Cache hit 'models/users/1/config_options'
#39 - info - Cache hit 'models/users/1'
#40 - info - Cache hit 'models/users/1/config_options'
#41 - info - Cache hit 'models/users/1/config_options'
#42 - info - Cache hit 'models/users/1'
#43 - info - Cache hit 'models/users/1'
#44 - info - Cache miss 'models/test_data_objects/1'
#45 - info - Cache miss 'models/test_data_objects/1'
#46 - info - Cache miss 'models/test_data_objects/1'
#47 - info - Cache miss 'models/test_data_objects/12'
#48 - info - Cache hit 'config_values'
#49 - info - Cache hit 'config_values'
#50 - info - Cache miss 'models/users/1'
#51 - info - Cache miss 'config_values'
#52 - info - Cache hit 'config_values'
#53 - info - Cache miss 'models/users/1'
#54 - info - Cache miss 'config_values'
#55 - info - Cache hit 'config_values'
#56 - info - Cache hit 'config_values'
#57 - info - Cache hit 'config_values'
#58 - info - Cache hit 'config_values'
#59 - info - Cache hit 'config_values'
#60 - info - Cache miss 'config_values'
#61 - info - Cache hit 'config_values'
#62 - info - Cache miss 'models/users/1'
#63 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#64 - info - Cache miss 'models/test_config_options_object1s/2/config_options'
#65 - info - Cache miss 'models/test_config_options_object2s/1/config_options'
#66 - info - Cache miss 'config_values'
#67 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#68 - info - Cache hit 'models/test_config_options_object1s/1/config_options'
#69 - info - Cache miss 'models/test_config_options_object1s/1/config_options'
#70 - info - Cache hit 'config_values'
#71 - info - Cache hit 'config_values'
#72 - info - Cache hit 'config_values'
#73 - info - Cache miss 'models/users/1'
#74 - info - Cache hit 'models/users/1'
#75 - info - Cache miss 'models/users/1/config_options'
#76 - info - Cache miss 'models/users/1'

routing

#1 - info - Compiling match file. Routes defined: 1538
#2 - info - Compiled match file created at '/Build/Workspaces/QA/activeCollab/instance/compile/_router_match_187b59b67cf2809801aa211c6aa944555ee4a382.php'
#3 - info - Compiling match file. Routes defined: 1538
#4 - info - Compiled match file created at '/Build/Workspaces/QA/activeCollab/instance/compile/_router_assemble_187b59b67cf2809801aa211c6aa944555ee4a382.php'

events

#1 - info - Event 'on_before_object_validation' triggered
#2 - info - Event 'on_after_object_validation' triggered
#3 - info - Event 'on_before_object_save' triggered
#4 - info - Event 'on_before_object_insert' triggered
#5 - info - Event 'on_object_inserted' triggered
#6 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#7 - info - Event 'on_after_object_save' triggered
#8 - info - Event 'on_before_object_validation' triggered
#9 - info - Event 'on_after_object_validation' triggered
#10 - info - Event 'on_before_object_save' triggered
#11 - info - Event 'on_before_object_update' triggered
#12 - info - Event 'on_object_updated' triggered
#13 - info - Event 'on_after_object_save' triggered
#14 - info - Event 'on_before_object_deleted' triggered
#15 - info - Event 'on_object_deleted' triggered
#16 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#17 - info - Event 'on_search_indices' triggered
#18 - info - Callback 'help_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#19 - info - Callback 'authentication_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#20 - info - Callback 'system_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#21 - info - Callback 'documents_handle_on_search_indices' called for 'on_search_indices'. Execution result: NULL
#22 - info - Event 'on_before_object_validation' triggered
#23 - info - Event 'on_after_object_validation' triggered
#24 - info - Event 'on_before_object_save' triggered
#25 - info - Event 'on_before_object_insert' triggered
#26 - info - Event 'on_object_inserted' triggered
#27 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#28 - info - Event 'on_after_object_save' triggered
#29 - info - Event 'on_before_object_validation' triggered
#30 - info - Event 'on_after_object_validation' triggered
#31 - info - Event 'on_before_object_save' triggered
#32 - info - Event 'on_before_object_insert' triggered
#33 - info - Event 'on_object_inserted' triggered
#34 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#35 - info - Event 'on_after_object_save' triggered
#36 - info - Event 'on_before_object_validation' triggered
#37 - info - Event 'on_after_object_validation' triggered
#38 - info - Event 'on_before_object_save' triggered
#39 - info - Event 'on_before_object_insert' triggered
#40 - info - Event 'on_object_inserted' triggered
#41 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#42 - info - Event 'on_after_object_save' triggered
#43 - info - Event 'on_before_object_deleted' triggered
#44 - info - Event 'on_object_deleted' triggered
#45 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#46 - info - Event 'on_before_object_validation' triggered
#47 - info - Event 'on_after_object_validation' triggered
#48 - info - Event 'on_before_object_save' triggered
#49 - info - Event 'on_before_object_insert' triggered
#50 - info - Event 'on_object_inserted' triggered
#51 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#52 - info - Event 'on_after_object_save' triggered
#53 - info - Event 'on_before_object_deleted' triggered
#54 - info - Event 'on_object_deleted' triggered
#55 - info - Callback 'invoicing_handle_on_object_deleted' called for 'on_object_deleted'. Execution result: NULL
#56 - info - Event 'on_before_object_validation' triggered
#57 - info - Event 'on_after_object_validation' triggered
#58 - info - Event 'on_before_object_save' triggered
#59 - info - Event 'on_before_object_insert' triggered
#60 - info - Event 'on_object_inserted' triggered
#61 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#62 - info - Event 'on_after_object_save' triggered
#63 - info - Event 'on_before_object_validation' triggered
#64 - info - Event 'on_after_object_validation' triggered
#65 - info - Event 'on_before_object_save' triggered
#66 - info - Event 'on_before_object_insert' triggered
#67 - info - Event 'on_object_inserted' triggered
#68 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#69 - info - Event 'on_after_object_save' triggered
#70 - info - Event 'on_before_object_validation' triggered
#71 - info - Event 'on_after_object_validation' triggered
#72 - info - Event 'on_before_object_save' triggered
#73 - info - Event 'on_before_object_insert' triggered
#74 - info - Event 'on_object_inserted' triggered
#75 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#76 - info - Event 'on_after_object_save' triggered
#77 - info - Event 'on_before_object_validation' triggered
#78 - info - Event 'on_after_object_validation' triggered
#79 - info - Event 'on_before_object_save' triggered
#80 - info - Event 'on_before_object_update' triggered
#81 - info - Event 'on_object_updated' triggered
#82 - info - Event 'on_after_object_save' triggered
#83 - info - Event 'on_before_object_validation' triggered
#84 - info - Event 'on_after_object_validation' triggered
#85 - info - Event 'on_before_object_save' triggered
#86 - info - Event 'on_before_object_insert' triggered
#87 - info - Event 'on_object_inserted' triggered
#88 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#89 - info - Event 'on_after_object_save' triggered
#90 - info - Event 'on_before_object_validation' triggered
#91 - info - Event 'on_after_object_validation' triggered
#92 - info - Event 'on_before_object_save' triggered
#93 - info - Event 'on_before_object_update' triggered
#94 - info - Event 'on_object_updated' triggered
#95 - info - Event 'on_after_object_save' triggered
#96 - info - Event 'on_before_object_validation' triggered
#97 - info - Event 'on_after_object_validation' triggered
#98 - info - Event 'on_before_object_validation' triggered
#99 - info - Event 'on_after_object_validation' triggered
#100 - info - Event 'on_before_object_save' triggered
#101 - info - Event 'on_before_object_insert' triggered
#102 - info - Event 'on_object_inserted' triggered
#103 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#104 - info - Event 'on_after_object_save' triggered
#105 - info - Event 'on_before_object_validation' triggered
#106 - info - Event 'on_after_object_validation' triggered
#107 - info - Event 'on_before_object_validation' triggered
#108 - info - Event 'on_after_object_validation' triggered
#109 - info - Event 'on_before_object_save' triggered
#110 - info - Event 'on_before_object_insert' triggered
#111 - info - Event 'on_object_inserted' triggered
#112 - info - Callback 'system_handle_drop_project_progress_cache' called for 'on_object_inserted'. Execution result: NULL
#113 - info - Event 'on_shutdown' triggered

======================================================

