CREATE TEMPORARY TABLE IF NOT EXISTS `PLUGINS` (
  `PLUGIN_NAME` varchar(64) NOT NULL DEFAULT '',
  `PLUGIN_VERSION` varchar(20) NOT NULL DEFAULT '',
  `PLUGIN_STATUS` varchar(10) NOT NULL DEFAULT '',
  `PLUGIN_TYPE` varchar(80) NOT NULL DEFAULT '',
  `PLUGIN_TYPE_VERSION` varchar(20) NOT NULL DEFAULT '',
  `PLUGIN_LIBRARY` varchar(64) DEFAULT NULL,
  `PLUGIN_LIBRARY_VERSION` varchar(20) DEFAULT NULL,
  `PLUGIN_AUTHOR` varchar(64) DEFAULT NULL,
  `PLUGIN_DESCRIPTION` longtext,
  `PLUGIN_LICENSE` varchar(80) DEFAULT NULL,
  `LOAD_OPTION` varchar(64) NOT NULL DEFAULT ''
) TYPE=MyISAM;

# Dumping data for table information_schema.PLUGINS: -1 rows
DELETE FROM `PLUGINS`;
INSERT INTO `PLUGINS` (`PLUGIN_NAME`, `PLUGIN_VERSION`, `PLUGIN_STATUS`, `PLUGIN_TYPE`, `PLUGIN_TYPE_VERSION`, `PLUGIN_LIBRARY`, `PLUGIN_LIBRARY_VERSION`, `PLUGIN_AUTHOR`, `PLUGIN_DESCRIPTION`, `PLUGIN_LICENSE`, `LOAD_OPTION`) VALUES ('binlog', '1.0', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'MySQL AB', 'This is a pseudo storage engine to represent the binlog in a transaction', 'GPL', 'FORCE'), ('mysql_native_password', '1.0', 'ACTIVE', 'AUTHENTICATION', '1.0', NULL, NULL, 'R.J.Silk, Sergei Golubchik', 'Native MySQL authentication', 'GPL', 'FORCE'), ('mysql_old_password', '1.0', 'ACTIVE', 'AUTHENTICATION', '1.0', NULL, NULL, 'R.J.Silk, Sergei Golubchik', 'Old MySQL-4.0 authentication', 'GPL', 'FORCE'), ('sha256_password', '1.0', 'ACTIVE', 'AUTHENTICATION', '1.0', NULL, NULL, 'Oracle', 'SHA256 password authentication', 'GPL', 'FORCE'), ('CSV', '1.0', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'Brian Aker, MySQL AB', 'CSV storage engine', 'GPL', 'FORCE'), ('MEMORY', '1.0', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'MySQL AB', 'Hash based, stored in memory, useful for temporary tables', 'GPL', 'FORCE'), ('MyISAM', '1.0', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'MySQL AB', 'MyISAM storage engine', 'GPL', 'FORCE'), ('MRG_MYISAM', '1.0', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'MySQL AB', 'Collection of identical MyISAM tables', 'GPL', 'FORCE'), ('ARCHIVE', '3.0', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'Brian Aker, MySQL AB', 'Archive storage engine', 'GPL', 'ON'), ('BLACKHOLE', '1.0', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'MySQL AB', '/dev/null storage engine (anything you write to it disappears)', 'GPL', 'ON'), ('FEDERATED', '1.0', 'DISABLED', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'Patrick Galbraith and Brian Aker, MySQL AB', 'Federated MySQL storage engine', 'GPL', 'OFF'), ('InnoDB', '5.6', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'Oracle Corporation', 'Supports transactions, row-level locking, and foreign keys', 'GPL', 'ON'), ('INNODB_TRX', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB transactions', 'GPL', 'ON'), ('INNODB_LOCKS', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB conflicting locks', 'GPL', 'ON'), ('INNODB_LOCK_WAITS', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB which lock is blocking which', 'GPL', 'ON'), ('INNODB_CMP', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'Statistics for the InnoDB compression', 'GPL', 'ON'), ('INNODB_CMP_RESET', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'Statistics for the InnoDB compression; reset cumulated counts', 'GPL', 'ON'), ('INNODB_CMPMEM', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'Statistics for the InnoDB compressed buffer pool', 'GPL', 'ON'), ('INNODB_CMPMEM_RESET', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'Statistics for the InnoDB compressed buffer pool; reset cumulated counts', 'GPL', 'ON'), ('INNODB_CMP_PER_INDEX', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'Statistics for the InnoDB compression (per index)', 'GPL', 'ON'), ('INNODB_CMP_PER_INDEX_RESET', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'Statistics for the InnoDB compression (per index); reset cumulated counts', 'GPL', 'ON'), ('INNODB_BUFFER_PAGE', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB Buffer Page Information', 'GPL', 'ON'), ('INNODB_BUFFER_PAGE_LRU', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB Buffer Page in LRU', 'GPL', 'ON'), ('INNODB_BUFFER_POOL_STATS', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB Buffer Pool Statistics Information ', 'GPL', 'ON'), ('INNODB_METRICS', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB Metrics Info', 'GPL', 'ON'), ('INNODB_FT_DEFAULT_STOPWORD', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '28469.64', NULL, NULL, 'Oracle Corporation', 'Default stopword list for InnDB Full Text Search', 'GPL', 'ON'), ('INNODB_FT_DELETED', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '28465.92', NULL, NULL, 'Oracle Corporation', 'INNODB AUXILIARY FTS DELETED TABLE', 'GPL', 'ON'), ('INNODB_FT_BEING_DELETED', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '28465.92', NULL, NULL, 'Oracle Corporation', 'INNODB AUXILIARY FTS BEING DELETED TABLE', 'GPL', 'ON'), ('INNODB_FT_CONFIG', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '25796.48', NULL, NULL, 'Oracle Corporation', 'INNODB AUXILIARY FTS CONFIG TABLE', 'GPL', 'ON'), ('INNODB_FT_INDEX_CACHE', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '28969.232', NULL, NULL, 'Oracle Corporation', 'INNODB AUXILIARY FTS INDEX CACHED', 'GPL', 'ON'), ('INNODB_FT_INDEX_TABLE', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '28969.232', NULL, NULL, 'Oracle Corporation', 'INNODB AUXILIARY FTS INDEX TABLE', 'GPL', 'ON'), ('INNODB_SYS_TABLES', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB SYS_TABLES', 'GPL', 'ON'), ('INNODB_SYS_TABLESTATS', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB SYS_TABLESTATS', 'GPL', 'ON'), ('INNODB_SYS_INDEXES', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB SYS_INDEXES', 'GPL', 'ON'), ('INNODB_SYS_COLUMNS', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB SYS_COLUMNS', 'GPL', 'ON'), ('INNODB_SYS_FIELDS', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB SYS_FIELDS', 'GPL', 'ON'), ('INNODB_SYS_FOREIGN', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB SYS_FOREIGN', 'GPL', 'ON'), ('INNODB_SYS_FOREIGN_COLS', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB SYS_FOREIGN_COLS', 'GPL', 'ON'), ('INNODB_SYS_TABLESPACES', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB SYS_TABLESPACES', 'GPL', 'ON'), ('INNODB_SYS_DATAFILES', '5.6', 'ACTIVE', 'INFORMATION SCHEMA', '50613.0', NULL, NULL, 'Oracle Corporation', 'InnoDB SYS_DATAFILES', 'GPL', 'ON'), ('PERFORMANCE_SCHEMA', '0.1', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'Marc Alff, Oracle', 'Performance Schema', 'GPL', 'FORCE'), ('partition', '1.0', 'ACTIVE', 'STORAGE ENGINE', '50613.0', NULL, NULL, 'Mikael Ronstrom, MySQL AB', 'Partition Storage Engine Helper', 'GPL', 'ON');


# Dumping structure for table information_schema.PROCESSLIST
CREATE TEMPORARY TABLE IF NOT EXISTS `PROCESSLIST` (
  `ID` bigint(21) unsigned NOT NULL DEFAULT '0',
  `USER` varchar(16) NOT NULL DEFAULT '',
  `HOST` varchar(64) NOT NULL DEFAULT '',
  `DB` varchar(64) DEFAULT NULL,
  `COMMAND` varchar(16) NOT NULL DEFAULT '',
  `TIME` int(7) NOT NULL DEFAULT '0',
  `STATE` varchar(64) DEFAULT NULL,
  `INFO` longtext
) TYPE=MyISAM;

# Dumping data for table information_schema.PROCESSLIST: -1 rows
DELETE FROM `PROCESSLIST`;
INSERT INTO `PROCESSLIST` (`ID`, `USER`, `HOST`, `DB`, `COMMAND`, `TIME`, `STATE`, `INFO`) VALUES (37199, 'biec_admin', 'localhost:25982', 'biec_application', 'Query', 0, 'executing', 'SELECT * FROM `information_schema`.`PROCESSLIST` LIMIT 0, 104857600');


# Dumping structure for table information_schema.PROFILING
CREATE TEMPORARY TABLE IF NOT EXISTS `PROFILING` (
  `QUERY_ID` int(20) NOT NULL DEFAULT '0',
  `SEQ` int(20) NOT NULL DEFAULT '0',
  `STATE` varchar(30) NOT NULL DEFAULT '',
  `DURATION` decimal(9,6) NOT NULL DEFAULT '0.000000',
  `CPU_USER` decimal(9,6) DEFAULT NULL,
  `CPU_SYSTEM` decimal(9,6) DEFAULT NULL,
  `CONTEXT_VOLUNTARY` int(20) DEFAULT NULL,
  `CONTEXT_INVOLUNTARY` int(20) DEFAULT NULL,
  `BLOCK_OPS_IN` int(20) DEFAULT NULL,
  `BLOCK_OPS_OUT` int(20) DEFAULT NULL,
  `MESSAGES_SENT` int(20) DEFAULT NULL,
  `MESSAGES_RECEIVED` int(20) DEFAULT NULL,
  `PAGE_FAULTS_MAJOR` int(20) DEFAULT NULL,
  `PAGE_FAULTS_MINOR` int(20) DEFAULT NULL,
  `SWAPS` int(20) DEFAULT NULL,
  `SOURCE_FUNCTION` varchar(30) DEFAULT NULL,
  `SOURCE_FILE` varchar(20) DEFAULT NULL,
  `SOURCE_LINE` int(20) DEFAULT NULL
) TYPE=MEMORY;

# Dumping data for table information_schema.PROFILING: -1 rows
DELETE FROM `PROFILING`;


# Dumping structure for table information_schema.REFERENTIAL_CONSTRAINTS
CREATE TEMPORARY TABLE IF NOT EXISTS `REFERENTIAL_CONSTRAINTS` (
  `CONSTRAINT_CATALOG` varchar(512) NOT NULL DEFAULT '',
  `CONSTRAINT_SCHEMA` varchar(64) NOT NULL DEFAULT '',
  `CONSTRAINT_NAME` varchar(64) NOT NULL DEFAULT '',
  `UNIQUE_CONSTRAINT_CATALOG` varchar(512) NOT NULL DEFAULT '',
  `UNIQUE_CONSTRAINT_SCHEMA` varchar(64) NOT NULL DEFAULT '',
  `UNIQUE_CONSTRAINT_NAME` varchar(64) DEFAULT NULL,
  `MATCH_OPTION` varchar(64) NOT NULL DEFAULT '',
  `UPDATE_RULE` varchar(64) NOT NULL DEFAULT '',
  `DELETE_RULE` varchar(64) NOT NULL DEFAULT '',
  `TABLE_NAME` varchar(64) NOT NULL DEFAULT '',
  `REFERENCED_TABLE_NAME` varchar(64) NOT NULL DEFAULT ''
) TYPE=MEMORY;

# Dumping data for table information_schema.REFERENTIAL_CONSTRAINTS: -1 rows
DELETE FROM `REFERENTIAL_CONSTRAINTS`;
INSERT INTO `REFERENTIAL_CONSTRAINTS` (`CONSTRAINT_CATALOG`, `CONSTRAINT_SCHEMA`, `CONSTRAINT_NAME`, `UNIQUE_CONSTRAINT_CATALOG`, `UNIQUE_CONSTRAINT_SCHEMA`, `UNIQUE_CONSTRAINT_NAME`, `MATCH_OPTION`, `UPDATE_RULE`, `DELETE_RULE`, `TABLE_NAME`, `REFERENCED_TABLE_NAME`) VALUES ('def', 'orange_hrms_staging', 'hs_hr_compstructtree_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'RESTRICT', 'hs_hr_compstructtree', 'hs_hr_location'), ('def', 'orange_hrms_staging', 'hs_hr_db_version_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_db_version', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_db_version_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_db_version', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_emp_attachment_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_attachment', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_pr_salary_grade'), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_hr_currency_type'), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary_ibfk_3', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary_ibfk_4', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_hr_payperiod'), ('def', 'orange_hrms_staging', 'hs_hr_emp_contract_extend_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_contract_extend', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_dependents_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_dependents', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_directdebit_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_directdebit', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_education_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_education', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_education_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_education', 'hs_hr_education'), ('def', 'orange_hrms_staging', 'hs_hr_emp_emergency_contacts_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_emergency_contacts', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_history_of_ealier_pos_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_history_of_ealier_pos', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_jobtitle_history_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_jobtitle_history', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_language_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_language', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_language_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_language', 'hs_hr_language'), ('def', 'orange_hrms_staging', 'hs_hr_emp_licenses_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_licenses', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_licenses_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_licenses', 'hs_hr_licenses'), ('def', 'orange_hrms_staging', 'hs_hr_emp_location_history_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_location_history', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_locations_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_locations', 'hs_hr_location'), ('def', 'orange_hrms_staging', 'hs_hr_emp_locations_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_locations', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_member_detail_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_member_detail', 'hs_hr_membership_type'), ('def', 'orange_hrms_staging', 'hs_hr_emp_member_detail_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_member_detail', 'hs_hr_membership'), ('def', 'orange_hrms_staging', 'hs_hr_emp_member_detail_ibfk_3', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_member_detail', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_passport_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_passport', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_picture_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_picture', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_reportto_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_reportto', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_reportto_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_reportto', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_skill_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_skill', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_skill_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_skill', 'hs_hr_skill'), ('def', 'orange_hrms_staging', 'hs_hr_emp_somu_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_somu', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_subdivision_history_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_subdivision_history', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_us_tax_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_us_tax', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emp_work_experience_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_work_experience', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_employee_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_compstructtree'), ('def', 'orange_hrms_staging', 'hs_hr_employee_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_ethnic_race'), ('def', 'orange_hrms_staging', 'hs_hr_employee_ibfk_4', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_job_title'), ('def', 'orange_hrms_staging', 'hs_hr_employee_ibfk_5', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_empstat'), ('def', 'orange_hrms_staging', 'hs_hr_employee_ibfk_6', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_eec'), ('def', 'orange_hrms_staging', 'hs_hr_employee_leave_quota_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_leave_quota', 'hs_hr_leavetype'), ('def', 'orange_hrms_staging', 'hs_hr_employee_leave_quota_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_leave_quota', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_employee_timesheet_period_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_timesheet_period', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_employee_timesheet_period_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_timesheet_period', 'hs_hr_timesheet_submission_period'), ('def', 'orange_hrms_staging', 'hs_hr_employee_workshift_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_workshift', 'hs_hr_workshift'), ('def', 'orange_hrms_staging', 'hs_hr_employee_workshift_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_workshift', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_emprep_usergroup_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emprep_usergroup', 'hs_hr_user_group'), ('def', 'orange_hrms_staging', 'hs_hr_emprep_usergroup_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emprep_usergroup', 'hs_hr_empreport'), ('def', 'orange_hrms_staging', 'hs_hr_file_version_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_file_version', 'hs_hr_module'), ('def', 'orange_hrms_staging', 'hs_hr_file_version_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_file_version', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_file_version_ibfk_3', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_file_version', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_hsp_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_hsp', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_hsp_payment_request_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_hsp_payment_request', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_job_application_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_job_application', 'hs_hr_job_vacancy'), ('def', 'orange_hrms_staging', 'hs_hr_job_application_events_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_job_application_events', 'hs_hr_job_application'), ('def', 'orange_hrms_staging', 'hs_hr_job_application_events_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_application_events', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_job_application_events_ibfk_3', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_application_events', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_job_title_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_title', 'hs_pr_salary_grade'), ('def', 'orange_hrms_staging', 'hs_hr_job_title_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_title', 'hs_hr_job_spec'), ('def', 'orange_hrms_staging', 'hs_hr_job_vacancy_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_vacancy', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_job_vacancy_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_vacancy', 'hs_hr_job_title'), ('def', 'orange_hrms_staging', 'hs_hr_jobtit_empstat_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_jobtit_empstat', 'hs_hr_job_title'), ('def', 'orange_hrms_staging', 'hs_hr_jobtit_empstat_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_jobtit_empstat', 'hs_hr_empstat'), ('def', 'orange_hrms_staging', 'hs_hr_leave_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'CASCADE', 'CASCADE', 'hs_hr_leave', 'hs_hr_leave_requests'), ('def', 'orange_hrms_staging', 'hs_hr_leave_requests_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'CASCADE', 'CASCADE', 'hs_hr_leave_requests', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_leave_requests_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'CASCADE', 'CASCADE', 'hs_hr_leave_requests', 'hs_hr_leave_period'), ('def', 'orange_hrms_staging', 'hs_hr_leave_requests_ibfk_3', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'CASCADE', 'CASCADE', 'hs_hr_leave_requests', 'hs_hr_leavetype'), ('def', 'orange_hrms_staging', 'hs_hr_location_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_location', 'hs_hr_country'), ('def', 'orange_hrms_staging', 'hs_hr_mailnotifications_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_mailnotifications', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_membership_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_membership', 'hs_hr_membership_type'), ('def', 'orange_hrms_staging', 'hs_hr_module_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_module', 'hs_hr_versions'), ('def', 'orange_hrms_staging', 'hs_hr_project_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'RESTRICT', 'hs_hr_project', 'hs_hr_customer'), ('def', 'orange_hrms_staging', 'hs_hr_project_activity_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_project_activity', 'hs_hr_project'), ('def', 'orange_hrms_staging', 'hs_hr_project_admin_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_project_admin', 'hs_hr_project'), ('def', 'orange_hrms_staging', 'hs_hr_project_admin_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_project_admin', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_rights_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_rights', 'hs_hr_module'), ('def', 'orange_hrms_staging', 'hs_hr_rights_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_rights', 'hs_hr_user_group'), ('def', 'orange_hrms_staging', 'hs_hr_time_event_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_timesheet'), ('def', 'orange_hrms_staging', 'hs_hr_time_event_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_project_activity'), ('def', 'orange_hrms_staging', 'hs_hr_time_event_ibfk_3', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_project'), ('def', 'orange_hrms_staging', 'hs_hr_time_event_ibfk_4', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_timesheet_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_timesheet', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_timesheet_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_timesheet', 'hs_hr_timesheet_submission_period'), ('def', 'orange_hrms_staging', 'hs_hr_users_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_users_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_users_ibfk_3', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'RESTRICT', 'hs_hr_users', 'hs_hr_user_group');
INSERT INTO `REFERENTIAL_CONSTRAINTS` (`CONSTRAINT_CATALOG`, `CONSTRAINT_SCHEMA`, `CONSTRAINT_NAME`, `UNIQUE_CONSTRAINT_CATALOG`, `UNIQUE_CONSTRAINT_SCHEMA`, `UNIQUE_CONSTRAINT_NAME`, `MATCH_OPTION`, `UPDATE_RULE`, `DELETE_RULE`, `TABLE_NAME`, `REFERENCED_TABLE_NAME`) VALUES ('def', 'orange_hrms_staging', 'hs_hr_users_ibfk_4', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_employee'), ('def', 'orange_hrms_staging', 'hs_hr_versions_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_versions_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_users'), ('def', 'orange_hrms_staging', 'hs_hr_versions_ibfk_3', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_db_version'), ('def', 'orange_hrms_staging', 'hs_hr_versions_ibfk_4', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_file_version'), ('def', 'orange_hrms_staging', 'hs_pr_salary_currency_detail_ibfk_1', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_pr_salary_currency_detail', 'hs_hr_currency_type'), ('def', 'orange_hrms_staging', 'hs_pr_salary_currency_detail_ibfk_2', 'def', 'orange_hrms_staging', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_pr_salary_currency_detail', 'hs_pr_salary_grade'), ('def', 'orangehrms_new', 'hs_hr_compstructtree_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'RESTRICT', 'hs_hr_compstructtree', 'hs_hr_location'), ('def', 'orangehrms_new', 'hs_hr_db_version_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_db_version', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_db_version_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_db_version', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_emp_attachment_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_attachment', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_pr_salary_grade'), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_hr_currency_type'), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary_ibfk_3', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary_ibfk_4', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_hr_payperiod'), ('def', 'orangehrms_new', 'hs_hr_emp_contract_extend_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_contract_extend', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_dependents_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_dependents', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_directdebit_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_directdebit', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_education_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_education', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_education_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_education', 'hs_hr_education'), ('def', 'orangehrms_new', 'hs_hr_emp_emergency_contacts_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_emergency_contacts', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_history_of_ealier_pos_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_history_of_ealier_pos', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_jobtitle_history_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_jobtitle_history', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_language_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_language', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_language_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_language', 'hs_hr_language'), ('def', 'orangehrms_new', 'hs_hr_emp_licenses_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_licenses', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_licenses_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_licenses', 'hs_hr_licenses'), ('def', 'orangehrms_new', 'hs_hr_emp_location_history_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_location_history', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_locations_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_locations', 'hs_hr_location'), ('def', 'orangehrms_new', 'hs_hr_emp_locations_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_locations', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_member_detail_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_member_detail', 'hs_hr_membership_type'), ('def', 'orangehrms_new', 'hs_hr_emp_member_detail_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_member_detail', 'hs_hr_membership'), ('def', 'orangehrms_new', 'hs_hr_emp_member_detail_ibfk_3', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_member_detail', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_passport_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_passport', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_picture_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_picture', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_reportto_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_reportto', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_reportto_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_reportto', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_skill_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_skill', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_skill_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_skill', 'hs_hr_skill'), ('def', 'orangehrms_new', 'hs_hr_emp_somu_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_somu', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_subdivision_history_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_subdivision_history', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_us_tax_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_us_tax', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emp_work_experience_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_work_experience', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_employee_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_compstructtree'), ('def', 'orangehrms_new', 'hs_hr_employee_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_ethnic_race'), ('def', 'orangehrms_new', 'hs_hr_employee_ibfk_4', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_job_title'), ('def', 'orangehrms_new', 'hs_hr_employee_ibfk_5', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_empstat'), ('def', 'orangehrms_new', 'hs_hr_employee_ibfk_6', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_employee', 'hs_hr_eec'), ('def', 'orangehrms_new', 'hs_hr_employee_leave_quota_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_leave_quota', 'hs_hr_leavetype'), ('def', 'orangehrms_new', 'hs_hr_employee_leave_quota_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_leave_quota', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_employee_timesheet_period_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_timesheet_period', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_employee_timesheet_period_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_timesheet_period', 'hs_hr_timesheet_submission_period'), ('def', 'orangehrms_new', 'hs_hr_employee_workshift_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_workshift', 'hs_hr_workshift'), ('def', 'orangehrms_new', 'hs_hr_employee_workshift_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_workshift', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_emprep_usergroup_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emprep_usergroup', 'hs_hr_user_group'), ('def', 'orangehrms_new', 'hs_hr_emprep_usergroup_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emprep_usergroup', 'hs_hr_empreport'), ('def', 'orangehrms_new', 'hs_hr_file_version_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_file_version', 'hs_hr_module'), ('def', 'orangehrms_new', 'hs_hr_file_version_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_file_version', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_file_version_ibfk_3', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_file_version', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_hsp_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_hsp', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_hsp_payment_request_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_hsp_payment_request', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_job_application_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_job_application', 'hs_hr_job_vacancy'), ('def', 'orangehrms_new', 'hs_hr_job_application_events_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_job_application_events', 'hs_hr_job_application'), ('def', 'orangehrms_new', 'hs_hr_job_application_events_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_application_events', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_job_application_events_ibfk_3', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_application_events', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_job_title_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_title', 'hs_pr_salary_grade'), ('def', 'orangehrms_new', 'hs_hr_job_title_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_title', 'hs_hr_job_spec'), ('def', 'orangehrms_new', 'hs_hr_job_vacancy_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_vacancy', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_job_vacancy_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_vacancy', 'hs_hr_job_title'), ('def', 'orangehrms_new', 'hs_hr_jobtit_empstat_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_jobtit_empstat', 'hs_hr_job_title'), ('def', 'orangehrms_new', 'hs_hr_jobtit_empstat_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_jobtit_empstat', 'hs_hr_empstat'), ('def', 'orangehrms_new', 'hs_hr_leave_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'CASCADE', 'CASCADE', 'hs_hr_leave', 'hs_hr_leave_requests'), ('def', 'orangehrms_new', 'hs_hr_leave_requests_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'CASCADE', 'CASCADE', 'hs_hr_leave_requests', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_leave_requests_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'CASCADE', 'CASCADE', 'hs_hr_leave_requests', 'hs_hr_leave_period'), ('def', 'orangehrms_new', 'hs_hr_leave_requests_ibfk_3', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'CASCADE', 'CASCADE', 'hs_hr_leave_requests', 'hs_hr_leavetype'), ('def', 'orangehrms_new', 'hs_hr_location_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_location', 'hs_hr_country'), ('def', 'orangehrms_new', 'hs_hr_mailnotifications_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_mailnotifications', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_membership_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_membership', 'hs_hr_membership_type'), ('def', 'orangehrms_new', 'hs_hr_module_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_module', 'hs_hr_versions'), ('def', 'orangehrms_new', 'hs_hr_project_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'RESTRICT', 'hs_hr_project', 'hs_hr_customer'), ('def', 'orangehrms_new', 'hs_hr_project_activity_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_project_activity', 'hs_hr_project'), ('def', 'orangehrms_new', 'hs_hr_project_admin_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_project_admin', 'hs_hr_project'), ('def', 'orangehrms_new', 'hs_hr_project_admin_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_project_admin', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_rights_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_rights', 'hs_hr_module'), ('def', 'orangehrms_new', 'hs_hr_rights_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_rights', 'hs_hr_user_group'), ('def', 'orangehrms_new', 'hs_hr_time_event_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_timesheet'), ('def', 'orangehrms_new', 'hs_hr_time_event_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_project_activity');
INSERT INTO `REFERENTIAL_CONSTRAINTS` (`CONSTRAINT_CATALOG`, `CONSTRAINT_SCHEMA`, `CONSTRAINT_NAME`, `UNIQUE_CONSTRAINT_CATALOG`, `UNIQUE_CONSTRAINT_SCHEMA`, `UNIQUE_CONSTRAINT_NAME`, `MATCH_OPTION`, `UPDATE_RULE`, `DELETE_RULE`, `TABLE_NAME`, `REFERENCED_TABLE_NAME`) VALUES ('def', 'orangehrms_new', 'hs_hr_time_event_ibfk_3', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_project'), ('def', 'orangehrms_new', 'hs_hr_time_event_ibfk_4', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_timesheet_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_timesheet', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_timesheet_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_timesheet', 'hs_hr_timesheet_submission_period'), ('def', 'orangehrms_new', 'hs_hr_users_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_users_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_users_ibfk_3', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'RESTRICT', 'hs_hr_users', 'hs_hr_user_group'), ('def', 'orangehrms_new', 'hs_hr_users_ibfk_4', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_employee'), ('def', 'orangehrms_new', 'hs_hr_versions_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_versions_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_users'), ('def', 'orangehrms_new', 'hs_hr_versions_ibfk_3', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_db_version'), ('def', 'orangehrms_new', 'hs_hr_versions_ibfk_4', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_file_version'), ('def', 'orangehrms_new', 'hs_pr_salary_currency_detail_ibfk_1', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_pr_salary_currency_detail', 'hs_hr_currency_type'), ('def', 'orangehrms_new', 'hs_pr_salary_currency_detail_ibfk_2', 'def', 'orangehrms_new', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_pr_salary_currency_detail', 'hs_pr_salary_grade'), ('def', 'orangehrmsnew', 'hs_hr_compstructtree_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'RESTRICT', 'hs_hr_compstructtree', 'hs_hr_location'), ('def', 'orangehrmsnew', 'hs_hr_db_version_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_db_version', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_db_version_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_db_version', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_emp_attachment_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_attachment', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_pr_salary_grade'), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_hr_currency_type'), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary_ibfk_3', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary_ibfk_4', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_basicsalary', 'hs_hr_payperiod'), ('def', 'orangehrmsnew', 'hs_hr_emp_children_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_children', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_contract_extend_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_contract_extend', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_dependents_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_dependents', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_directdebit_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_directdebit', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_education_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_education', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_education_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_education', 'hs_hr_education'), ('def', 'orangehrmsnew', 'hs_hr_emp_emergency_contacts_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_emergency_contacts', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_history_of_ealier_pos_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_history_of_ealier_pos', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_jobtitle_history_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_jobtitle_history', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_language_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_language', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_language_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_language', 'hs_hr_language'), ('def', 'orangehrmsnew', 'hs_hr_emp_licenses_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_licenses', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_licenses_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_licenses', 'hs_hr_licenses'), ('def', 'orangehrmsnew', 'hs_hr_emp_location_history_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_location_history', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_locations_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_locations', 'hs_hr_location'), ('def', 'orangehrmsnew', 'hs_hr_emp_locations_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_locations', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_member_detail_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_member_detail', 'hs_hr_membership_type'), ('def', 'orangehrmsnew', 'hs_hr_emp_member_detail_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_member_detail', 'hs_hr_membership'), ('def', 'orangehrmsnew', 'hs_hr_emp_member_detail_ibfk_3', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_member_detail', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_passport_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_passport', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_picture_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_picture', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_reportto_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_reportto', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_reportto_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_reportto', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_skill_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_skill', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_skill_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_skill', 'hs_hr_skill'), ('def', 'orangehrmsnew', 'hs_hr_emp_somu_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_somu', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_subdivision_history_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_subdivision_history', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emp_us_tax_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emp_us_tax', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_employee_timesheet_period_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_timesheet_period', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_employee_timesheet_period_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_timesheet_period', 'hs_hr_timesheet_submission_period'), ('def', 'orangehrmsnew', 'hs_hr_employee_workshift_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_workshift', 'hs_hr_workshift'), ('def', 'orangehrmsnew', 'hs_hr_employee_workshift_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_employee_workshift', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_emprep_usergroup_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emprep_usergroup', 'hs_hr_user_group'), ('def', 'orangehrmsnew', 'hs_hr_emprep_usergroup_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_emprep_usergroup', 'hs_hr_empreport'), ('def', 'orangehrmsnew', 'hs_hr_file_version_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_file_version', 'hs_hr_module'), ('def', 'orangehrmsnew', 'hs_hr_file_version_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_file_version', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_file_version_ibfk_3', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_file_version', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_hsp_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_hsp', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_hsp_payment_request_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_hsp_payment_request', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_job_application_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_job_application', 'hs_hr_job_vacancy'), ('def', 'orangehrmsnew', 'hs_hr_job_application_events_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_job_application_events', 'hs_hr_job_application'), ('def', 'orangehrmsnew', 'hs_hr_job_application_events_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_application_events', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_job_application_events_ibfk_3', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_application_events', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_job_title_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_title', 'hs_pr_salary_grade'), ('def', 'orangehrmsnew', 'hs_hr_job_title_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_title', 'hs_hr_job_spec'), ('def', 'orangehrmsnew', 'hs_hr_job_vacancy_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_vacancy', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_job_vacancy_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_job_vacancy', 'hs_hr_job_title'), ('def', 'orangehrmsnew', 'hs_hr_jobtit_empstat_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_jobtit_empstat', 'hs_hr_job_title'), ('def', 'orangehrmsnew', 'hs_hr_jobtit_empstat_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_jobtit_empstat', 'hs_hr_empstat'), ('def', 'orangehrmsnew', 'hs_hr_leave_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_leave', 'hs_hr_leave_requests'), ('def', 'orangehrmsnew', 'hs_hr_leave_requests_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_leave_requests', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_leave_requests_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_leave_requests', 'hs_hr_leave_period'), ('def', 'orangehrmsnew', 'hs_hr_leave_requests_ibfk_3', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_leave_requests', 'hs_hr_leavetype'), ('def', 'orangehrmsnew', 'hs_hr_location_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_location', 'hs_hr_country'), ('def', 'orangehrmsnew', 'hs_hr_mailnotifications_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_mailnotifications', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_membership_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_membership', 'hs_hr_membership_type'), ('def', 'orangehrmsnew', 'hs_hr_module_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_module', 'hs_hr_versions'), ('def', 'orangehrmsnew', 'hs_hr_project_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'RESTRICT', 'hs_hr_project', 'hs_hr_customer'), ('def', 'orangehrmsnew', 'hs_hr_project_activity_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_project_activity', 'hs_hr_project'), ('def', 'orangehrmsnew', 'hs_hr_project_admin_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_project_admin', 'hs_hr_project'), ('def', 'orangehrmsnew', 'hs_hr_project_admin_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_project_admin', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_rights_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_rights', 'hs_hr_module'), ('def', 'orangehrmsnew', 'hs_hr_rights_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_rights', 'hs_hr_user_group'), ('def', 'orangehrmsnew', 'hs_hr_time_event_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_timesheet'), ('def', 'orangehrmsnew', 'hs_hr_time_event_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_project_activity');
INSERT INTO `REFERENTIAL_CONSTRAINTS` (`CONSTRAINT_CATALOG`, `CONSTRAINT_SCHEMA`, `CONSTRAINT_NAME`, `UNIQUE_CONSTRAINT_CATALOG`, `UNIQUE_CONSTRAINT_SCHEMA`, `UNIQUE_CONSTRAINT_NAME`, `MATCH_OPTION`, `UPDATE_RULE`, `DELETE_RULE`, `TABLE_NAME`, `REFERENCED_TABLE_NAME`) VALUES ('def', 'orangehrmsnew', 'hs_hr_time_event_ibfk_3', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_project'), ('def', 'orangehrmsnew', 'hs_hr_time_event_ibfk_4', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_time_event', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_timesheet_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_timesheet', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_timesheet_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_timesheet', 'hs_hr_timesheet_submission_period'), ('def', 'orangehrmsnew', 'hs_hr_users_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_users_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_users_ibfk_3', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_user_group'), ('def', 'orangehrmsnew', 'hs_hr_users_ibfk_4', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'SET NULL', 'hs_hr_users', 'hs_hr_employee'), ('def', 'orangehrmsnew', 'hs_hr_versions_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_versions_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_users'), ('def', 'orangehrmsnew', 'hs_hr_versions_ibfk_3', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_db_version'), ('def', 'orangehrmsnew', 'hs_hr_versions_ibfk_4', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_hr_versions', 'hs_hr_file_version'), ('def', 'orangehrmsnew', 'hs_pr_salary_currency_detail_ibfk_1', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_pr_salary_currency_detail', 'hs_hr_currency_type'), ('def', 'orangehrmsnew', 'hs_pr_salary_currency_detail_ibfk_2', 'def', 'orangehrmsnew', 'PRIMARY', 'NONE', 'RESTRICT', 'CASCADE', 'hs_pr_salary_currency_detail', 'hs_pr_salary_grade');


# Dumping structure for table information_schema.ROUTINES
CREATE TEMPORARY TABLE IF NOT EXISTS `ROUTINES` (
  `SPECIFIC_NAME` varchar(64) NOT NULL DEFAULT '',
  `ROUTINE_CATALOG` varchar(512) NOT NULL DEFAULT '',
  `ROUTINE_SCHEMA` varchar(64) NOT NULL DEFAULT '',
  `ROUTINE_NAME` varchar(64) NOT NULL DEFAULT '',
  `ROUTINE_TYPE` varchar(9) NOT NULL DEFAULT '',
  `DATA_TYPE` varchar(64) NOT NULL DEFAULT '',
  `CHARACTER_MAXIMUM_LENGTH` int(21) DEFAULT NULL,
  `CHARACTER_OCTET_LENGTH` int(21) DEFAULT NULL,
  `NUMERIC_PRECISION` bigint(21) unsigned DEFAULT NULL,
  `NUMERIC_SCALE` int(21) DEFAULT NULL,
  `DATETIME_PRECISION` bigint(21) unsigned DEFAULT NULL,
  `CHARACTER_SET_NAME` varchar(64) DEFAULT NULL,
  `COLLATION_NAME` varchar(64) DEFAULT NULL,
  `DTD_IDENTIFIER` longtext,
  `ROUTINE_BODY` varchar(8) NOT NULL DEFAULT '',
  `ROUTINE_DEFINITION` longtext,
  `EXTERNAL_NAME` varchar(64) DEFAULT NULL,
  `EXTERNAL_LANGUAGE` varchar(64) DEFAULT NULL,
  `PARAMETER_STYLE` varchar(8) NOT NULL DEFAULT '',
  `IS_DETERMINISTIC` varchar(3) NOT NULL DEFAULT '',
  `SQL_DATA_ACCESS` varchar(64) NOT NULL DEFAULT '',
  `SQL_PATH` varchar(64) DEFAULT NULL,
  `SECURITY_TYPE` varchar(7) NOT NULL DEFAULT '',
  `CREATED` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `LAST_ALTERED` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `SQL_MODE` varchar(8192) NOT NULL DEFAULT '',
  `ROUTINE_COMMENT` longtext NOT NULL,
  `DEFINER` varchar(77) NOT NULL DEFAULT '',
  `CHARACTER_SET_CLIENT` varchar(32) NOT NULL DEFAULT '',
  `COLLATION_CONNECTION` varchar(32) NOT NULL DEFAULT '',
  `DATABASE_COLLATION` varchar(32) NOT NULL DEFAULT ''
) TYPE=MyISAM;

# Dumping data for table information_schema.ROUTINES: -1 rows
DELETE FROM `ROUTINES`;
INSERT INTO `ROUTINES` (`SPECIFIC_NAME`, `ROUTINE_CATALOG`, `ROUTINE_SCHEMA`, `ROUTINE_NAME`, `ROUTINE_TYPE`, `DATA_TYPE`, `CHARACTER_MAXIMUM_LENGTH`, `CHARACTER_OCTET_LENGTH`, `NUMERIC_PRECISION`, `NUMERIC_SCALE`, `DATETIME_PRECISION`, `CHARACTER_SET_NAME`, `COLLATION_NAME`, `DTD_IDENTIFIER`, `ROUTINE_BODY`, `ROUTINE_DEFINITION`, `EXTERNAL_NAME`, `EXTERNAL_LANGUAGE`, `PARAMETER_STYLE`, `IS_DETERMINISTIC`, `SQL_DATA_ACCESS`, `SQL_PATH`, `SECURITY_TYPE`, `CREATED`, `LAST_ALTERED`, `SQL_MODE`, `ROUTINE_COMMENT`, `DEFINER`, `CHARACTER_SET_CLIENT`, `COLLATION_CONNECTION`, `DATABASE_COLLATION`) VALUES ('monthwise', 'def', 'orange_hrms_staging', 'monthwise', 'PROCEDURE', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SQL', 'BEGIN\ndeclare startdate,enddate date;\ndeclare cnt1,leaveid bigint;\ndeclare cnt int;\ndeclare cur cursor\nfor\nSELECT DISTINCT\n  hhlp.leave_period_id\nFROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY;\nset cnt1=( SELECT DISTINCT\n    COUNT(hhlp.leave_period_id)\n  FROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY);\nset cnt=1;\ndrop temporary table if exists tmp;\ncreate temporary table tmp\n(\nLeave_Id bigint,\nLeave_on date,\nLeave_month int,\nFY varchar(11)\n);\nopen cur;\nfetch next from cur into leaveid;\nstartloop:loop\nif(cnt < cnt1)\nthen\nset startdate=( SELECT\n    hhlp.leave_period_start_date\n  FROM hs_hr_leave_period hhlp\n  WHERE hhlp.leave_period_id = leaveid);\nset enddate=( SELECT\n    hhlp.leave_period_end_date\n  FROM hs_hr_leave_period hhlp\n  WHERE hhlp.leave_period_id = leaveid);\nwhile startdate <= enddate\ndo\nif( dayofweek(startdate) <> 1 and dayofweek(startdate) <> 7 )\nthen\nINSERT INTO tmp\n  VALUES (leaveid, startdate, MONTH(startdate), FYY);\nEND IF;\nset startdate=date_add(startdate,interval 1 day);\nend while;\nelse \nleave startloop;\nend if;\nfetch next from cur into leaveid;\nset cnt=cnt+1;\nend loop;\nclose cur;\nSELECT\n Leave_Id,\nLeave_on,\nLeave_month,\nFY,\n  month(Leave_on)\nFROM tmp; \n\nEND', NULL, NULL, 'SQL', 'NO', 'CONTAINS SQL', NULL, 'DEFINER', '2019-08-13 22:55:54', '2017-12-19 17:48:32', 'MYSQL40,HIGH_NOT_PRECEDENCE', '', 'biec_admin@%', 'cp850', 'cp850_general_ci', 'utf8_general_ci'), ('monthwisetest', 'def', 'orange_hrms_staging', 'monthwisetest', 'PROCEDURE', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SQL', 'BEGIN\ndeclare startdate,enddate date;\ndeclare cnt1,leaveid bigint;\ndeclare cnt int;\ndeclare cur cursor\nfor\nSELECT DISTINCT\n  hhlp.leave_period_id\nFROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY;\nset cnt1=( SELECT DISTINCT\n    COUNT(hhlp.leave_period_id)\n  FROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY);\nset cnt=1;\ndrop temporary table if exists tmp;\ncreate temporary table tmp\n(\nLeave_Id bigint,\nLeave_on date,\nLeave_month int,\nFY varchar(11)\n);\nopen cur;\nfetch next from cur into leaveid;\nstartloop:loop\nif(cnt < cnt1)\nthen\nset startdate=( SELECT\n    hhlp.leave_period_start_date\n  FROM hs_hr_leave_period hhlp\n  WHERE hhlp.leave_period_id = leaveid);\nset enddate=( SELECT\n    hhlp.leave_period_end_date\n  FROM hs_hr_leave_period hhlp\n  WHERE hhlp.leave_period_id = leaveid);\nwhile startdate <= enddate\ndo\nif( dayofweek(startdate) <> 1 and dayofweek(startdate) <> 7 )\nthen\nINSERT INTO tmp\n  VALUES (leaveid, startdate, MONTH(startdate), FYY);\nEND IF;\nset startdate=date_add(startdate,interval 1 day);\nend while;\nelse \nleave startloop;\nend if;\nfetch next from cur into leaveid;\nset cnt=cnt+1;\nend loop;\nclose cur;\nDrop TEMPORARY table if exists tmpresult;\ncreate TEMPORARY table tmpresult\nSELECT distinct concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname)EMPNAME,\nt.Leave_Id,hhe.joined_date,hhjt.jobtit_name,\nmonthname(STR_TO_DATE(t.Leave_month,\'%m\'))Lave_MONTH,\nCOUNT(t.Leave_Id) NO_OF_Day,\nhhelq.leave_type_id LEAVETYPE,\nt.FY\nFROM tmp t\ninner join orangehrms.hs_hr_leave hhelq on t.Leave_Id=hhelq.leave_id\ninner join orangehrms.hs_hr_employee hhe on hhelq.employee_id=hhe.emp_number\ninner join orangehrms.hs_hr_job_title hhjt on hhe.job_title_code=hhjt.jobtit_code\ngroup by t.Leave_Id,Leave_month,hhelq.leave_type_id,t.FY; \n\nSELECT EMPNAME,joined_date,jobtit_name,Lave_MONTH,SUM(NO_OF_Day)NO_OF_Day,LEAVETYPE,FY from tmpresult tr  where tr.Lave_MONTH=leavemonth and tr.LEAVETYPE=leavetype\ngroup by EMPNAME,jobtit_name,Lave_MONTH,LEAVETYPE,FY\n ORDER BY tr.EMPNAME ;\n \nEND', NULL, NULL, 'SQL', 'NO', 'CONTAINS SQL', NULL, 'DEFINER', '2019-08-13 22:55:54', '2017-12-19 17:48:32', 'MYSQL40,HIGH_NOT_PRECEDENCE', '', 'biec_admin@%', 'cp850', 'cp850_general_ci', 'utf8_general_ci'), ('Month_wise_leave', 'def', 'orange_hrms_staging', 'Month_wise_leave', 'PROCEDURE', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SQL', 'begin\ndeclare startdate,enddate date;\ndeclare cnt1,leaveid bigint;\ndeclare cnt int;\ndeclare cur cursor\nfor\nselect distinct hhlp.leave_period_id from hs_hr_leave_period hhlp where hhlp.fy=FYY;\nset cnt1=(select distinct count(hhlp.leave_period_id) from hs_hr_leave_period hhlp where hhlp.fy=FYY);\nset cnt=1;\ndrop temporary table if exists tmp;\ncreate temporary table tmp\n(\nLeave_Id bigint,\nLeave_on date,\nLeave_month int,\nFY varchar(11)\n);\nopen cur;\nfetch next from cur into leaveid;\nstartloop:loop\nif(cnt < cnt1)\nthen\nset startdate=(select  hhlp.leave_period_start_date from hs_hr_leave_period hhlp where hhlp.leave_period_id=leaveid);\nset enddate=(select  hhlp.leave_period_end_date from hs_hr_leave_period hhlp where hhlp.leave_period_id=leaveid);\nwhile startdate <= enddate\ndo\nif( dayofweek(startdate) <> 1 and dayofweek(startdate) <> 7 )\nthen\ninsert into tmp values(leaveid,startdate,month(startdate),FYY);\nend if;\nset startdate=date_add(startdate,interval 1 day);\nend while;\nelse \nleave startloop;\nend if;\nfetch next from cur into leaveid;\nset cnt=cnt+1;\nend loop;\nclose cur;\ndrop temporary table if exists tmp2;\ncreate temporary table tmp2\nselect concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname)EMPNAME,hhe.joined_date,hhjt.jobtit_name,\nmonthname(STR_TO_DATE(t.Leave_month,\'%m\')) month,hhelq.no_of_days_allotted PreviousBalance,count(t.Leave_Id) No_Of_Days, (hhelq.no_of_days_allotted-count(t.Leave_Id)) ActualBalance from tmp t\ninner join orangehrms.hs_hr_employee_leave_quota hhelq \non t.Leave_Id=hhelq.leave_period_id\ninner join orangehrms.hs_hr_employee hhe\non hhelq.employee_id=hhe.emp_number\ninner join orangehrms.hs_hr_job_title hhjt\non hhe.job_title_code=hhjt.jobtit_code\n where t.Leave_on not in(SELECT distinct hhh.date  FROM orangehrms.hs_hr_holidays hhh)\nand  hhelq.leave_type_id=leavetype \ngroup by concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname),hhe.joined_date,hhjt.jobtit_name,\nt.Leave_month order by EMPNAME,hhelq.leave_type_id;\nselect * from tmp2 t2 where t2.month=monthname;\nend', NULL, NULL, 'SQL', 'NO', 'CONTAINS SQL', NULL, 'DEFINER', '2019-08-13 22:55:54', '2017-12-19 17:48:32', 'MYSQL40,HIGH_NOT_PRECEDENCE', '', 'biec_admin@%', 'cp850', 'cp850_general_ci', 'utf8_general_ci'), ('Month_Wise_Leave_New', 'def', 'orange_hrms_staging', 'Month_Wise_Leave_New', 'PROCEDURE', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SQL', 'BEGIN\ndeclare startdate,enddate date;\ndeclare cnt1,leaveid bigint;\ndeclare cnt int;\ndeclare cur cursor\nfor\nSELECT DISTINCT\n  hhlp.leave_period_id\nFROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY;\nset cnt1=( SELECT DISTINCT\n    COUNT(hhlp.leave_period_id)\n  FROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY);\nset cnt=1;\ndrop temporary table if exists tmp;\ncreate temporary table tmp\n(\nLeave_Id bigint,\nLeave_on date,\nLeave_month int,\nFY varchar(11)\n);\nopen cur;\nfetch next from cur into leaveid;\nstartloop:loop\nif(cnt < cnt1)\nthen\nset startdate=( SELECT\n    hhlp.leave_period_start_date\n  FROM hs_hr_leave_period hhlp\n  WHERE hhlp.leave_period_id = leaveid);\nset enddate=( SELECT\n    hhlp.leave_period_end_date\n  FROM hs_hr_leave_period hhlp\n  WHERE hhlp.leave_period_id = leaveid);\nwhile startdate <= enddate\ndo\nif( dayofweek(startdate) <> 1 and dayofweek(startdate) <> 7 )\nthen\nINSERT INTO tmp\n  VALUES (leaveid, startdate, MONTH(startdate), FYY);\nEND IF;\nset startdate=date_add(startdate,interval 1 day);\nend while;\nelse \nleave startloop;\nend if;\nfetch next from cur into leaveid;\nset cnt=cnt+1;\nend loop;\nclose cur;\nDrop TEMPORARY table if exists tmpresult;\ncreate TEMPORARY table tmpresult\nSELECT distinct concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname)EMPNAME,\nhhe.joined_date,hhjt.jobtit_name,\nmonthname(STR_TO_DATE(t.Leave_month,\'%m\'))Lave_MONTH,\nCOUNT(t.Leave_Id) NO_OF_Day,\nhhelq.leave_type_id LEAVETYPE,\nt.FY\nFROM tmp t\ninner join orangehrms.hs_hr_leave hhelq on t.Leave_Id=hhelq.leave_id\ninner join orangehrms.hs_hr_employee hhe on hhelq.employee_id=hhe.emp_number\ninner join orangehrms.hs_hr_job_title hhjt on hhe.job_title_code=hhjt.jobtit_code\nwhere monthname(STR_TO_DATE(t.Leave_month,\'%m\'))=leavemonth\ngroup by concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname),hhe.joined_date,hhjt.jobtit_name,Leave_month,hhelq.leave_type_id,t.FY; \n\ndrop TEMPORARY table if exists  t1;\ncreate TEMPORARY table t1\nSELECT DISTINCT EMPNAME,joined_date,jobtit_name,NO_OF_Day LTY002 from tmpresult tr  where tr.LEAVETYPE=\'LTY002\';\n\ndrop TEMPORARY table if exists  t2;\ncreate TEMPORARY table t2\nSELECT DISTINCT EMPNAME,joined_date,jobtit_name,NO_OF_Day LTY003 from tmpresult tr  where tr.LEAVETYPE=\'LTY003\';\n\ndrop TEMPORARY table if exists  t3;\ncreate TEMPORARY table t3\nSELECT DISTINCT EMPNAME,joined_date,jobtit_name,NO_OF_Day LTY006 from tmpresult tr  where tr.LEAVETYPE=\'LTY006\';\n\nselect DISTINCT tr.EMPNAME,tr.joined_date,tr.jobtit_name,tr.Lave_MONTH,tr.FY,t1.LTY002,t2.LTY003,t3.LTY006 from tmpresult tr\nLEFT  JOIN t1 ON  tr.EMPNAME=t1.EMPNAME and tr.joined_date=t1.joined_date and  tr.jobtit_name=t1.jobtit_name\nLEFT  JOIN  t2 ON  tr.EMPNAME=t2.EMPNAME and tr.joined_date=t2.joined_date and  tr.jobtit_name=t2.jobtit_name\nLEFT  JOIN t3 ON  tr.EMPNAME=t3.EMPNAME and tr.joined_date=t3.joined_date and  tr.jobtit_name=t3.jobtit_name\norder by tr.EMPNAME;\n\n \n \nEND', NULL, NULL, 'SQL', 'NO', 'CONTAINS SQL', NULL, 'DEFINER', '2019-08-13 22:55:54', '2017-12-19 17:48:32', 'MYSQL40,HIGH_NOT_PRECEDENCE', '', 'biec_admin@%', 'cp850', 'cp850_general_ci', 'utf8_general_ci'), ('monthwisetest', 'def', 'orangehrms_new', 'monthwisetest', 'PROCEDURE', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SQL', 'BEGIN\r\ndeclare startdate,enddate date;\r\ndeclare cnt1,leaveid bigint;\r\ndeclare cnt int;\r\ndeclare cur cursor\r\nfor\r\nSELECT DISTINCT\r\n  hhlp.leave_period_id\r\nFROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY;\r\nset cnt1=( SELECT DISTINCT\r\n    COUNT(hhlp.leave_period_id)\r\n  FROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY);\r\nset cnt=1;\r\ndrop temporary table if exists tmp;\r\ncreate temporary table tmp\r\n(\r\nLeave_Id bigint,\r\nLeave_on date,\r\nLeave_month int,\r\nFY varchar(11)\r\n);\r\nopen cur;\r\nfetch next from cur into leaveid;\r\nstartloop:loop\r\nif(cnt < cnt1)\r\nthen\r\nset startdate=( SELECT\r\n    hhlp.leave_period_start_date\r\n  FROM hs_hr_leave_period hhlp\r\n  WHERE hhlp.leave_period_id = leaveid);\r\nset enddate=( SELECT\r\n    hhlp.leave_period_end_date\r\n  FROM hs_hr_leave_period hhlp\r\n  WHERE hhlp.leave_period_id = leaveid);\r\nwhile startdate <= enddate\r\ndo\r\nif( dayofweek(startdate) <> 1 and dayofweek(startdate) <> 7 )\r\nthen\r\nINSERT INTO tmp\r\n  VALUES (leaveid, startdate, MONTH(startdate), FYY);\r\nEND IF;\r\nset startdate=date_add(startdate,interval 1 day);\r\nend while;\r\nelse \r\nleave startloop;\r\nend if;\r\nfetch next from cur into leaveid;\r\nset cnt=cnt+1;\r\nend loop;\r\nclose cur;\r\nDrop TEMPORARY table if exists tmpresult;\r\ncreate TEMPORARY table tmpresult\r\nSELECT distinct concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname)EMPNAME,\r\nt.Leave_Id,hhe.joined_date,hhjt.jobtit_name,\r\nmonthname(STR_TO_DATE(t.Leave_month,\'%m\'))Lave_MONTH,\r\nCOUNT(t.Leave_Id) NO_OF_Day,\r\nhhelq.leave_type_id LEAVETYPE,\r\nt.FY\r\nFROM tmp t\r\ninner join orangehrms.hs_hr_leave hhelq on t.Leave_Id=hhelq.leave_id\r\ninner join orangehrms.hs_hr_employee hhe on hhelq.employee_id=hhe.emp_number\r\ninner join orangehrms.hs_hr_job_title hhjt on hhe.job_title_code=hhjt.jobtit_code\r\ngroup by t.Leave_Id,Leave_month,hhelq.leave_type_id,t.FY; \r\n\r\nSELECT EMPNAME,joined_date,jobtit_name,Lave_MONTH,SUM(NO_OF_Day)NO_OF_Day,LEAVETYPE,FY from tmpresult tr  where tr.Lave_MONTH=leavemonth and tr.LEAVETYPE=leavetype\r\ngroup by EMPNAME,jobtit_name,Lave_MONTH,LEAVETYPE,FY\r\n ORDER BY tr.EMPNAME ;\r\n \r\nEND', NULL, NULL, 'SQL', 'NO', 'CONTAINS SQL', NULL, 'DEFINER', '2022-06-13 15:29:41', '2022-06-13 15:29:41', 'MYSQL40,HIGH_NOT_PRECEDENCE', '', 'anikethana@192.168.0.%', 'utf8', 'utf8_general_ci', 'utf8_general_ci'), ('Month_wise_leave', 'def', 'orangehrms_new', 'Month_wise_leave', 'PROCEDURE', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SQL', 'begin\r\ndeclare startdate,enddate date;\r\ndeclare cnt1,leaveid bigint;\r\ndeclare cnt int;\r\ndeclare cur cursor\r\nfor\r\nselect distinct hhlp.leave_period_id from hs_hr_leave_period hhlp where hhlp.fy=FYY;\r\nset cnt1=(select distinct count(hhlp.leave_period_id) from hs_hr_leave_period hhlp where hhlp.fy=FYY);\r\nset cnt=1;\r\ndrop temporary table if exists tmp;\r\ncreate temporary table tmp\r\n(\r\nLeave_Id bigint,\r\nLeave_on date,\r\nLeave_month int,\r\nFY varchar(11)\r\n);\r\nopen cur;\r\nfetch next from cur into leaveid;\r\nstartloop:loop\r\nif(cnt < cnt1)\r\nthen\r\nset startdate=(select  hhlp.leave_period_start_date from hs_hr_leave_period hhlp where hhlp.leave_period_id=leaveid);\r\nset enddate=(select  hhlp.leave_period_end_date from hs_hr_leave_period hhlp where hhlp.leave_period_id=leaveid);\r\nwhile startdate <= enddate\r\ndo\r\nif( dayofweek(startdate) <> 1 and dayofweek(startdate) <> 7 )\r\nthen\r\ninsert into tmp values(leaveid,startdate,month(startdate),FYY);\r\nend if;\r\nset startdate=date_add(startdate,interval 1 day);\r\nend while;\r\nelse \r\nleave startloop;\r\nend if;\r\nfetch next from cur into leaveid;\r\nset cnt=cnt+1;\r\nend loop;\r\nclose cur;\r\ndrop temporary table if exists tmp2;\r\ncreate temporary table tmp2\r\nselect concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname)EMPNAME,hhe.joined_date,hhjt.jobtit_name,\r\nmonthname(STR_TO_DATE(t.Leave_month,\'%m\')) month,hhelq.no_of_days_allotted PreviousBalance,count(t.Leave_Id) No_Of_Days, (hhelq.no_of_days_allotted-count(t.Leave_Id)) ActualBalance from tmp t\r\ninner join orangehrms.hs_hr_employee_leave_quota hhelq \r\non t.Leave_Id=hhelq.leave_period_id\r\ninner join orangehrms.hs_hr_employee hhe\r\non hhelq.employee_id=hhe.emp_number\r\ninner join orangehrms.hs_hr_job_title hhjt\r\non hhe.job_title_code=hhjt.jobtit_code\r\n where t.Leave_on not in(SELECT distinct hhh.date  FROM orangehrms.hs_hr_holidays hhh)\r\nand  hhelq.leave_type_id=leavetype \r\ngroup by concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname),hhe.joined_date,hhjt.jobtit_name,\r\nt.Leave_month order by EMPNAME,hhelq.leave_type_id;\r\nselect * from tmp2 t2 where t2.month=monthname;\r\nend', NULL, NULL, 'SQL', 'NO', 'CONTAINS SQL', NULL, 'DEFINER', '2022-06-13 15:29:41', '2022-06-13 15:29:41', 'MYSQL40,HIGH_NOT_PRECEDENCE', '', 'anikethana@192.168.0.%', 'utf8', 'utf8_general_ci', 'utf8_general_ci'), ('Month_Wise_Leave_New', 'def', 'orangehrms_new', 'Month_Wise_Leave_New', 'PROCEDURE', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'SQL', 'BEGIN\r\ndeclare startdate,enddate date;\r\ndeclare cnt1,leaveid bigint;\r\ndeclare cnt int;\r\ndeclare cur cursor\r\nfor\r\nSELECT DISTINCT\r\n  hhlp.leave_period_id\r\nFROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY;\r\nset cnt1=( SELECT DISTINCT\r\n    COUNT(hhlp.leave_period_id)\r\n  FROM hs_hr_leave_period hhlp WHERE hhlp.fy = FYY);\r\nset cnt=1;\r\ndrop temporary table if exists tmp;\r\ncreate temporary table tmp\r\n(\r\nLeave_Id bigint,\r\nLeave_on date,\r\nLeave_month int,\r\nFY varchar(11)\r\n);\r\nopen cur;\r\nfetch next from cur into leaveid;\r\nstartloop:loop\r\nif(cnt < cnt1)\r\nthen\r\nset startdate=( SELECT\r\n    hhlp.leave_period_start_date\r\n  FROM hs_hr_leave_period hhlp\r\n  WHERE hhlp.leave_period_id = leaveid);\r\nset enddate=( SELECT\r\n    hhlp.leave_period_end_date\r\n  FROM hs_hr_leave_period hhlp\r\n  WHERE hhlp.leave_period_id = leaveid);\r\nwhile startdate <= enddate\r\ndo\r\nif( dayofweek(startdate) <> 1 and dayofweek(startdate) <> 7 )\r\nthen\r\nINSERT INTO tmp\r\n  VALUES (leaveid, startdate, MONTH(startdate), FYY);\r\nEND IF;\r\nset startdate=date_add(startdate,interval 1 day);\r\nend while;\r\nelse \r\nleave startloop;\r\nend if;\r\nfetch next from cur into leaveid;\r\nset cnt=cnt+1;\r\nend loop;\r\nclose cur;\r\nDrop TEMPORARY table if exists tmpresult;\r\ncreate TEMPORARY table tmpresult\r\nSELECT distinct concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname)EMPNAME,\r\nhhe.joined_date,hhjt.jobtit_name,\r\nmonthname(STR_TO_DATE(t.Leave_month,\'%m\'))Lave_MONTH,\r\nCOUNT(t.Leave_Id) NO_OF_Day,\r\nhhelq.leave_type_id LEAVETYPE,\r\nt.FY\r\nFROM tmp t\r\ninner join orangehrms.hs_hr_leave hhelq on t.Leave_Id=hhelq.leave_id\r\ninner join orangehrms.hs_hr_employee hhe on hhelq.employee_id=hhe.emp_number\r\ninner join orangehrms.hs_hr_job_title hhjt on hhe.job_title_code=hhjt.jobtit_code\r\nwhere monthname(STR_TO_DATE(t.Leave_month,\'%m\'))=leavemonth\r\ngroup by concat(hhe.EMP_firstname,\' \',hhe.EMP_lastname),hhe.joined_date,hhjt.jobtit_name,Leave_month,hhelq.leave_type_id,t.FY; \r\n\r\ndrop TEMPORARY table if exists  t1;\r\ncreate TEMPORARY table t1\r\nSELECT DISTINCT EMPNAME,joined_date,jobtit_name,NO_OF_Day LTY002 from tmpresult tr  where tr.LEAVETYPE=\'LTY002\';\r\n\r\ndrop TEMPORARY table if exists  t2;\r\ncreate TEMPORARY table t2\r\nSELECT DISTINCT EMPNAME,joined_date,jobtit_name,NO_OF_Day LTY003 from tmpresult tr  where tr.LEAVETYPE=\'LTY003\';\r\n\r\ndrop TEMPORARY table if exists  t3;\r\ncreate TEMPORARY table t3\r\nSELECT DISTINCT EMPNAME,joined_date,jobtit_name,NO_OF_Day LTY006 from tmpresult tr  where tr.LEAVETYPE=\'LTY006\';\r\n\r\nselect DISTINCT tr.EMPNAME,tr.joined_date,tr.jobtit_name,tr.Lave_MONTH,tr.FY,t1.LTY002,t2.LTY003,t3.LTY006 from tmpresult tr\r\nLEFT  JOIN t1 ON  tr.EMPNAME=t1.EMPNAME and tr.joined_date=t1.joined_date and  tr.jobtit_name=t1.jobtit_name\r\nLEFT  JOIN  t2 ON  tr.EMPNAME=t2.EMPNAME and tr.joined_date=t2.joined_date and  tr.jobtit_name=t2.jobtit_name\r\nLEFT  JOIN t3 ON  tr.EMPNAME=t3.EMPNAME and tr.joined_date=t3.joined_date and  tr.jobtit_name=t3.jobtit_name\r\norder by tr.EMPNAME;\r\n\r\n \r\n \r\nEND', NULL, NULL, 'SQL', 'NO', 'CONTAINS SQL', NULL, 'DEFINER', '2022-06-13 15:29:41', '2022-06-13 15:29:41', 'MYSQL40,HIGH_NOT_PRECEDENCE', '', 'anikethana@192.168.0.%', 'utf8', 'utf8_general_ci', 'utf8_general_ci');


# Dumping structure for table information_schema.SCHEMATA
CREATE TEMPORARY TABLE IF NOT EXISTS `SCHEMATA` (
  `CATALOG_NAME` varchar(512) NOT NULL DEFAULT '',
  `SCHEMA_NAME` varchar(64) NOT NULL DEFAULT '',
  `DEFAULT_CHARACTER_SET_NAME` varchar(32) NOT NULL DEFAULT '',
  `DEFAULT_COLLATION_NAME` varchar(32) NOT NULL DEFAULT '',
  `SQL_PATH` varchar(512) DEFAULT NULL
) TYPE=MEMORY;

# Dumping data for table information_schema.SCHEMATA: -1 rows
DELETE FROM `SCHEMATA`;
INSERT INTO `SCHEMATA` (`CATALOG_NAME`, `SCHEMA_NAME`, `DEFAULT_CHARACTER_SET_NAME`, `DEFAULT_COLLATION_NAME`, `SQL_PATH`) VALUES ('def', 'information_schema', 'utf8', 'utf8_general_ci', NULL), ('def', 'biec_application', 'utf8', 'utf8_general_ci', NULL), ('def', 'biec_application_staging', 'utf8', 'utf8_general_ci', NULL), ('def', 'biec_billing', 'utf8', 'utf8_general_ci', NULL), ('def', 'biec_billing_staging', 'utf8', 'utf8_general_ci', NULL), ('def', 'biec_customers', 'utf8', 'utf8_general_ci', NULL), ('def', 'biec_customers_staging', 'utf8', 'utf8_general_ci', NULL), ('def', 'biec_dmtx', 'utf8', 'utf8_general_ci', NULL), ('def', 'biec_dmtx_staging', 'utf8', 'utf8_general_ci', NULL), ('def', 'biec_travel', 'utf8', 'utf8_general_ci', NULL), ('def', 'bms', 'utf8', 'utf8_general_ci', NULL), ('def', 'hrms_db', 'utf8', 'utf8_general_ci', NULL), ('def', 'imtma_budget_mgmt', 'utf8', 'utf8_general_ci', NULL), ('def', 'imtma_einvoice', 'utf8', 'utf8_general_ci', NULL), ('def', 'mysql', 'utf8', 'utf8_general_ci', NULL), ('def', 'orange_hrms_staging', 'utf8', 'utf8_general_ci', NULL), ('def', 'orangehrms_new', 'utf8', 'utf8_general_ci', NULL), ('def', 'orangehrmsnew', 'utf8', 'utf8_general_ci', NULL), ('def', 'performance_schema', 'utf8', 'utf8_general_ci', NULL), ('def', 'pms', 'utf8', 'utf8_general_ci', NULL), ('def', 'safedrive', 'utf8', 'utf8_general_ci', NULL), ('def', 'world', 'utf8', 'utf8_general_ci', NULL);


# Dumping structure for table information_schema.SCHEMA_PRIVILEGES
CREATE TEMPORARY TABLE IF NOT EXISTS `SCHEMA_PRIVILEGES` (
  `GRANTEE` varchar(81) NOT NULL DEFAULT '',
  `TABLE_CATALOG` varchar(512) NOT NULL DEFAULT '',
  `TABLE_SCHEMA` varchar(64) NOT NULL DEFAULT '',
  `PRIVILEGE_TYPE` varchar(64) NOT NULL DEFAULT '',
  `IS_GRANTABLE` varchar(3) NOT NULL DEFAULT ''
) TYPE=MEMORY;

# Dumping data for table information_schema.SCHEMA_PRIVILEGES: -1 rows
DELETE FROM `SCHEMA_PRIVILEGES`;
INSERT INTO `SCHEMA_PRIVILEGES` (`GRANTEE`, `TABLE_CATALOG`, `TABLE_SCHEMA`, `PRIVILEGE_TYPE`, `IS_GRANTABLE`) VALUES ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'SELECT', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'INSERT', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'UPDATE', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'DELETE', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'CREATE', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'DROP', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'REFERENCES', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'INDEX', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'ALTER', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'CREATE TEMPORARY TABLES', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'LOCK TABLES', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'EXECUTE', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'CREATE VIEW', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'SHOW VIEW', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'CREATE ROUTINE', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'ALTER ROUTINE', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'EVENT', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', 'db', 'TRIGGER', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'SELECT', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'INSERT', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'UPDATE', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'DELETE', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'CREATE', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'DROP', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'REFERENCES', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'INDEX', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'ALTER', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'CREATE TEMPORARY TABLES', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'LOCK TABLES', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'EXECUTE', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'CREATE VIEW', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'SHOW VIEW', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'CREATE ROUTINE', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'ALTER ROUTINE', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'EVENT', 'NO'), ('\'arjun\'@\'localhost\'', 'def', 'pms', 'TRIGGER', 'NO'), ('\'imtma_egst\'@\'45.35.13.149\'', 'def', 'imtma\\_einvoice', 'INSERT', 'NO'), ('\'imtma_egst\'@\'45.35.13.149\'', 'def', 'imtma\\_einvoice', 'UPDATE', 'NO'), ('\'imtma_egst\'@\'45.35.13.149\'', 'def', 'imtma\\_einvoice', 'CREATE', 'NO'), ('\'imtma_egst\'@\'45.35.13.149\'', 'def', 'imtma\\_einvoice', 'DROP', 'NO'), ('\'imtma_egst\'@\'45.35.13.149\'', 'def', 'imtma\\_einvoice', 'REFERENCES', 'NO'), ('\'imtma_egst\'@\'45.35.13.149\'', 'def', 'imtma\\_einvoice', 'INDEX', 'NO'), ('\'imtma_egst\'@\'45.35.13.149\'', 'def', 'imtma\\_einvoice', 'ALTER', 'NO'), ('\'imtma_egst\'@\'45.35.13.149\'', 'def', 'imtma\\_einvoice', 'CREATE TEMPORARY TABLES', 'NO'), ('\'imtma_egst\'@\'45.35.13.149\'', 'def', 'imtma\\_einvoice', 'LOCK TABLES', 'NO'), ('\'einvoicegst\'@\'122.176.61.248\'', 'def', 'imtma_einvoice', 'SELECT', 'NO'), ('\'einvoicegst\'@\'122.176.61.248\'', 'def', 'imtma_einvoice', 'INSERT', 'NO'), ('\'einvoicegst\'@\'122.176.61.248\'', 'def', 'imtma_einvoice', 'UPDATE', 'NO'), ('\'einvoicegst\'@\'45.35.13.149\'', 'def', 'imtma_einvoice', 'SELECT', 'NO'), ('\'einvoicegst\'@\'45.35.13.149\'', 'def', 'imtma_einvoice', 'INSERT', 'NO'), ('\'einvoicegst\'@\'45.35.13.149\'', 'def', 'imtma_einvoice', 'UPDATE', 'NO'), ('\'imtma_egst\'@\'43.247.156.83\'', 'def', 'imtma_einvoice', 'SELECT', 'NO'), ('\'imtma_egst\'@\'43.247.156.83\'', 'def', 'imtma_einvoice', 'INSERT', 'NO'), ('\'imtma_egst\'@\'43.247.156.83\'', 'def', 'imtma_einvoice', 'UPDATE', 'NO'), ('\'imtma_egst\'@\'43.247.156.83\'', 'def', 'imtma_einvoice', 'CREATE', 'NO'), ('\'imtma_egst\'@\'43.247.156.83\'', 'def', 'imtma_einvoice', 'ALTER', 'NO'), ('\'imtma_egst\'@\'43.247.156.83\'', 'def', 'imtma_einvoice', 'CREATE TEMPORARY TABLES', 'NO'), ('\'imtma_egst\'@\'43.247.156.83\'', 'def', 'imtma_einvoice', 'LOCK TABLES', 'NO'), ('\'imtma_egst\'@\'43.247.156.83\'', 'def', 'imtma_einvoice', 'CREATE VIEW', 'NO'), ('\'imtma_egst\'@\'43.247.156.83\'', 'def', 'imtma_einvoice', 'SHOW VIEW', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'SELECT', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'INSERT', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'UPDATE', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'CREATE', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'INDEX', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'ALTER', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'CREATE TEMPORARY TABLES', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'LOCK TABLES', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'CREATE VIEW', 'NO'), ('\'imtma_egst\'@\'108.181.171.149\'', 'def', 'imtma_einvoice', 'SHOW VIEW', 'NO'), ('\'root\'@\'172.20.77.200\'', 'def', '%', 'SELECT', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'SELECT', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'INSERT', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'UPDATE', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'DELETE', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'CREATE', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'DROP', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'REFERENCES', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'INDEX', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'ALTER', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'CREATE TEMPORARY TABLES', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'LOCK TABLES', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'CREATE VIEW', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'SHOW VIEW', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'CREATE ROUTINE', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'EVENT', 'NO'), ('\'\'@\'%\'', 'def', 'test', 'TRIGGER', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'SELECT', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'INSERT', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'UPDATE', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'DELETE', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'CREATE', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'DROP', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'REFERENCES', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'INDEX', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'ALTER', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'CREATE TEMPORARY TABLES', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'LOCK TABLES', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'CREATE VIEW', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'SHOW VIEW', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'CREATE ROUTINE', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'EVENT', 'NO'), ('\'\'@\'%\'', 'def', 'test\\_%', 'TRIGGER', 'NO'), ('\'power_bi\'@\'%\'', 'def', 'biec_application', 'SELECT', 'NO'), ('\'power_bi\'@\'%\'', 'def', 'biec_application', 'SHOW VIEW', 'NO'), ('\'power_bi\'@\'%\'', 'def', 'biec_dmtx', 'SELECT', 'NO'), ('\'power_bi\'@\'%\'', 'def', 'biec_dmtx', 'SHOW VIEW', 'NO'), ('\'power_bi\'@\'%\'', 'def', 'biec_billing', 'SELECT', 'NO'), ('\'power_bi\'@\'%\'', 'def', 'biec_billing', 'SHOW VIEW', 'NO'), ('\'biec_customers\'@\'%\'', 'def', 'biec_customers', 'SELECT', 'NO'), ('\'biec_customers\'@\'%\'', 'def', 'biec_customers', 'INSERT', 'NO'), ('\'biec_customers\'@\'%\'', 'def', 'biec_customers', 'UPDATE', 'NO'), ('\'biec_customers\'@\'%\'', 'def', 'biec_customers', 'DELETE', 'NO'), ('\'biec_billing\'@\'%\'', 'def', 'biec_billing', 'SELECT', 'NO'), ('\'biec_billing\'@\'%\'', 'def', 'biec_billing', 'INSERT', 'NO'), ('\'biec_billing\'@\'%\'', 'def', 'biec_billing', 'UPDATE', 'NO'), ('\'biec_billing\'@\'%\'', 'def', 'biec_billing', 'DELETE', 'NO'), ('\'biec_dmtx\'@\'%\'', 'def', 'biec_dmtx', 'SELECT', 'NO'), ('\'biec_dmtx\'@\'%\'', 'def', 'biec_dmtx', 'INSERT', 'NO'), ('\'biec_dmtx\'@\'%\'', 'def', 'biec_dmtx', 'UPDATE', 'NO'), ('\'biec_dmtx\'@\'%\'', 'def', 'biec_dmtx', 'DELETE', 'NO'), ('\'biec_application\'@\'%\'', 'def', 'biec_application', 'SELECT', 'NO'), ('\'biec_application\'@\'%\'', 'def', 'biec_application', 'INSERT', 'NO'), ('\'biec_application\'@\'%\'', 'def', 'biec_application', 'UPDATE', 'NO'), ('\'biec_application\'@\'%\'', 'def', 'biec_application', 'DELETE', 'NO'), ('\'remoteuser\'@\'%\'', 'def', '%', 'SELECT', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'INSERT', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'UPDATE', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'DELETE', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'CREATE', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'DROP', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'REFERENCES', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'INDEX', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'ALTER', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'CREATE TEMPORARY TABLES', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'LOCK TABLES', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'EXECUTE', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'CREATE VIEW', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'SHOW VIEW', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'CREATE ROUTINE', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'ALTER ROUTINE', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'EVENT', 'YES'), ('\'remoteuser\'@\'%\'', 'def', '%', 'TRIGGER', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'SELECT', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'INSERT', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'UPDATE', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'DELETE', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'CREATE', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'DROP', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'REFERENCES', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'INDEX', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'ALTER', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'CREATE TEMPORARY TABLES', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'LOCK TABLES', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'EXECUTE', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'CREATE VIEW', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'SHOW VIEW', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'CREATE ROUTINE', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'ALTER ROUTINE', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'EVENT', 'YES'), ('\'dbuser\'@\'%\'', 'def', '%', 'TRIGGER', 'YES'), ('\'\'@\'%\'', 'def', '%', 'SELECT', 'NO');


# Dumping structure for table information_schema.SESSION_STATUS
CREATE TEMPORARY TABLE IF NOT EXISTS `SESSION_STATUS` (
  `VARIABLE_NAME` varchar(64) NOT NULL DEFAULT '',
  `VARIABLE_VALUE` varchar(1024) DEFAULT NULL
) TYPE=MEMORY;

# Dumping data for table information_schema.SESSION_STATUS: -1 rows
DELETE FROM `SESSION_STATUS`;
INSERT INTO `SESSION_STATUS` (`VARIABLE_NAME`, `VARIABLE_VALUE`) VALUES ('ABORTED_CLIENTS', '191'), ('ABORTED_CONNECTS', '425'), ('BINLOG_CACHE_DISK_USE', '0'), ('BINLOG_CACHE_USE', '0'), ('BINLOG_STMT_CACHE_DISK_USE', '0'), ('BINLOG_STMT_CACHE_USE', '0'), ('BYTES_RECEIVED', '24858'), ('BYTES_SENT', '902794'), ('COM_ADMIN_COMMANDS', '310'), ('COM_ASSIGN_TO_KEYCACHE', '0'), ('COM_ALTER_DB', '0'), ('COM_ALTER_DB_UPGRADE', '0'), ('COM_ALTER_EVENT', '0'), ('COM_ALTER_FUNCTION', '0'), ('COM_ALTER_PROCEDURE', '0'), ('COM_ALTER_SERVER', '0'), ('COM_ALTER_TABLE', '0'), ('COM_ALTER_TABLESPACE', '0'), ('COM_ALTER_USER', '0'), ('COM_ANALYZE', '0'), ('COM_BEGIN', '0'), ('COM_BINLOG', '0'), ('COM_CALL_PROCEDURE', '0'), ('COM_CHANGE_DB', '1'), ('COM_CHANGE_MASTER', '0'), ('COM_CHECK', '0'), ('COM_CHECKSUM', '0'), ('COM_COMMIT', '0'), ('COM_CREATE_DB', '0'), ('COM_CREATE_EVENT', '0'), ('COM_CREATE_FUNCTION', '0'), ('COM_CREATE_INDEX', '0'), ('COM_CREATE_PROCEDURE', '0'), ('COM_CREATE_SERVER', '0'), ('COM_CREATE_TABLE', '0'), ('COM_CREATE_TRIGGER', '0'), ('COM_CREATE_UDF', '0'), ('COM_CREATE_USER', '0'), ('COM_CREATE_VIEW', '0'), ('COM_DEALLOC_SQL', '0'), ('COM_DELETE', '0'), ('COM_DELETE_MULTI', '0'), ('COM_DO', '0'), ('COM_DROP_DB', '0'), ('COM_DROP_EVENT', '0'), ('COM_DROP_FUNCTION', '0'), ('COM_DROP_INDEX', '0'), ('COM_DROP_PROCEDURE', '0'), ('COM_DROP_SERVER', '0'), ('COM_DROP_TABLE', '0'), ('COM_DROP_TRIGGER', '0'), ('COM_DROP_USER', '0'), ('COM_DROP_VIEW', '0'), ('COM_EMPTY_QUERY', '0'), ('COM_EXECUTE_SQL', '0'), ('COM_FLUSH', '0'), ('COM_GET_DIAGNOSTICS', '0'), ('COM_GRANT', '0'), ('COM_HA_CLOSE', '0'), ('COM_HA_OPEN', '0'), ('COM_HA_READ', '0'), ('COM_HELP', '0'), ('COM_INSERT', '0'), ('COM_INSERT_SELECT', '0'), ('COM_INSTALL_PLUGIN', '0'), ('COM_KILL', '0'), ('COM_LOAD', '0'), ('COM_LOCK_TABLES', '0'), ('COM_OPTIMIZE', '0'), ('COM_PRELOAD_KEYS', '0'), ('COM_PREPARE_SQL', '0'), ('COM_PURGE', '0'), ('COM_PURGE_BEFORE_DATE', '0'), ('COM_RELEASE_SAVEPOINT', '0'), ('COM_RENAME_TABLE', '0'), ('COM_RENAME_USER', '0'), ('COM_REPAIR', '0'), ('COM_REPLACE', '0'), ('COM_REPLACE_SELECT', '0'), ('COM_RESET', '0'), ('COM_RESIGNAL', '0'), ('COM_REVOKE', '0'), ('COM_REVOKE_ALL', '0'), ('COM_ROLLBACK', '0'), ('COM_ROLLBACK_TO_SAVEPOINT', '0'), ('COM_SAVEPOINT', '0'), ('COM_SELECT', '100'), ('COM_SET_OPTION', '1'), ('COM_SIGNAL', '0'), ('COM_SHOW_BINLOG_EVENTS', '0'), ('COM_SHOW_BINLOGS', '0'), ('COM_SHOW_CHARSETS', '1'), ('COM_SHOW_COLLATIONS', '1'), ('COM_SHOW_CREATE_DB', '50'), ('COM_SHOW_CREATE_EVENT', '0'), ('COM_SHOW_CREATE_FUNC', '0'), ('COM_SHOW_CREATE_PROC', '0'), ('COM_SHOW_CREATE_TABLE', '50'), ('COM_SHOW_CREATE_TRIGGER', '0'), ('COM_SHOW_DATABASES', '0'), ('COM_SHOW_ENGINE_LOGS', '0'), ('COM_SHOW_ENGINE_MUTEX', '0'), ('COM_SHOW_ENGINE_STATUS', '0'), ('COM_SHOW_EVENTS', '21'), ('COM_SHOW_ERRORS', '0'), ('COM_SHOW_FIELDS', '0'), ('COM_SHOW_FUNCTION_CODE', '0'), ('COM_SHOW_FUNCTION_STATUS', '21'), ('COM_SHOW_GRANTS', '0'), ('COM_SHOW_KEYS', '0'), ('COM_SHOW_MASTER_STATUS', '0'), ('COM_SHOW_OPEN_TABLES', '0'), ('COM_SHOW_PLUGINS', '0'), ('COM_SHOW_PRIVILEGES', '0'), ('COM_SHOW_PROCEDURE_CODE', '0'), ('COM_SHOW_PROCEDURE_STATUS', '21'), ('COM_SHOW_PROCESSLIST', '0'), ('COM_SHOW_PROFILE', '0'), ('COM_SHOW_PROFILES', '0'), ('COM_SHOW_RELAYLOG_EVENTS', '0'), ('COM_SHOW_SLAVE_HOSTS', '0'), ('COM_SHOW_SLAVE_STATUS', '0'), ('COM_SHOW_STATUS', '1'), ('COM_SHOW_STORAGE_ENGINES', '1'), ('COM_SHOW_TABLE_STATUS', '21'), ('COM_SHOW_TABLES', '0'), ('COM_SHOW_TRIGGERS', '21'), ('COM_SHOW_VARIABLES', '1');
INSERT INTO `SESSION_STATUS` (`VARIABLE_NAME`, `VARIABLE_VALUE`) VALUES ('COM_SHOW_WARNINGS', '0'), ('COM_SLAVE_START', '0'), ('COM_SLAVE_STOP', '0'), ('COM_STMT_CLOSE', '0'), ('COM_STMT_EXECUTE', '0'), ('COM_STMT_FETCH', '0'), ('COM_STMT_PREPARE', '0'), ('COM_STMT_REPREPARE', '0'), ('COM_STMT_RESET', '0'), ('COM_STMT_SEND_LONG_DATA', '0'), ('COM_TRUNCATE', '0'), ('COM_UNINSTALL_PLUGIN', '0'), ('COM_UNLOCK_TABLES', '0'), ('COM_UPDATE', '0'), ('COM_UPDATE_MULTI', '0'), ('COM_XA_COMMIT', '0'), ('COM_XA_END', '0'), ('COM_XA_PREPARE', '0'), ('COM_XA_RECOVER', '0'), ('COM_XA_ROLLBACK', '0'), ('COM_XA_START', '0'), ('COMPRESSION', 'ON'), ('CONNECTION_ERRORS_ACCEPT', '0'), ('CONNECTION_ERRORS_INTERNAL', '0'), ('CONNECTION_ERRORS_MAX_CONNECTIONS', '0'), ('CONNECTION_ERRORS_PEER_ADDRESS', '0'), ('CONNECTION_ERRORS_SELECT', '0'), ('CONNECTION_ERRORS_TCPWRAP', '0'), ('CONNECTIONS', '37200'), ('CREATED_TMP_DISK_TABLES', '162'), ('CREATED_TMP_FILES', '21'), ('CREATED_TMP_TABLES', '567'), ('DELAYED_ERRORS', '0'), ('DELAYED_INSERT_THREADS', '0'), ('DELAYED_WRITES', '0'), ('FLUSH_COMMANDS', '1'), ('HANDLER_COMMIT', '0'), ('HANDLER_DELETE', '0'), ('HANDLER_DISCOVER', '0'), ('HANDLER_EXTERNAL_LOCK', '130'), ('HANDLER_MRR_INIT', '0'), ('HANDLER_PREPARE', '0'), ('HANDLER_READ_FIRST', '44'), ('HANDLER_READ_KEY', '20'), ('HANDLER_READ_LAST', '0'), ('HANDLER_READ_NEXT', '308'), ('HANDLER_READ_PREV', '0'), ('HANDLER_READ_RND', '0'), ('HANDLER_READ_RND_NEXT', '54188'), ('HANDLER_ROLLBACK', '0'), ('HANDLER_SAVEPOINT', '0'), ('HANDLER_SAVEPOINT_ROLLBACK', '0'), ('HANDLER_UPDATE', '0'), ('HANDLER_WRITE', '54211'), ('INNODB_BUFFER_POOL_DUMP_STATUS', 'not started'), ('INNODB_BUFFER_POOL_LOAD_STATUS', 'not started'), ('INNODB_BUFFER_POOL_PAGES_DATA', '6155'), ('INNODB_BUFFER_POOL_BYTES_DATA', '100843520'), ('INNODB_BUFFER_POOL_PAGES_DIRTY', '0'), ('INNODB_BUFFER_POOL_BYTES_DIRTY', '0'), ('INNODB_BUFFER_POOL_PAGES_FLUSHED', '12671'), ('INNODB_BUFFER_POOL_PAGES_FREE', '1427'), ('INNODB_BUFFER_POOL_PAGES_MISC', '34'), ('INNODB_BUFFER_POOL_PAGES_TOTAL', '7616'), ('INNODB_BUFFER_POOL_READ_AHEAD_RND', '0'), ('INNODB_BUFFER_POOL_READ_AHEAD', '1333'), ('INNODB_BUFFER_POOL_READ_AHEAD_EVICTED', '0'), ('INNODB_BUFFER_POOL_READ_REQUESTS', '250589941'), ('INNODB_BUFFER_POOL_READS', '4716'), ('INNODB_BUFFER_POOL_WAIT_FREE', '0'), ('INNODB_BUFFER_POOL_WRITE_REQUESTS', '36409'), ('INNODB_DATA_FSYNCS', '18247'), ('INNODB_DATA_PENDING_FSYNCS', '0'), ('INNODB_DATA_PENDING_READS', '0'), ('INNODB_DATA_PENDING_WRITES', '0'), ('INNODB_DATA_READ', '101289984'), ('INNODB_DATA_READS', '6839'), ('INNODB_DATA_WRITES', '25223'), ('INNODB_DATA_WRITTEN', '426442752'), ('INNODB_DBLWR_PAGES_WRITTEN', '12671'), ('INNODB_DBLWR_WRITES', '2661'), ('INNODB_HAVE_ATOMIC_BUILTINS', 'ON'), ('INNODB_LOG_WAITS', '0'), ('INNODB_LOG_WRITE_REQUESTS', '17163'), ('INNODB_LOG_WRITES', '7221'), ('INNODB_OS_LOG_FSYNCS', '9880'), ('INNODB_OS_LOG_PENDING_FSYNCS', '0'), ('INNODB_OS_LOG_PENDING_WRITES', '0'), ('INNODB_OS_LOG_WRITTEN', '9882112'), ('INNODB_PAGE_SIZE', '16384'), ('INNODB_PAGES_CREATED', '107'), ('INNODB_PAGES_READ', '6048'), ('INNODB_PAGES_WRITTEN', '12671'), ('INNODB_ROW_LOCK_CURRENT_WAITS', '0'), ('INNODB_ROW_LOCK_TIME', '0'), ('INNODB_ROW_LOCK_TIME_AVG', '0'), ('INNODB_ROW_LOCK_TIME_MAX', '0'), ('INNODB_ROW_LOCK_WAITS', '0'), ('INNODB_ROWS_DELETED', '395'), ('INNODB_ROWS_INSERTED', '1014'), ('INNODB_ROWS_READ', '1322806455'), ('INNODB_ROWS_UPDATED', '5245'), ('INNODB_NUM_OPEN_FILES', '300'), ('INNODB_TRUNCATED_STATUS_WRITES', '0'), ('INNODB_AVAILABLE_UNDO_LOGS', '128'), ('KEY_BLOCKS_NOT_FLUSHED', '0'), ('KEY_BLOCKS_UNUSED', '6638'), ('KEY_BLOCKS_USED', '542'), ('KEY_READ_REQUESTS', '3565765'), ('KEY_READS', '533'), ('KEY_WRITE_REQUESTS', '4054'), ('KEY_WRITES', '128'), ('LAST_QUERY_COST', '10.499000'), ('LAST_QUERY_PARTIAL_PLANS', '1'), ('MAX_USED_CONNECTIONS', '16'), ('NOT_FLUSHED_DELAYED_ROWS', '0'), ('OPEN_FILES', '203'), ('OPEN_STREAMS', '0'), ('OPEN_TABLE_DEFINITIONS', '930'), ('OPEN_TABLES', '1008'), ('OPENED_FILES', '44871'), ('OPENED_TABLE_DEFINITIONS', '606'), ('OPENED_TABLES', '607'), ('PERFORMANCE_SCHEMA_ACCOUNTS_LOST', '0'), ('PERFORMANCE_SCHEMA_COND_CLASSES_LOST', '0'), ('PERFORMANCE_SCHEMA_COND_INSTANCES_LOST', '0'), ('PERFORMANCE_SCHEMA_DIGEST_LOST', '0'), ('PERFORMANCE_SCHEMA_FILE_CLASSES_LOST', '0');
INSERT INTO `SESSION_STATUS` (`VARIABLE_NAME`, `VARIABLE_VALUE`) VALUES ('PERFORMANCE_SCHEMA_FILE_HANDLES_LOST', '0'), ('PERFORMANCE_SCHEMA_FILE_INSTANCES_LOST', '0'), ('PERFORMANCE_SCHEMA_HOSTS_LOST', '0'), ('PERFORMANCE_SCHEMA_LOCKER_LOST', '0'), ('PERFORMANCE_SCHEMA_MUTEX_CLASSES_LOST', '0'), ('PERFORMANCE_SCHEMA_MUTEX_INSTANCES_LOST', '0'), ('PERFORMANCE_SCHEMA_RWLOCK_CLASSES_LOST', '0'), ('PERFORMANCE_SCHEMA_RWLOCK_INSTANCES_LOST', '0'), ('PERFORMANCE_SCHEMA_SESSION_CONNECT_ATTRS_LOST', '0'), ('PERFORMANCE_SCHEMA_SOCKET_CLASSES_LOST', '0'), ('PERFORMANCE_SCHEMA_SOCKET_INSTANCES_LOST', '0'), ('PERFORMANCE_SCHEMA_STAGE_CLASSES_LOST', '0'), ('PERFORMANCE_SCHEMA_STATEMENT_CLASSES_LOST', '0'), ('PERFORMANCE_SCHEMA_TABLE_HANDLES_LOST', '0'), ('PERFORMANCE_SCHEMA_TABLE_INSTANCES_LOST', '0'), ('PERFORMANCE_SCHEMA_THREAD_CLASSES_LOST', '0'), ('PERFORMANCE_SCHEMA_THREAD_INSTANCES_LOST', '0'), ('PERFORMANCE_SCHEMA_USERS_LOST', '0'), ('PREPARED_STMT_COUNT', '0'), ('QCACHE_FREE_BLOCKS', '0'), ('QCACHE_FREE_MEMORY', '0'), ('QCACHE_HITS', '0'), ('QCACHE_INSERTS', '0'), ('QCACHE_LOWMEM_PRUNES', '0'), ('QCACHE_NOT_CACHED', '0'), ('QCACHE_QUERIES_IN_CACHE', '0'), ('QCACHE_TOTAL_BLOCKS', '0'), ('QUERIES', '331683'), ('QUESTIONS', '312'), ('SELECT_FULL_JOIN', '0'), ('SELECT_FULL_RANGE_JOIN', '0'), ('SELECT_RANGE', '0'), ('SELECT_RANGE_CHECK', '0'), ('SELECT_SCAN', '159'), ('SLAVE_HEARTBEAT_PERIOD', ''), ('SLAVE_LAST_HEARTBEAT', ''), ('SLAVE_OPEN_TEMP_TABLES', '0'), ('SLAVE_RECEIVED_HEARTBEATS', ''), ('SLAVE_RETRIED_TRANSACTIONS', ''), ('SLAVE_RUNNING', 'OFF'), ('SLOW_LAUNCH_THREADS', '0'), ('SLOW_QUERIES', '0'), ('SORT_MERGE_PASSES', '0'), ('SORT_RANGE', '0'), ('SORT_ROWS', '0'), ('SORT_SCAN', '0'), ('SSL_ACCEPT_RENEGOTIATES', '0'), ('SSL_ACCEPTS', '0'), ('SSL_CALLBACK_CACHE_HITS', '0'), ('SSL_CIPHER', ''), ('SSL_CIPHER_LIST', ''), ('SSL_CLIENT_CONNECTS', '0'), ('SSL_CONNECT_RENEGOTIATES', '0'), ('SSL_CTX_VERIFY_DEPTH', '0'), ('SSL_CTX_VERIFY_MODE', '0'), ('SSL_DEFAULT_TIMEOUT', '0'), ('SSL_FINISHED_ACCEPTS', '0'), ('SSL_FINISHED_CONNECTS', '0'), ('SSL_SERVER_NOT_AFTER', ''), ('SSL_SERVER_NOT_BEFORE', ''), ('SSL_SESSION_CACHE_HITS', '0'), ('SSL_SESSION_CACHE_MISSES', '0'), ('SSL_SESSION_CACHE_MODE', 'NONE'), ('SSL_SESSION_CACHE_OVERFLOWS', '0'), ('SSL_SESSION_CACHE_SIZE', '0'), ('SSL_SESSION_CACHE_TIMEOUTS', '0'), ('SSL_SESSIONS_REUSED', '0'), ('SSL_USED_SESSION_CACHE_ENTRIES', '0'), ('SSL_VERIFY_DEPTH', '0'), ('SSL_VERIFY_MODE', '0'), ('SSL_VERSION', ''), ('TABLE_LOCKS_IMMEDIATE', '245616'), ('TABLE_LOCKS_WAITED', '0'), ('TABLE_OPEN_CACHE_HITS', '3969'), ('TABLE_OPEN_CACHE_MISSES', '607'), ('TABLE_OPEN_CACHE_OVERFLOWS', '0'), ('TC_LOG_MAX_PAGES_USED', '0'), ('TC_LOG_PAGE_SIZE', '0'), ('TC_LOG_PAGE_WAITS', '0'), ('THREADS_CACHED', '8'), ('THREADS_CONNECTED', '1'), ('THREADS_CREATED', '44'), ('THREADS_RUNNING', '1'), ('UPTIME', '1031756'), ('UPTIME_SINCE_FLUSH_STATUS', '1031756');


# Dumping structure for table information_schema.SESSION_VARIABLES
CREATE TEMPORARY TABLE IF NOT EXISTS `SESSION_VARIABLES` (
  `VARIABLE_NAME` varchar(64) NOT NULL DEFAULT '',
  `VARIABLE_VALUE` varchar(1024) DEFAULT NULL
) TYPE=MEMORY;

# Dumping data for table information_schema.SESSION_VARIABLES: -1 rows
DELETE FROM `SESSION_VARIABLES`;
INSERT INTO `SESSION_VARIABLES` (`VARIABLE_NAME`, `VARIABLE_VALUE`) VALUES ('MAX_PREPARED_STMT_COUNT', '16382'), ('MAX_SEEKS_FOR_KEY', '4294967295'), ('HAVE_CRYPT', 'NO'), ('INNODB_COMPRESSION_PAD_PCT_MAX', '50'), ('PERFORMANCE_SCHEMA_EVENTS_STATEMENTS_HISTORY_LONG_SIZE', '10000'), ('SLAVE_CHECKPOINT_PERIOD', '300'), ('TMP_TABLE_SIZE', '24117248'), ('INNODB_FLUSH_LOG_AT_TIMEOUT', '1'), ('PERFORMANCE_SCHEMA_MAX_SOCKET_INSTANCES', '420'), ('RPL_STOP_SLAVE_TIMEOUT', '31536000'), ('PERFORMANCE_SCHEMA', 'ON'), ('BULK_INSERT_BUFFER_SIZE', '8388608'), ('CHARACTER_SET_CONNECTION', 'utf8'), ('INNODB_CMP_PER_INDEX_ENABLED', 'OFF'), ('PERFORMANCE_SCHEMA_MAX_COND_INSTANCES', '3700'), ('INNODB_ONLINE_ALTER_LOG_MAX_SIZE', '134217728'), ('LOG_SLOW_ADMIN_STATEMENTS', 'OFF'), ('INNODB_STATS_TRANSIENT_SAMPLE_PAGES', '8'), ('PERFORMANCE_SCHEMA_MAX_MUTEX_INSTANCES', '16200'), ('SLOW_LAUNCH_TIME', '2'), ('PERFORMANCE_SCHEMA_MAX_COND_CLASSES', '80'), ('FT_MAX_WORD_LEN', '84'), ('PERFORMANCE_SCHEMA_MAX_THREAD_CLASSES', '50'), ('RELAY_LOG_INDEX', ''), ('FT_BOOLEAN_SYNTAX', '+ -><()~*:""&|'), ('GTID_OWNED', ''), ('PERFORMANCE_SCHEMA_MAX_RWLOCK_CLASSES', '30'), ('LONG_QUERY_TIME', '10.000000'), ('MAX_ERROR_COUNT', '64'), ('INNODB_FT_NUM_WORD_OPTIMIZE', '2000'), ('PERFORMANCE_SCHEMA_MAX_MUTEX_CLASSES', '200'), ('SLAVE_ROWS_SEARCH_ALGORITHMS', 'TABLE_SCAN,INDEX_SCAN'), ('EVENT_SCHEDULER', 'OFF'), ('OPTIMIZER_TRACE', 'enabled=off,one_line=off'), ('REPORT_HOST', ''), ('PERFORMANCE_SCHEMA_EVENTS_WAITS_HISTORY_SIZE', '10'), ('INNODB_SORT_BUFFER_SIZE', '1048576'), ('PERFORMANCE_SCHEMA_EVENTS_WAITS_HISTORY_LONG_SIZE', '10000'), ('INNODB_ROLLBACK_SEGMENTS', '128'), ('PERFORMANCE_SCHEMA_EVENTS_STAGES_HISTORY_SIZE', '10'), ('LARGE_FILES_SUPPORT', 'ON'), ('PERFORMANCE_SCHEMA_MAX_RWLOCK_INSTANCES', '9200'), ('ENFORCE_GTID_CONSISTENCY', 'OFF'), ('PERFORMANCE_SCHEMA_MAX_STAGE_CLASSES', '150'), ('NET_BUFFER_LENGTH', '16384'), ('AUTO_INCREMENT_OFFSET', '1'), ('SKIP_SHOW_DATABASE', 'OFF'), ('PERFORMANCE_SCHEMA_MAX_TABLE_HANDLES', '4000'), ('GROUP_CONCAT_MAX_LEN', '1024'), ('PERFORMANCE_SCHEMA_SETUP_OBJECTS_SIZE', '100'), ('RANGE_ALLOC_BLOCK_SIZE', '4096'), ('BINLOG_FORMAT', 'STATEMENT'), ('SSL_CAPATH', ''), ('BIND_ADDRESS', '*'), ('INNODB_LOG_FILE_SIZE', '50331648'), ('TRANSACTION_PREALLOC_SIZE', '4096'), ('LC_TIME_NAMES', 'en_US'), ('INNODB_API_BK_COMMIT_INTERVAL', '5'), ('PERFORMANCE_SCHEMA_SETUP_ACTORS_SIZE', '100'), ('LOG_BIN_INDEX', ''), ('MAX_USER_CONNECTIONS', '0'), ('LOW_PRIORITY_UPDATES', 'OFF'), ('PERFORMANCE_SCHEMA_MAX_SOCKET_CLASSES', '10'), ('REPORT_PASSWORD', ''), ('QUERY_CACHE_TYPE', 'OFF'), ('MAX_INSERT_DELAYED_THREADS', '20'), ('CHARACTER_SET_RESULTS', 'utf8'), ('SQL_BIG_SELECTS', 'ON'), ('BACK_LOG', '70'), ('TRANSACTION_ALLOC_BLOCK_SIZE', '8192'), ('RELAY_LOG_INFO_REPOSITORY', 'FILE'), ('INNODB_FLUSHING_AVG_LOOPS', '30'), ('EXPLICIT_DEFAULTS_FOR_TIMESTAMP', 'OFF'), ('SYNC_FRM', 'ON'), ('COMPLETION_TYPE', 'NO_CHAIN'), ('BINLOG_ROWS_QUERY_LOG_EVENTS', 'OFF'), ('PERFORMANCE_SCHEMA_EVENTS_STAGES_HISTORY_LONG_SIZE', '10000'), ('SYNC_RELAY_LOG', '10000'), ('KEEP_FILES_ON_CREATE', 'OFF'), ('INNODB_IO_CAPACITY_MAX', '2000'), ('OPTIMIZER_TRACE_LIMIT', '1'), ('INNODB_IO_CAPACITY', '200'), ('INSERT_ID', '0'), ('INNODB_FT_ENABLE_DIAG_PRINT', 'OFF'), ('MAX_RELAY_LOG_SIZE', '0'), ('HAVE_SYMLINK', 'YES'), ('AUTOMATIC_SP_PRIVILEGES', 'ON'), ('SHARED_MEMORY', 'OFF'), ('SHARED_MEMORY_BASE_NAME', 'MYSQL'), ('INNODB_TABLE_LOCKS', 'ON'), ('INNODB_AUTOEXTEND_INCREMENT', '1000'), ('PERFORMANCE_SCHEMA_DIGESTS_SIZE', '10000'), ('MYISAM_DATA_POINTER_SIZE', '6'), ('FT_QUERY_EXPANSION_LIMIT', '20'), ('INNODB_THREAD_SLEEP_DELAY', '0'), ('CONCURRENT_INSERT', 'AUTO'), ('SQL_AUTO_IS_NULL', 'OFF'), ('SLAVE_TRANSACTION_RETRIES', '10'), ('VERSION_COMMENT', 'MySQL Community Server (GPL)'), ('PERFORMANCE_SCHEMA_ACCOUNTS_SIZE', '100'), ('GENERAL_LOG', 'OFF'), ('END_MARKERS_IN_JSON', 'OFF'), ('INNODB_REPLICATION_DELAY', '0'), ('MASTER_INFO_REPOSITORY', 'FILE'), ('QUERY_CACHE_MIN_RES_UNIT', '4096'), ('LOG_QUERIES_NOT_USING_INDEXES', 'OFF'), ('SORT_BUFFER_SIZE', '262144'), ('INIT_SLAVE', ''), ('INNODB_ROLLBACK_ON_TIMEOUT', 'OFF'), ('LOG_WARNINGS', '1'), ('MAX_ALLOWED_PACKET', '4194304'), ('LC_MESSAGES_DIR', 'C:\\Program Files\\MySQL\\MySQL Server 5.6\\share\\'), ('INNODB_ADDITIONAL_MEM_POOL_SIZE', '3145728'), ('INIT_FILE', ''), ('READ_RND_BUFFER_SIZE', '262144'), ('LARGE_PAGES', 'OFF'), ('INNODB_FILE_FORMAT', 'Antelope'), ('LARGE_PAGE_SIZE', '0'), ('BIG_TABLES', 'OFF'), ('SOCKET', 'MySQL'), ('OPTIMIZER_SEARCH_DEPTH', '62'), ('MAX_BINLOG_SIZE', '1073741824'), ('RELAY_LOG_BASENAME', ''), ('INNODB_BUFFER_POOL_LOAD_ABORT', 'OFF'), ('READ_ONLY', 'OFF'), ('DELAY_KEY_WRITE', 'ON'), ('RAND_SEED1', '0'), ('WARNING_COUNT', '0');
INSERT INTO `SESSION_VARIABLES` (`VARIABLE_NAME`, `VARIABLE_VALUE`) VALUES ('INNODB_ADAPTIVE_MAX_SLEEP_DELAY', '150000'), ('JOIN_BUFFER_SIZE', '262144'), ('INNODB_LOG_FILES_IN_GROUP', '2'), ('DELAYED_QUEUE_SIZE', '1000'), ('BINLOG_DIRECT_NON_TRANSACTIONAL_UPDATES', 'OFF'), ('VERSION_COMPILE_MACHINE', 'x86'), ('INNODB_STRICT_MODE', 'OFF'), ('MYISAM_SORT_BUFFER_SIZE', '47185920'), ('INNODB_CONCURRENCY_TICKETS', '5000'), ('PERFORMANCE_SCHEMA_EVENTS_STATEMENTS_HISTORY_SIZE', '10'), ('SQL_LOG_BIN', 'ON'), ('CHARACTER_SET_FILESYSTEM', 'binary'), ('PERFORMANCE_SCHEMA_USERS_SIZE', '100'), ('MAX_CONNECTIONS', '200'), ('AUTO_INCREMENT_INCREMENT', '1'), ('KEY_CACHE_AGE_THRESHOLD', '300'), ('TMPDIR', 'C:\\Windows\\SERVIC~2\\NETWOR~1\\AppData\\Local\\Temp'), ('NET_RETRY_COUNT', '10'), ('SLAVE_PENDING_JOBS_SIZE_MAX', '16777216'), ('METADATA_LOCKS_HASH_INSTANCES', '8'), ('INNODB_BUFFER_POOL_SIZE', '124780544'), ('PSEUDO_THREAD_ID', '37199'), ('DISCONNECT_ON_EXPIRED_PASSWORD', 'ON'), ('MAX_LENGTH_FOR_SORT_DATA', '1024'), ('RELAY_LOG_INFO_FILE', 'relay-log.info'), ('PERFORMANCE_SCHEMA_MAX_STATEMENT_CLASSES', '168'), ('INNODB_AUTOINC_LOCK_MODE', '1'), ('LOG_ERROR', '.\\BACKUPSERVER.err'), ('CHARACTER_SETS_DIR', 'C:\\Program Files\\MySQL\\MySQL Server 5.6\\share\\charsets\\'), ('LOWER_CASE_TABLE_NAMES', '1'), ('QUERY_ALLOC_BLOCK_SIZE', '8192'), ('INNODB_BUFFER_POOL_FILENAME', 'ib_buffer_pool'), ('SLAVE_MAX_ALLOWED_PACKET', '1073741824'), ('INNODB_MAX_PURGE_LAG_DELAY', '0'), ('FLUSH', 'OFF'), ('INNODB_BUFFER_POOL_DUMP_NOW', 'OFF'), ('CHARACTER_SET_SERVER', 'utf8'), ('INNODB_SYNC_SPIN_LOOPS', '30'), ('DELAYED_INSERT_LIMIT', '100'), ('INNODB_FT_AUX_TABLE', ''), ('EQ_RANGE_INDEX_DIVE_LIMIT', '10'), ('TABLE_OPEN_CACHE', '2000'), ('BINLOG_STMT_CACHE_SIZE', '32768'), ('INNODB_ADAPTIVE_HASH_INDEX', 'ON'), ('DELAYED_INSERT_TIMEOUT', '300'), ('QUERY_PREALLOC_SIZE', '8192'), ('MAX_BINLOG_CACHE_SIZE', '18446744073709547520'), ('MAX_DELAYED_THREADS', '20'), ('PERFORMANCE_SCHEMA_MAX_FILE_CLASSES', '50'), ('INNODB_API_ENABLE_BINLOG', 'OFF'), ('MAX_SORT_LENGTH', '1024'), ('SSL_CRL', ''), ('OPTIMIZER_TRACE_FEATURES', 'greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on'), ('GTID_NEXT', 'AUTOMATIC'), ('OPTIMIZER_PRUNE_LEVEL', '1'), ('SQL_SLAVE_SKIP_COUNTER', '0'), ('OLD_PASSWORDS', '0'), ('GTID_EXECUTED', ''), ('NET_WRITE_TIMEOUT', '60'), ('INNODB_LOG_COMPRESSED_PAGES', 'ON'), ('BINLOG_ORDER_COMMITS', 'ON'), ('INNODB_DISABLE_SORT_FILE_CACHE', 'OFF'), ('TIMESTAMP', '1709986112.485000'), ('INNODB_FT_RESULT_CACHE_LIMIT', '2000000000'), ('QUERY_CACHE_LIMIT', '1048576'), ('HAVE_DYNAMIC_LOADING', 'YES'), ('INNODB_DATA_FILE_PATH', 'ibdata1:12M:autoextend'), ('SYNC_BINLOG', '0'), ('INNODB_FORCE_RECOVERY', '0'), ('INNODB_PRINT_ALL_DEADLOCKS', 'OFF'), ('MULTI_RANGE_COUNT', '256'), ('INNODB_FT_SERVER_STOPWORD_TABLE', ''), ('SQL_MODE', 'MYSQL40,HIGH_NOT_PRECEDENCE'), ('INNODB_FILE_FORMAT_CHECK', 'ON'), ('MAX_HEAP_TABLE_SIZE', '16777216'), ('INNODB_READ_AHEAD_THRESHOLD', '56'), ('SERVER_UUID', '0eafc8e3-0a3b-11e3-8592-3440b5887241'), ('INNODB_READ_ONLY', 'OFF'), ('INNODB_FLUSH_NEIGHBORS', '1'), ('KEY_BUFFER_SIZE', '8388608'), ('LOG_BIN', 'OFF'), ('INNODB_MONITOR_RESET_ALL', ''), ('PERFORMANCE_SCHEMA_MAX_THREAD_INSTANCES', '500'), ('INNODB_OPTIMIZE_FULLTEXT_ONLY', 'OFF'), ('SKIP_NAME_RESOLVE', 'OFF'), ('INNODB_STATS_METHOD', 'nulls_equal'), ('PID_FILE', 'C:\\ProgramData\\MySQL\\MySQL Server 5.6\\data\\Backupserver.pid'), ('INNODB_FAST_SHUTDOWN', '1'), ('READ_BUFFER_SIZE', '65536'), ('SSL_CA', ''), ('MIN_EXAMINED_ROW_LIMIT', '0'), ('INNODB_THREAD_CONCURRENCY', '9'), ('SERVER_ID_BITS', '32'), ('SLAVE_NET_TIMEOUT', '3600'), ('LOG_SLOW_SLAVE_STATEMENTS', 'OFF'), ('INNODB_STATS_SAMPLE_PAGES', '8'), ('TX_ISOLATION', 'REPEATABLE-READ'), ('SLAVE_ALLOW_BATCHING', 'OFF'), ('HAVE_RTREE_KEYS', 'YES'), ('INNODB_BUFFER_POOL_LOAD_NOW', 'OFF'), ('SSL_CIPHER', ''), ('INNODB_ADAPTIVE_FLUSHING_LWM', '10'), ('MAX_CONNECT_ERRORS', '10000'), ('BINLOG_CHECKSUM', 'CRC32'), ('QUERY_CACHE_WLOCK_INVALIDATE', 'OFF'), ('INNODB_PAGE_SIZE', '16384'), ('PROXY_USER', ''), ('PERFORMANCE_SCHEMA_MAX_FILE_HANDLES', '32768'), ('TIMED_MUTEXES', 'OFF'), ('INNODB_SYNC_ARRAY_SIZE', '1'), ('EXTERNAL_USER', ''), ('INNODB_API_TRX_LEVEL', '0'), ('FLUSH_TIME', '0'), ('DATETIME_FORMAT', '%Y-%m-%d %H:%i:%s'), ('TRANSACTION_ALLOW_BATCHING', 'OFF'), ('INNODB_FLUSH_LOG_AT_TRX_COMMIT', '1'), ('SKIP_NETWORKING', 'OFF'), ('TX_READ_ONLY', 'OFF'), ('TABLE_OPEN_CACHE_INSTANCES', '1'), ('INNODB_RANDOM_READ_AHEAD', 'OFF'), ('INIT_CONNECT', ''), ('INNODB_UNDO_LOGS', '128'), ('MASTER_VERIFY_CHECKSUM', 'OFF'), ('PORT', '3371'), ('AUTOCOMMIT', 'ON'), ('MAX_SP_RECURSION_DEPTH', '0'), ('NAMED_PIPE', 'OFF'), ('LOG_BIN_TRUST_FUNCTION_CREATORS', 'OFF');
INSERT INTO `SESSION_VARIABLES` (`VARIABLE_NAME`, `VARIABLE_VALUE`) VALUES ('LOG_BIN_USE_V1_ROW_EVENTS', 'OFF'), ('INNODB_MONITOR_DISABLE', ''), ('METADATA_LOCKS_CACHE_SIZE', '1024'), ('HAVE_OPENSSL', 'DISABLED'), ('LAST_INSERT_ID', '0'), ('MAX_BINLOG_STMT_CACHE_SIZE', '18446744073709547520'), ('HOSTNAME', 'Backupserver'), ('PERFORMANCE_SCHEMA_MAX_FILE_INSTANCES', '6770'), ('UNIQUE_CHECKS', 'ON'), ('INNODB_SPIN_WAIT_DELAY', '6'), ('DATE_FORMAT', '%Y-%m-%d'), ('INNODB_FILE_FORMAT_MAX', 'Antelope'), ('SQL_SAFE_UPDATES', 'OFF'), ('DEFAULT_STORAGE_ENGINE', 'InnoDB'), ('PROFILING', 'OFF'), ('INNODB_LOCK_WAIT_TIMEOUT', '50'), ('OPTIMIZER_TRACE_MAX_MEM_SIZE', '16384'), ('INNODB_OLD_BLOCKS_TIME', '1000'), ('BINLOG_CACHE_SIZE', '32768'), ('BINLOG_ROW_IMAGE', 'FULL'), ('INNODB_USE_SYS_MALLOC', 'ON'), ('OPTIMIZER_TRACE_OFFSET', '-1'), ('PERFORMANCE_SCHEMA_HOSTS_SIZE', '100'), ('INNODB_COMPRESSION_FAILURE_THRESHOLD_PCT', '5'), ('SECURE_FILE_PRIV', ''), ('QUERY_CACHE_SIZE', '0'), ('SLAVE_EXEC_MODE', 'STRICT'), ('CHARACTER_SET_DATABASE', 'utf8'), ('HAVE_PROFILING', 'YES'), ('SSL_KEY', ''), ('RELAY_LOG', ''), ('MYISAM_USE_MMAP', 'OFF'), ('PRELOAD_BUFFER_SIZE', '32768'), ('SLAVE_SKIP_ERRORS', 'OFF'), ('LOCAL_INFILE', 'ON'), ('SLAVE_PARALLEL_WORKERS', '0'), ('REPORT_USER', ''), ('RELAY_LOG_PURGE', 'ON'), ('HAVE_GEOMETRY', 'YES'), ('COLLATION_DATABASE', 'utf8_general_ci'), ('SLOW_QUERY_LOG', 'OFF'), ('INNODB_MONITOR_ENABLE', ''), ('CONNECT_TIMEOUT', '10'), ('INNODB_LOG_BUFFER_SIZE', '2097152'), ('HOST_CACHE_SIZE', '328'), ('DEFAULT_TMP_STORAGE_ENGINE', 'InnoDB'), ('INNODB_MAX_PURGE_LAG', '0'), ('EXPIRE_LOGS_DAYS', '0'), ('MYISAM_MAX_SORT_FILE_SIZE', '107374182400'), ('OPEN_FILES_LIMIT', '6258'), ('INNODB_LRU_SCAN_DEPTH', '1024'), ('REPORT_PORT', '3371'), ('SQL_NOTES', 'ON'), ('SLAVE_COMPRESSED_PROTOCOL', 'OFF'), ('INNODB_FORCE_LOAD_CORRUPTED', 'OFF'), ('PSEUDO_SLAVE_MODE', 'OFF'), ('CORE_FILE', 'OFF'), ('TIME_FORMAT', '%H:%i:%s'), ('LOG_THROTTLE_QUERIES_NOT_USING_INDEXES', '0'), ('SQL_QUOTE_SHOW_CREATE', 'ON'), ('HAVE_COMPRESS', 'YES'), ('HAVE_QUERY_CACHE', 'YES'), ('LC_MESSAGES', 'en_US'), ('KEY_CACHE_BLOCK_SIZE', '1024'), ('THREAD_CACHE_SIZE', '9'), ('VERSION_COMPILE_OS', 'Win32'), ('INNODB_DOUBLEWRITE', 'ON'), ('BINLOG_MAX_FLUSH_QUEUE_TIME', '0'), ('INNODB_STATS_PERSISTENT', 'ON'), ('SQL_WARNINGS', 'OFF'), ('DEFAULT_WEEK_FORMAT', '0'), ('RELAY_LOG_SPACE_LIMIT', '0'), ('INNODB_CHANGE_BUFFER_MAX_SIZE', '25'), ('MYISAM_RECOVER_OPTIONS', 'OFF'), ('PERFORMANCE_SCHEMA_MAX_TABLE_INSTANCES', '12500'), ('PLUGIN_DIR', 'C:\\Program Files\\MySQL\\MySQL Server 5.6\\lib\\plugin\\'), ('INNODB_USE_NATIVE_AIO', 'ON'), ('CHARACTER_SET_CLIENT', 'utf8'), ('GTID_PURGED', ''), ('GENERAL_LOG_FILE', 'BACKUPSERVER.log'), ('INNODB_UNDO_TABLESPACES', '0'), ('FT_MIN_WORD_LEN', '4'), ('RAND_SEED2', '0'), ('SLAVE_TYPE_CONVERSIONS', ''), ('COLLATION_SERVER', 'utf8_general_ci'), ('SLOW_QUERY_LOG_FILE', 'BACKUPSERVER-slow.log'), ('INNODB_FT_MIN_TOKEN_SIZE', '3'), ('INNODB_LARGE_PREFIX', 'OFF'), ('INNODB_FT_USER_STOPWORD_TABLE', ''), ('COLLATION_CONNECTION', 'utf8_general_ci'), ('SERVER_ID', '0'), ('SQL_LOG_OFF', 'OFF'), ('SQL_BUFFER_RESULT', 'OFF'), ('STORED_PROGRAM_CACHE', '256'), ('LOG_SLAVE_UPDATES', 'OFF'), ('MYISAM_STATS_METHOD', 'nulls_unequal'), ('SYNC_RELAY_LOG_INFO', '10000'), ('FT_STOPWORD_FILE', '(built-in)'), ('SSL_CERT', ''), ('SLAVE_SQL_VERIFY_CHECKSUM', 'ON'), ('INNODB_FT_ENABLE_STOPWORD', 'ON'), ('OLD', 'OFF'), ('INNODB_STATS_PERSISTENT_SAMPLE_PAGES', '20'), ('THREAD_HANDLING', 'one-thread-per-connection'), ('PERFORMANCE_SCHEMA_SESSION_CONNECT_ATTRS_SIZE', '512'), ('INNODB_API_DISABLE_ROWLOCK', 'OFF'), ('PROFILING_HISTORY_SIZE', '15'), ('INTERACTIVE_TIMEOUT', '28800'), ('INNODB_CHANGE_BUFFERING', 'all'), ('ERROR_COUNT', '0'), ('SLAVE_LOAD_TMPDIR', 'C:\\Windows\\SERVIC~2\\NETWOR~1\\AppData\\Local\\Temp'), ('SECURE_AUTH', 'ON'), ('WAIT_TIMEOUT', '28800'), ('MAX_WRITE_LOCK_COUNT', '4294967295'), ('LOWER_CASE_FILE_SYSTEM', 'ON'), ('SQL_SELECT_LIMIT', '18446744073709551615'), ('INNODB_FLUSH_METHOD', ''), ('SYSTEM_TIME_ZONE', 'India Standard Time'), ('MYISAM_MMAP_SIZE', '4294967295'), ('SSL_CRLPATH', ''), ('INNODB_CHECKSUMS', 'ON'), ('STORAGE_ENGINE', 'InnoDB'), ('INNODB_LOCKS_UNSAFE_FOR_BINLOG', 'OFF'), ('NET_READ_TIMEOUT', '30'), ('HAVE_SSL', 'DISABLED'), ('INNODB_PURGE_THREADS', '1'), ('IGNORE_DB_DIRS', ''), ('GTID_MODE', 'OFF');
INSERT INTO `SESSION_VARIABLES` (`VARIABLE_NAME`, `VARIABLE_VALUE`) VALUES ('INNODB_BUFFER_POOL_LOAD_AT_STARTUP', 'OFF'), ('INNODB_FT_CACHE_SIZE', '8000000'), ('VERSION', '5.6.13'), ('KEY_CACHE_DIVISION_LIMIT', '100'), ('OLD_ALTER_TABLE', 'OFF'), ('INNODB_BUFFER_POOL_DUMP_AT_SHUTDOWN', 'OFF'), ('INNODB_API_ENABLE_MDL', 'OFF'), ('SLAVE_CHECKPOINT_GROUP', '512'), ('MAX_JOIN_SIZE', '18446744073709551615'), ('LOG_BIN_BASENAME', ''), ('PROTOCOL_VERSION', '10'), ('INNODB_OPEN_FILES', '300'), ('MAX_TMP_TABLES', '32'), ('INNODB_MAX_DIRTY_PAGES_PCT_LWM', '0'), ('SYNC_MASTER_INFO', '10000'), ('NEW', 'OFF'), ('UPDATABLE_VIEWS_WITH_LIMIT', 'YES'), ('FOREIGN_KEY_CHECKS', 'ON'), ('INNODB_STATS_ON_METADATA', 'OFF'), ('INNODB_MONITOR_RESET', ''), ('LICENSE', 'GPL'), ('INNODB_STATS_AUTO_RECALC', 'ON'), ('LOCK_WAIT_TIMEOUT', '31536000'), ('INNODB_COMMIT_CONCURRENCY', '0'), ('INNODB_FT_SORT_PLL_DEGREE', '2'), ('INNODB_MIRRORED_LOG_GROUPS', '1'), ('BASEDIR', 'C:\\Program Files\\MySQL\\MySQL Server 5.6\\'), ('INNODB_PURGE_BATCH_SIZE', '300'), ('IDENTITY', '0'), ('THREAD_STACK', '196608'), ('SKIP_EXTERNAL_LOCKING', 'ON'), ('INNODB_SUPPORT_XA', 'ON'), ('IGNORE_BUILTIN_INNODB', 'OFF'), ('INNODB_LOG_GROUP_HOME_DIR', '.\\'), ('MYISAM_REPAIR_THREADS', '1'), ('INNODB_COMPRESSION_LEVEL', '6'), ('INNODB_OLD_BLOCKS_PCT', '37'), ('INNODB_ADAPTIVE_FLUSHING', 'ON'), ('LOG_OUTPUT', 'NONE'), ('INNODB_FILE_PER_TABLE', 'ON'), ('INNODB_MAX_DIRTY_PAGES_PCT', '75'), ('CHARACTER_SET_SYSTEM', 'utf8'), ('DIV_PRECISION_INCREMENT', '4'), ('INNODB_CHECKSUM_ALGORITHM', 'crc32'), ('DATADIR', 'C:\\ProgramData\\MySQL\\MySQL Server 5.6\\data\\'), ('INNODB_FT_MAX_TOKEN_SIZE', '84'), ('INNODB_DATA_HOME_DIR', ''), ('THREAD_CONCURRENCY', '10'), ('INNODB_READ_IO_THREADS', '4'), ('INNODB_FT_TOTAL_CACHE_SIZE', '640000000'), ('INNODB_WRITE_IO_THREADS', '4'), ('TABLE_DEFINITION_CACHE', '1400'), ('INNODB_BUFFER_POOL_INSTANCES', '8'), ('TIME_ZONE', 'SYSTEM'), ('INNODB_UNDO_DIRECTORY', '.'), ('RELAY_LOG_RECOVERY', 'OFF'), ('OPTIMIZER_SWITCH', 'index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=on,index_condition_pushdown=on,mrr=on,mrr_cost_based=on,block_nested_loop=on,batched_key_access=off,materialization=on,semijoin=on,loosescan=on,firstmatch=on,subquery_materialization_cost_based=on,use_index_extensions=on'), ('INNODB_VERSION', '5.6.13');


# Dumping structure for table information_schema.STATISTICS
CREATE TEMPORARY TABLE IF NOT EXISTS `STATISTICS` (
  `TABLE_CATALOG` varchar(512) NOT NULL DEFAULT '',
  `TABLE_SCHEMA` varchar(64) NOT NULL DEFAULT '',
  `TABLE_NAME` varchar(64) NOT NULL DEFAULT '',
  `NON_UNIQUE` bigint(1) NOT NULL DEFAULT '0',
  `INDEX_SCHEMA` varchar(64) NOT NULL DEFAULT '',
  `INDEX_NAME` varchar(64) NOT NULL DEFAULT '',
  `SEQ_IN_INDEX` bigint(2) NOT NULL DEFAULT '0',
  `COLUMN_NAME` varchar(64) NOT NULL DEFAULT '',
  `COLLATION` varchar(1) DEFAULT NULL,
  `CARDINALITY` bigint(21) DEFAULT NULL,
  `SUB_PART` bigint(3) DEFAULT NULL,
  `PACKED` varchar(10) DEFAULT NULL,
  `NULLABLE` varchar(3) NOT NULL DEFAULT '',
  `INDEX_TYPE` varchar(16) NOT NULL DEFAULT '',
  `COMMENT` varchar(16) DEFAULT NULL,
  `INDEX_COMMENT` varchar(1024) NOT NULL DEFAULT ''
) TYPE=MEMORY;

# Dumping data for table information_schema.STATISTICS: -1 rows
DELETE FROM `STATISTICS`;
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'biec_application', 'biec_catalogue_rate_entry', 0, 'biec_application', 'PRIMARY', 1, 'catalogue_id', 'A', 119, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_compaints_user_sessions', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 17, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_complaints_roles', 0, 'biec_application', 'PRIMARY', 1, 'role_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_complaints_users', 0, 'biec_application', 'PRIMARY', 1, 'user_id', 'A', 21, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_currency_master', 0, 'biec_application', 'PRIMARY', 1, 'currency_id', 'A', 1194, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_email_message', 0, 'biec_application', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_event_catalogue_details', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 143, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_event_catalogue_entry', 0, 'biec_application', 'PRIMARY', 1, 'catalogue_id', 'A', 131, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_event_catalogue_payment_entry', 0, 'biec_application', 'PRIMARY', 1, 'catalogue_payment_id', 'A', 252, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_event_rate_entry', 0, 'biec_application', 'PRIMARY', 1, 'rate_id', 'A', 25, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_event_settings', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_events', 0, 'biec_application', 'PRIMARY', 1, 'event_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition', 0, 'biec_application', 'PRIMARY', 1, 'exhibition_id', 'A', 29, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_catalogue', 0, 'biec_application', 'PRIMARY', 1, 'exhibition_catalogue_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_catalogue_details', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 1017, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_catalogue_payment_entry', 0, 'biec_application', 'PRIMARY', 1, 'catalogue_payment_id', 'A', 493, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_charges', 0, 'biec_application', 'PRIMARY', 1, 'charges_id', 'A', 66, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_charges', 0, 'biec_application', 'exhibition_id', 1, 'exhibition_id', 'A', 66, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_charges', 0, 'biec_application', 'exhibition_id', 2, 'type', 'A', 66, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_conversion_rate', 0, 'biec_application', 'PRIMARY', 1, 'conversion_rate_id', 'A', 20, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_description', 0, 'biec_application', 'PRIMARY', 1, 'description_id', 'A', 24, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_logo', 0, 'biec_application', 'PRIMARY', 1, 'logo_id', 'A', 20, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_misc_entries', 0, 'biec_application', 'PRIMARY', 1, 'misc_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_space_rent', 0, 'biec_application', 'PRIMARY', 1, 'space_rent_id', 'A', 25, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_sponsorship_data_entry', 0, 'biec_application', 'PRIMARY', 1, 'sponsorship_data_id', 'A', 105, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_sponsorship_details', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 232, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_sponsorship_payment_entry', 0, 'biec_application', 'PRIMARY', 1, 'sponsorship_payment_id', 'A', 169, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_sponsorship_rate_entry', 0, 'biec_application', 'PRIMARY', 1, 'sponsorship_id', 'A', 271, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_starting_no', 0, 'biec_application', 'PRIMARY', 1, 'starting_no_id', 'A', 21, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_workshop_details', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 170, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibition_workshop_payment_entry', 0, 'biec_application', 'PRIMARY', 1, 'workshop_payment_id', 'A', 123, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor', 0, 'biec_application', 'PRIMARY', 1, 'exhibitor_id', 'A', 9243, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor_billing_address', 0, 'biec_application', 'PRIMARY', 1, 'exhibitor_billing_id', 'A', 7923, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor_misc_payment_data', 0, 'biec_application', 'PRIMARY', 1, 'misc_payment_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor_old', 0, 'biec_application', 'PRIMARY', 1, 'exhibitor_id', 'A', 3518, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor_payment', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 23963, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor_payment_schedule', 0, 'biec_application', 'PRIMARY', 1, 'payment_schedule_id', 'A', 2325, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor_product', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 25053, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor_product_index_category', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 92, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor_product_index_sub_category', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 1106, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitor_refund', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 1857, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exhibitors_entry', 0, 'biec_application', 'PRIMARY', 1, 'exhibitors_entry_id', 'A', 1041, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exibition_catalouge_data_entry', 0, 'biec_application', 'PRIMARY', 1, 'exhibition_catalogue_id', 'A', 812, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exibition_workshop_data_entry', 0, 'biec_application', 'PRIMARY', 1, 'exhibition_workshop_id', 'A', 121, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_exibitor_allocation', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 6055, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_financial_invoice', 0, 'biec_application', 'PRIMARY', 1, 'ID', 'A', 32, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_firms', 0, 'biec_application', 'PRIMARY', 1, 'firm_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_indian_states', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_indirect_exhibitor_product', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_bank_name', 0, 'biec_application', 'PRIMARY', 1, 'bank_id', 'A', 153, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_countries', 0, 'biec_application', 'PRIMARY', 1, 'idCountry', 'A', 250, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_country', 1, 'biec_application', 'idx_country_code', 1, 'country_code', 'A', 252, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_halls', 0, 'biec_application', 'PRIMARY', 1, 'hall_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_mem_category', 0, 'biec_application', 'PRIMARY', 1, 'mem_cat_id', 'A', 18, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_prod_category', 0, 'biec_application', 'PRIMARY', 1, 'product_category_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_products', 0, 'biec_application', 'PRIMARY', 1, 'product_id', 'A', 38, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_signature_logo', 0, 'biec_application', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_state_list', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 35, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_status', 0, 'biec_application', 'PRIMARY', 1, 'status_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_master_tax', 0, 'biec_application', 'PRIMARY', 1, 'tax_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_member_directory_invoice', 0, 'biec_application', 'PRIMARY', 1, 'invoiceID', 'A', 377, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_member_directory_payment', 0, 'biec_application', 'PRIMARY', 1, 'paymentID', 'A', 368, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_member_subscription', 0, 'biec_application', 'PRIMARY', 1, 'SUBSCRIPTION_ID', 'A', 12073, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members', 0, 'biec_application', 'PRIMARY', 1, 'member_id', 'A', 607, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_activity', 0, 'biec_application', 'PRIMARY', 1, 'activity_id', 'A', 732, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_address', 0, 'biec_application', 'PRIMARY', 1, 'address_id', 'A', 1516, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_arrear_breakup', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 884, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_collaboration', 0, 'biec_application', 'PRIMARY', 1, 'collaboration_id', 'A', 63, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_department', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_department_activity', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 72, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_documents', 0, 'biec_application', 'PRIMARY', 1, 'document_id', 'A', 2492, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_executive_council', 0, 'biec_application', 'PRIMARY', 1, 'council_id', 'A', 1, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_foreign_collaboration', 0, 'biec_application', 'PRIMARY', 1, 'collaboration_id', 'A', 15, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'biec_application', 'biec_members_imtma_activities', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 3744, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_imtma_activities_backup', 0, 'biec_application', 'PRIMARY', 1, 'imtma_activity_id', 'A', 1361, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_imtma_secretariat_visit_list', 0, 'biec_application', 'PRIMARY', 1, 'imtma_visit_id', 'A', 62, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_information_directory', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 886, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_information_directory_address', 0, 'biec_application', 'PRIMARY', 1, 'address_id', 'A', 1864, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_invoice', 0, 'biec_application', 'PRIMARY', 1, 'INVOICE_ID', 'A', 4877, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_invoice_arrears', 0, 'biec_application', 'PRIMARY', 1, 'arrear_id', 'A', 912, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_production_data', 0, 'biec_application', 'PRIMARY', 1, 'production_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_proposer_entries', 0, 'biec_application', 'PRIMARY', 1, 'proposer_id', 'A', 573, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_members_ref_documents', 0, 'biec_application', 'PRIMARY', 1, 'document_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_misc_exhibitor_refund', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_miscellaneous_data_details', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 333, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_miscellaneous_data_entry', 0, 'biec_application', 'PRIMARY', 1, 'data_id', 'A', 259, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_miscellaneous_payment_entry', 0, 'biec_application', 'PRIMARY', 1, 'miscellaneous_payment_id', 'A', 206, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_miscellaneous_rate_entry', 0, 'biec_application', 'PRIMARY', 1, 'miscellaneous_id', 'A', 220, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_mmi_magazine_catalogue_details', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 748, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_mmi_magazine_catalogue_entry', 0, 'biec_application', 'PRIMARY', 1, 'magazine_catalogue_id', 'A', 485, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_mmi_magazine_catalogue_payment_entry', 0, 'biec_application', 'PRIMARY', 1, 'catalogue_payment_id', 'A', 593, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_mmi_magazines', 0, 'biec_application', 'PRIMARY', 1, 'magazine_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_mmi_magazines_settings', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_mmi_rate_entry', 0, 'biec_application', 'PRIMARY', 1, 'rate_id', 'A', 111, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_roles', 0, 'biec_application', 'PRIMARY', 1, 'role_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_secretariat_visitors', 0, 'biec_application', 'PRIMARY', 1, 'visitor_id', 'A', 31, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_secretariat_visitors_target', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 31, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_secretariat_visitors_target', 0, 'biec_application', 'visitor_id', 1, 'visitor_id', 'A', 31, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_secretariat_visitors_target', 0, 'biec_application', 'visitor_id', 2, 'financial_year', 'A', 31, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_user_sessions', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 7223, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_users', 0, 'biec_application', 'PRIMARY', 1, 'user_id', 'A', 19, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'biec_workshop_rate_entry', 0, 'biec_application', 'PRIMARY', 1, 'workshop_id', 'A', 19, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'complaint_attachements', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'complaint_categories', 0, 'biec_application', 'PRIMARY', 1, 'complaint_cat_id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'email_processing', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 106, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'email_templates', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'exhibition_complaints', 0, 'biec_application', 'PRIMARY', 1, 'complaint_id', 'A', 21, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_category', 0, 'biec_application', 'PRIMARY', 1, 'category_id', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_coupon_admin', 0, 'biec_application', 'PRIMARY', 1, 'admin_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_coupon_admin', 1, 'biec_application', 'admin_id', 1, 'admin_id', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_coupon_transact', 0, 'biec_application', 'PRIMARY', 1, 'transaction_id', 'A', 159, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_coupon_transact_27nov2k19', 0, 'biec_application', 'PRIMARY', 1, 'transaction_id', 'A', 101, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_login_log', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 119, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_users', 0, 'biec_application', 'PRIMARY', 1, 'membership_auto_id', 'A', 509, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_users', 0, 'biec_application', 'membership_no', 1, 'membership_no', 'A', 509, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_users_sept17', 0, 'biec_application', 'PRIMARY', 1, 'membership_auto_id', 'A', 465, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'imtma_users_sept17', 0, 'biec_application', 'membership_no', 1, 'membership_no', 'A', 465, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'master_complaint_module_items', 0, 'biec_application', 'PRIMARY', 1, 'item_id', 'A', 25, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'master_complaint_modules', 0, 'biec_application', 'PRIMARY', 1, 'module_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'master_halls', 0, 'biec_application', 'PRIMARY', 1, 'hall_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'master_module_items', 0, 'biec_application', 'PRIMARY', 1, 'item_id', 'A', 117, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'master_modules', 0, 'biec_application', 'PRIMARY', 1, 'module_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'master_states', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 35, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'reg_office_address', 0, 'biec_application', 'PRIMARY', 1, 'roa_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'temp_exhibitor_19_07_2016', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 34, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'temp_final_invoice_process', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 1, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'temp_payment_process', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 250, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'temp_repush_payment_receipt', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 68, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'testtable', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 475, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application', 'xxx_update_member_category', 0, 'biec_application', 'PRIMARY', 1, 'id', 'A', 21, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_catalogue_rate_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'catalogue_id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_compaints_user_sessions', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 19, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_complaints_roles', 0, 'biec_application_staging', 'PRIMARY', 1, 'role_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_complaints_users', 0, 'biec_application_staging', 'PRIMARY', 1, 'user_id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_currency_master', 0, 'biec_application_staging', 'PRIMARY', 1, 'currency_id', 'A', 990, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_email_message', 0, 'biec_application_staging', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition', 0, 'biec_application_staging', 'PRIMARY', 1, 'exhibition_id', 'A', 19, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_catalogue', 0, 'biec_application_staging', 'PRIMARY', 1, 'exhibition_catalogue_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_catalogue_details', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 95, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_catalogue_payment_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'catalogue_payment_id', 'A', 72, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_charges', 0, 'biec_application_staging', 'PRIMARY', 1, 'charges_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_conversion_rate', 0, 'biec_application_staging', 'PRIMARY', 1, 'conversion_rate_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_description', 0, 'biec_application_staging', 'PRIMARY', 1, 'description_id', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_logo', 0, 'biec_application_staging', 'PRIMARY', 1, 'logo_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_misc_entries', 0, 'biec_application_staging', 'PRIMARY', 1, 'misc_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_space_rent', 0, 'biec_application_staging', 'PRIMARY', 1, 'space_rent_id', 'A', 13, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'biec_application_staging', 'biec_exhibition_sponsorship_data_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'sponsorship_data_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_sponsorship_details', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_sponsorship_payment_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'sponsorship_payment_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_sponsorship_rate_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'sponsorship_id', 'A', 21, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_starting_no', 0, 'biec_application_staging', 'PRIMARY', 1, 'starting_no_id', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_workshop_details', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibition_workshop_payment_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'workshop_payment_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitor', 0, 'biec_application_staging', 'PRIMARY', 1, 'exhibitor_id', 'A', 3003, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitor_billing_address', 0, 'biec_application_staging', 'PRIMARY', 1, 'exhibitor_billing_id', 'A', 2574, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitor_misc_payment_data', 0, 'biec_application_staging', 'PRIMARY', 1, 'misc_payment_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitor_payment', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 6542, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitor_payment_schedule', 0, 'biec_application_staging', 'PRIMARY', 1, 'payment_schedule_id', 'A', 1333, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitor_product', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 7185, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitor_product_index_category', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 80, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitor_product_index_sub_category', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 929, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitor_refund', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 246, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exhibitors_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'exhibitors_entry_id', 'A', 763, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exibition_catalouge_data_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'exhibition_catalogue_id', 'A', 98, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exibition_workshop_data_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'exhibition_workshop_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_exibitor_allocation', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 2472, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_financial_invoice', 0, 'biec_application_staging', 'PRIMARY', 1, 'ID', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_firms', 0, 'biec_application_staging', 'PRIMARY', 1, 'firm_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_indirect_exhibitor_product', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_bank_name', 0, 'biec_application_staging', 'PRIMARY', 1, 'bank_id', 'A', 153, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_countries', 0, 'biec_application_staging', 'PRIMARY', 1, 'idCountry', 'A', 250, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_country', 1, 'biec_application_staging', 'idx_country_code', 1, 'country_code', 'A', 252, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_halls', 0, 'biec_application_staging', 'PRIMARY', 1, 'hall_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_mem_category', 0, 'biec_application_staging', 'PRIMARY', 1, 'mem_cat_id', 'A', 18, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_prod_category', 0, 'biec_application_staging', 'PRIMARY', 1, 'product_category_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_products', 0, 'biec_application_staging', 'PRIMARY', 1, 'product_id', 'A', 38, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_signature_logo', 0, 'biec_application_staging', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_state_list', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_status', 0, 'biec_application_staging', 'PRIMARY', 1, 'status_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_master_tax', 0, 'biec_application_staging', 'PRIMARY', 1, 'tax_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_member_directory_invoice', 0, 'biec_application_staging', 'PRIMARY', 1, 'invoiceID', 'A', 1, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_member_directory_payment', 0, 'biec_application_staging', 'PRIMARY', 1, 'paymentID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_member_subscription', 0, 'biec_application_staging', 'PRIMARY', 1, 'SUBSCRIPTION_ID', 'A', 3653, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members', 0, 'biec_application_staging', 'PRIMARY', 1, 'member_id', 'A', 559, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_activity', 0, 'biec_application_staging', 'PRIMARY', 1, 'activity_id', 'A', 787, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_address', 0, 'biec_application_staging', 'PRIMARY', 1, 'address_id', 'A', 1500, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_arrear_breakup', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 343, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_collaboration', 0, 'biec_application_staging', 'PRIMARY', 1, 'collaboration_id', 'A', 84, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_documents', 0, 'biec_application_staging', 'PRIMARY', 1, 'document_id', 'A', 2576, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_executive_council', 0, 'biec_application_staging', 'PRIMARY', 1, 'council_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_foreign_collaboration', 0, 'biec_application_staging', 'PRIMARY', 1, 'collaboration_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_imtma_activities', 0, 'biec_application_staging', 'PRIMARY', 1, 'imtma_activity_id', 'A', 1408, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_imtma_secretariat_visit_list', 0, 'biec_application_staging', 'PRIMARY', 1, 'imtma_visit_id', 'A', 19, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_invoice', 0, 'biec_application_staging', 'PRIMARY', 1, 'INVOICE_ID', 'A', 1529, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_invoice_arrears', 0, 'biec_application_staging', 'PRIMARY', 1, 'arrear_id', 'A', 465, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_production_data', 0, 'biec_application_staging', 'PRIMARY', 1, 'production_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_proposer_entries', 0, 'biec_application_staging', 'PRIMARY', 1, 'proposer_id', 'A', 575, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_members_ref_documents', 0, 'biec_application_staging', 'PRIMARY', 1, 'document_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_misc_exhibitor_refund', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_miscellaneous_data_details', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_miscellaneous_data_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'data_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_miscellaneous_payment_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'miscellaneous_payment_id', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_miscellaneous_rate_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'miscellaneous_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_roles', 0, 'biec_application_staging', 'PRIMARY', 1, 'role_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_user_sessions', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 1786, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_users', 0, 'biec_application_staging', 'PRIMARY', 1, 'user_id', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'biec_workshop_rate_entry', 0, 'biec_application_staging', 'PRIMARY', 1, 'workshop_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'complaint_attachements', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'complaint_categories', 0, 'biec_application_staging', 'PRIMARY', 1, 'complaint_cat_id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'exhibition_complaints', 0, 'biec_application_staging', 'PRIMARY', 1, 'complaint_id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'master_complaint_module_items', 0, 'biec_application_staging', 'PRIMARY', 1, 'item_id', 'A', 25, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'master_complaint_modules', 0, 'biec_application_staging', 'PRIMARY', 1, 'module_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'master_halls', 0, 'biec_application_staging', 'PRIMARY', 1, 'hall_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'master_module_items', 0, 'biec_application_staging', 'PRIMARY', 1, 'item_id', 'A', 117, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'master_modules', 0, 'biec_application_staging', 'PRIMARY', 1, 'module_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'master_states', 0, 'biec_application_staging', 'PRIMARY', 1, 'id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_application_staging', 'reg_office_address', 0, 'biec_application_staging', 'PRIMARY', 1, 'roa_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'biec_master_countries', 0, 'biec_billing', 'PRIMARY', 1, 'idCountry', 'A', 250, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_roles', 0, 'biec_billing', 'PRIMARY', 1, 'role_id', 'A', 2, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'biec_billing', 'billing_shows', 0, 'biec_billing', 'PRIMARY', 1, 'show_id', 'A', 255, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_additional_facilities', 0, 'biec_billing', 'PRIMARY', 1, 'id', 'A', 224, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_conference_center', 0, 'biec_billing', 'PRIMARY', 1, 'id', 'A', 650, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_deffer_payment_tracking', 0, 'biec_billing', 'PRIMARY', 1, 'deffer_payment_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_hall_details', 0, 'biec_billing', 'PRIMARY', 1, 'id', 'A', 228, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_miscellaneous', 0, 'biec_billing', 'PRIMARY', 1, 'id', 'A', 747, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_number', 0, 'biec_billing', 'PRIMARY', 1, 'ID', 'A', 269, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_open_area', 0, 'biec_billing', 'PRIMARY', 1, 'id', 'A', 15, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_payment_receipt', 0, 'biec_billing', 'PRIMARY', 1, 'receipt_id', 'A', 246, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_payment_tracking', 0, 'biec_billing', 'PRIMARY', 1, 'payment_date_id', 'A', 29, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_reduce_space', 0, 'biec_billing', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_signage', 0, 'biec_billing', 'PRIMARY', 1, 'id', 'A', 402, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'billing_shows_utilities_serivices', 0, 'biec_billing', 'PRIMARY', 1, 'id', 'A', 1547, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'login_sessions', 0, 'biec_billing', 'PRIMARY', 1, 'login_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'login_sessions', 0, 'biec_billing', 'PRIMARY', 2, 'session_id', 'A', 1108, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'logins', 0, 'biec_billing', 'PRIMARY', 1, 'login_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_accounts', 0, 'biec_billing', 'PRIMARY', 1, 'account_id', 'A', 18, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_bank_name', 0, 'biec_billing', 'PRIMARY', 1, 'bank_id', 'A', 63, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_conference_center', 0, 'biec_billing', 'PRIMARY', 1, 'conference_center_id', 'A', 20, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_hall_additional_facilities', 0, 'biec_billing', 'PRIMARY', 1, 'additional_facility_id', 'A', 16, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_halls', 0, 'biec_billing', 'PRIMARY', 1, 'hall_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_module_items', 0, 'biec_billing', 'PRIMARY', 1, 'item_id', 'A', 38, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_modules', 0, 'biec_billing', 'PRIMARY', 1, 'module_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_open_area', 0, 'biec_billing', 'PRIMARY', 1, 'open_area_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_signage', 0, 'biec_billing', 'PRIMARY', 1, 'signage_id', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_signage_charges', 0, 'biec_billing', 'PRIMARY', 1, 'signage_charge_id', 'A', 39, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_states', 0, 'biec_billing', 'PRIMARY', 1, 'id', 'A', 35, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_tax', 0, 'biec_billing', 'PRIMARY', 1, 'tax_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'master_utilities_services', 0, 'biec_billing', 'PRIMARY', 1, 'service_id', 'A', 35, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing', 'users', 0, 'biec_billing', 'PRIMARY', 1, 'user_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'biec_master_countries', 0, 'biec_billing_staging', 'PRIMARY', 1, 'idCountry', 'A', 250, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_roles', 0, 'biec_billing_staging', 'PRIMARY', 1, 'role_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows', 0, 'biec_billing_staging', 'PRIMARY', 1, 'show_id', 'A', 86, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_additional_facilities', 0, 'biec_billing_staging', 'PRIMARY', 1, 'id', 'A', 63, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_conference_center', 0, 'biec_billing_staging', 'PRIMARY', 1, 'id', 'A', 203, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_deffer_payment_tracking', 0, 'biec_billing_staging', 'PRIMARY', 1, 'deffer_payment_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_hall_details', 0, 'biec_billing_staging', 'PRIMARY', 1, 'id', 'A', 79, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_miscellaneous', 0, 'biec_billing_staging', 'PRIMARY', 1, 'id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_number', 0, 'biec_billing_staging', 'PRIMARY', 1, 'ID', 'A', 65, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_open_area', 0, 'biec_billing_staging', 'PRIMARY', 1, 'id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_payment_receipt', 0, 'biec_billing_staging', 'PRIMARY', 1, 'receipt_id', 'A', 83, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_payment_tracking', 0, 'biec_billing_staging', 'PRIMARY', 1, 'payment_date_id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_reduce_space', 0, 'biec_billing_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_signage', 0, 'biec_billing_staging', 'PRIMARY', 1, 'id', 'A', 99, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'billing_shows_utilities_serivices', 0, 'biec_billing_staging', 'PRIMARY', 1, 'id', 'A', 354, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'login_sessions', 0, 'biec_billing_staging', 'PRIMARY', 1, 'login_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'login_sessions', 0, 'biec_billing_staging', 'PRIMARY', 2, 'session_id', 'A', 579, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'logins', 0, 'biec_billing_staging', 'PRIMARY', 1, 'login_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_accounts', 0, 'biec_billing_staging', 'PRIMARY', 1, 'account_id', 'A', 18, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_bank_name', 0, 'biec_billing_staging', 'PRIMARY', 1, 'bank_id', 'A', 63, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_conference_center', 0, 'biec_billing_staging', 'PRIMARY', 1, 'conference_center_id', 'A', 20, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_hall_additional_facilities', 0, 'biec_billing_staging', 'PRIMARY', 1, 'additional_facility_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_halls', 0, 'biec_billing_staging', 'PRIMARY', 1, 'hall_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_module_items', 0, 'biec_billing_staging', 'PRIMARY', 1, 'item_id', 'A', 42, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_modules', 0, 'biec_billing_staging', 'PRIMARY', 1, 'module_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_open_area', 0, 'biec_billing_staging', 'PRIMARY', 1, 'open_area_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_signage', 0, 'biec_billing_staging', 'PRIMARY', 1, 'signage_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_signage_charges', 0, 'biec_billing_staging', 'PRIMARY', 1, 'signage_charge_id', 'A', 28, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_states', 0, 'biec_billing_staging', 'PRIMARY', 1, 'id', 'A', 35, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_tax', 0, 'biec_billing_staging', 'PRIMARY', 1, 'tax_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'master_utilities_services', 0, 'biec_billing_staging', 'PRIMARY', 1, 'service_id', 'A', 37, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_billing_staging', 'users', 0, 'biec_billing_staging', 'PRIMARY', 1, 'user_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers', 'cities', 0, 'biec_customers', 'PRIMARY', 1, 'id', 'A', 4474, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers', 'customers', 0, 'biec_customers', 'PRIMARY', 1, 'customer_id', 'A', 1323, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers', 'import_customer_data', 0, 'biec_customers', 'PRIMARY', 1, 'id', 'A', 1200, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers', 'master_country', 0, 'biec_customers', 'PRIMARY', 1, 'id', 'A', 245, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers', 'master_state_list', 0, 'biec_customers', 'PRIMARY', 1, 'id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers', 'master_vendors', 0, 'biec_customers', 'PRIMARY', 1, 'vendor_id', 'A', 5101, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers', 'master_vendors_address', 0, 'biec_customers', 'PRIMARY', 1, 'address_id', 'A', 6047, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers', 'new_code_update', 0, 'biec_customers', 'PRIMARY', 1, 'id', 'A', 40, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers', 'states', 0, 'biec_customers', 'PRIMARY', 1, 'id', 'A', 37, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers_staging', 'cities', 0, 'biec_customers_staging', 'PRIMARY', 1, 'id', 'A', 4474, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers_staging', 'customers', 0, 'biec_customers_staging', 'PRIMARY', 1, 'customer_id', 'A', 1275, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'biec_customers_staging', 'import_customer_data', 0, 'biec_customers_staging', 'PRIMARY', 1, 'id', 'A', 1200, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers_staging', 'master_country', 0, 'biec_customers_staging', 'PRIMARY', 1, 'id', 'A', 245, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers_staging', 'master_state_list', 0, 'biec_customers_staging', 'PRIMARY', 1, 'id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_customers_staging', 'states', 0, 'biec_customers_staging', 'PRIMARY', 1, 'id', 'A', 37, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_catalogue_rate_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'catalogue_id', 'A', 75, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_currency_master', 0, 'biec_dmtx', 'PRIMARY', 1, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_email_message', 0, 'biec_dmtx', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition', 0, 'biec_dmtx', 'PRIMARY', 1, 'exhibition_id', 'A', 27, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_ame_space_rent', 0, 'biec_dmtx', 'PRIMARY', 1, 'rent_id', 'A', 25, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_catalogue', 0, 'biec_dmtx', 'PRIMARY', 1, 'exhibition_catalogue_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_catalogue_details', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 51, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_catalogue_payment_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'catalogue_payment_id', 'A', 42, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_charges', 0, 'biec_dmtx', 'PRIMARY', 1, 'charges_id', 'A', 26, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_conversion_rate', 0, 'biec_dmtx', 'PRIMARY', 1, 'conversion_rate_id', 'A', 24, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_description', 0, 'biec_dmtx', 'PRIMARY', 1, 'description_id', 'A', 24, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_industry_space_rent', 0, 'biec_dmtx', 'PRIMARY', 1, 'rent_id', 'A', 28, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_logo', 0, 'biec_dmtx', 'PRIMARY', 1, 'logo_id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_main_space_rent', 0, 'biec_dmtx', 'PRIMARY', 1, 'rent_id', 'A', 47, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_misc_entries', 0, 'biec_dmtx', 'PRIMARY', 1, 'misc_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_space_rent', 0, 'biec_dmtx', 'PRIMARY', 1, 'space_rent_id', 'A', 25, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_sponsorship_data_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'sponsorship_data_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_sponsorship_details', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_sponsorship_payment_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'sponsorship_payment_id', 'A', 16, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_sponsorship_rate_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'sponsorship_id', 'A', 42, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_starting_no', 0, 'biec_dmtx', 'PRIMARY', 1, 'starting_no_id', 'A', 24, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_workshop_details', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibition_workshop_payment_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'workshop_payment_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitor', 0, 'biec_dmtx', 'PRIMARY', 1, 'exhibitor_id', 'A', 1613, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitor_billing_address', 0, 'biec_dmtx', 'PRIMARY', 1, 'exhibitor_billing_id', 'A', 1122, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitor_misc_payment_data', 0, 'biec_dmtx', 'PRIMARY', 1, 'misc_payment_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitor_payment', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 3001, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitor_payment_schedule', 0, 'biec_dmtx', 'PRIMARY', 1, 'payment_schedule_id', 'A', 292, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitor_product', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 3898, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitor_product_index_category', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 26, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitor_product_index_sub_category', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitor_refund', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 510, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exhibitors_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'exhibitors_entry_id', 'A', 157, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exibition_catalouge_data_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'exhibition_catalogue_id', 'A', 50, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exibition_workshop_data_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'exhibition_workshop_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_exibitor_allocation', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 671, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_financial_invoice', 0, 'biec_dmtx', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_firms', 0, 'biec_dmtx', 'PRIMARY', 1, 'firm_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_indirect_exhibitor_product', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_master_bank_name', 0, 'biec_dmtx', 'PRIMARY', 1, 'bank_id', 'A', 153, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_master_countries', 0, 'biec_dmtx', 'PRIMARY', 1, 'idCountry', 'A', 250, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_master_country', 1, 'biec_dmtx', 'idx_country_code', 1, 'country_code', 'A', 252, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_master_halls', 0, 'biec_dmtx', 'PRIMARY', 1, 'hall_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_master_prod_category', 0, 'biec_dmtx', 'PRIMARY', 1, 'product_category_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_master_products', 0, 'biec_dmtx', 'PRIMARY', 1, 'product_id', 'A', 38, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_master_signature_logo', 0, 'biec_dmtx', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_master_state_list', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_master_tax', 0, 'biec_dmtx', 'PRIMARY', 1, 'tax_id', 'A', 1, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_misc_exhibitor_refund', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_miscellaneous_data_details', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 16, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_miscellaneous_data_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'data_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_miscellaneous_payment_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'miscellaneous_payment_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_miscellaneous_rate_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'miscellaneous_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_roles', 0, 'biec_dmtx', 'PRIMARY', 1, 'role_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_user_sessions', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 3357, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_users', 0, 'biec_dmtx', 'PRIMARY', 1, 'user_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'biec_workshop_rate_entry', 0, 'biec_dmtx', 'PRIMARY', 1, 'workshop_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'master_halls', 0, 'biec_dmtx', 'PRIMARY', 1, 'hall_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'master_module_items', 0, 'biec_dmtx', 'PRIMARY', 1, 'item_id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'master_modules', 0, 'biec_dmtx', 'PRIMARY', 1, 'module_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'master_states', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'reg_office_address', 0, 'biec_dmtx', 'PRIMARY', 1, 'roa_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'temp_final_invoice_process', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 38, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx', 'temp_payment_process', 0, 'biec_dmtx', 'PRIMARY', 1, 'id', 'A', 133, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_catalogue_rate_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'catalogue_id', 'A', 34, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_currency_master', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_email_message', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'exhibition_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_catalogue', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'exhibition_catalogue_id', 'A', 0, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'biec_dmtx_staging', 'biec_exhibition_catalogue_details', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_catalogue_payment_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'catalogue_payment_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_charges', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'charges_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_conversion_rate', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'conversion_rate_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_description', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'description_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_logo', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'logo_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_misc_entries', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'misc_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_space_rent', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'space_rent_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_sponsorship_data_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'sponsorship_data_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_sponsorship_details', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_sponsorship_payment_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'sponsorship_payment_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_sponsorship_rate_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'sponsorship_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_starting_no', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'starting_no_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_workshop_details', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibition_workshop_payment_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'workshop_payment_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitor', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'exhibitor_id', 'A', 269, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitor_billing_address', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'exhibitor_billing_id', 'A', 287, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitor_misc_payment_data', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'misc_payment_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitor_payment', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 657, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitor_payment_schedule', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'payment_schedule_id', 'A', 212, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitor_product', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 877, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitor_product_index_category', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 35, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitor_product_index_sub_category', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitor_refund', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 148, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exhibitors_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'exhibitors_entry_id', 'A', 44, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exibition_catalouge_data_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'exhibition_catalogue_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exibition_workshop_data_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'exhibition_workshop_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_exibitor_allocation', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 249, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_financial_invoice', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_firms', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'firm_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_indirect_exhibitor_product', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_master_bank_name', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'bank_id', 'A', 153, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_master_countries', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'idCountry', 'A', 250, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_master_country', 1, 'biec_dmtx_staging', 'idx_country_code', 1, 'country_code', 'A', 252, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_master_halls', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'hall_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_master_prod_category', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'product_category_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_master_products', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'product_id', 'A', 38, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_master_signature_logo', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'ID', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_master_state_list', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_master_tax', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'tax_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_misc_exhibitor_refund', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_miscellaneous_data_details', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_miscellaneous_data_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'data_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_miscellaneous_payment_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'miscellaneous_payment_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_miscellaneous_rate_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'miscellaneous_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_roles', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'role_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_user_sessions', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 662, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_users', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'user_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'biec_workshop_rate_entry', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'workshop_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'master_halls', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'hall_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'master_module_items', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'item_id', 'A', 32, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'master_modules', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'module_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'master_states', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_dmtx_staging', 'reg_office_address', 0, 'biec_dmtx_staging', 'PRIMARY', 1, 'roa_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'app_login_sessions', 0, 'biec_travel', 'PRIMARY', 1, 'login_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'app_login_sessions', 0, 'biec_travel', 'PRIMARY', 2, 'session_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'app_logins', 0, 'biec_travel', 'PRIMARY', 1, 'login_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'app_module_items', 0, 'biec_travel', 'PRIMARY', 1, 'item_id', 'A', 41, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'app_modules', 0, 'biec_travel', 'PRIMARY', 1, 'module_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'app_roles', 0, 'biec_travel', 'PRIMARY', 1, 'role_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'designations', 0, 'biec_travel', 'PRIMARY', 1, 'designation_id', 'A', 19, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'error_messages', 0, 'biec_travel', 'PRIMARY', 1, 'error_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'invoice_soft_copies', 0, 'biec_travel', 'PRIMARY', 1, 'softcopy_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'invoice_soft_copy_attachments', 0, 'biec_travel', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'master_email_messages', 0, 'biec_travel', 'PRIMARY', 1, 'id', 'A', 18, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'master_requisitions_list', 0, 'biec_travel', 'PRIMARY', 1, 'id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'master_requisitions_status', 0, 'biec_travel', 'PRIMARY', 1, 'id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'master_vehicle_details', 0, 'biec_travel', 'PRIMARY', 1, 'id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'payment_authorisation', 0, 'biec_travel', 'PRIMARY', 1, 'payment_authorisation_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'purchase_orders', 0, 'biec_travel', 'PRIMARY', 1, 'purchase_order_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'requisitions', 0, 'biec_travel', 'PRIMARY', 1, 'requisition_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'requisitions_items', 0, 'biec_travel', 'PRIMARY', 1, 'item_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'transport_vehicle_link', 0, 'biec_travel', 'PRIMARY', 1, 'link_id', 'A', 6, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'biec_travel', 'transports', 0, 'biec_travel', 'PRIMARY', 1, 'transport_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'users', 0, 'biec_travel', 'PRIMARY', 1, 'user_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'biec_travel', 'vendors', 0, 'biec_travel', 'PRIMARY', 1, 'vendor_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'admin_login_sessions', 0, 'bms', 'PRIMARY', 1, 'login_id', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'admin_login_sessions', 0, 'bms', 'PRIMARY', 2, 'session_id', 'A', 91, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'admin_logins', 0, 'bms', 'PRIMARY', 1, 'login_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'admin_module_items', 0, 'bms', 'PRIMARY', 1, 'item_id', 'A', 32, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'admin_modules', 0, 'bms', 'PRIMARY', 1, 'module_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'admin_roles', 0, 'bms', 'PRIMARY', 1, 'role_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'admin_users', 0, 'bms', 'PRIMARY', 1, 'user_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'budget_head_types', 0, 'bms', 'PRIMARY', 1, 'head_type_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'budget_list', 0, 'bms', 'PRIMARY', 1, 'budget_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'budget_payment', 0, 'bms', 'PRIMARY', 1, 'pid', 'A', 360, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'income_summary', 0, 'bms', 'PRIMARY', 1, 'summary_id', 'A', 1, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'ind_frn_income_summary', 0, 'bms', 'PRIMARY', 1, 'ind_frm_id', 'A', 18, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'invoice_soft_copies', 0, 'bms', 'PRIMARY', 1, 'softcopy_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'invoice_soft_copy_attachments', 0, 'bms', 'PRIMARY', 1, 'id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'master_categories', 0, 'bms', 'PRIMARY', 1, 'category_id', 'A', 19, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'master_exhibitions', 0, 'bms', 'PRIMARY', 1, 'exhibition_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'master_subcategories', 0, 'bms', 'PRIMARY', 1, 'subcategory_id', 'A', 68, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'master_subsubcategories', 0, 'bms', 'PRIMARY', 1, 'subsubcategory_id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'master_vendor_categories', 0, 'bms', 'PRIMARY', 1, 'vendor_cat_id', 'A', 54, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'payment_authorisation', 0, 'bms', 'PRIMARY', 1, 'payment_authorisation_id', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'purchase_order', 0, 'bms', 'PRIMARY', 1, 'purchase_order_id', 'A', 145, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'raw_shell_income_summary', 0, 'bms', 'PRIMARY', 1, 'raw_shell_id', 'A', 24, NULL, NULL, '', 'BTREE', '', ''), ('def', 'bms', 'vendor', 0, 'bms', 'PRIMARY', 1, 'vendor_id', 'A', 76, NULL, NULL, '', 'BTREE', '', ''), ('def', 'hrms_db', 'departments', 0, 'hrms_db', 'PRIMARY', 1, 'department_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'hrms_db', 'employees', 0, 'hrms_db', 'PRIMARY', 1, 'employee_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'hrms_db', 'hs_hr_compstructtree', 0, 'hrms_db', 'PRIMARY', 1, 'id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'hrms_db', 'hs_hr_compstructtree', 1, 'hrms_db', 'loc_code', 1, 'loc_code', 'A', 11, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'hrms_db', 'hs_hr_employee', 0, 'hrms_db', 'PRIMARY', 1, 'emp_number', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'hrms_db', 'hs_hr_job_title', 0, 'hrms_db', 'PRIMARY', 1, 'jobtit_code', 'A', 19, NULL, NULL, '', 'BTREE', '', ''), ('def', 'hrms_db', 'hs_hr_job_title', 1, 'hrms_db', 'sal_grd_code', 1, 'sal_grd_code', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'hrms_db', 'hs_hr_job_title', 1, 'hrms_db', 'jobspec_id', 1, 'jobspec_id', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'hrms_db', 'master_designation', 0, 'hrms_db', 'PRIMARY', 1, 'designation_id', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'activities', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'activity_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'app_login_sessions', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'login_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'app_login_sessions', 0, 'imtma_budget_mgmt', 'PRIMARY', 2, 'session_id', 'A', 20, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'app_logins', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'login_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'app_module_items', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'item_id', 'A', 24, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'app_modules', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'module_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'app_roles', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'role_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'budget_allotment', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'allotment_id', 'A', 27, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'departments', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'department_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'departments_heads_link', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'error_messages', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'error_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'invoice_soft_copies', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'soft_copy_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'invoice_soft_copy_attachments', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'invoices', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'invoice_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'master_countries', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'country_id', 'A', 242, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'master_email_messages', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'master_heads', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'head_id', 'A', 39, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'master_job_titles', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'job_title_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'master_states', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'state_id', 'A', 36, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'master_vendor_types', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'type_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'purchase_orders', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'order_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'templates', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'template_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'templates_heads_link', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'users', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'user_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'vendor_branches', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'branch_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_budget_mgmt', 'vendors', 0, 'imtma_budget_mgmt', 'PRIMARY', 1, 'vendor_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_einvoice', 'dmtx_invoice', 0, 'imtma_einvoice', 'PRIMARY', 1, 'id', 'A', 368, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_einvoice', 'einvoicedata', 0, 'imtma_einvoice', 'PRIMARY', 1, 'id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_einvoice', 'einvoicedata_dmtx_invoice', 0, 'imtma_einvoice', 'PRIMARY', 1, 'id', 'A', 199, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_einvoice', 'einvoicedata_imtex_invoice', 0, 'imtma_einvoice', 'PRIMARY', 1, 'id', 'A', 1657, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_einvoice', 'einvoicedata_membership_invoice', 0, 'imtma_einvoice', 'PRIMARY', 1, 'id', 'A', 1378, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_einvoice', 'imtex_invoice', 0, 'imtma_einvoice', 'PRIMARY', 1, 'id', 'A', 3559, NULL, NULL, '', 'BTREE', '', ''), ('def', 'imtma_einvoice', 'membership_invoice', 0, 'imtma_einvoice', 'PRIMARY', 1, 'id', 'A', 1681, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'columns_priv', 0, 'mysql', 'PRIMARY', 1, 'Host', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'columns_priv', 0, 'mysql', 'PRIMARY', 2, 'Db', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'columns_priv', 0, 'mysql', 'PRIMARY', 3, 'User', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'columns_priv', 0, 'mysql', 'PRIMARY', 4, 'Table_name', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'columns_priv', 0, 'mysql', 'PRIMARY', 5, 'Column_name', 'A', 0, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'mysql', 'db', 0, 'mysql', 'PRIMARY', 1, 'Host', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'db', 0, 'mysql', 'PRIMARY', 2, 'Db', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'db', 0, 'mysql', 'PRIMARY', 3, 'User', 'A', 23, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'db', 1, 'mysql', 'User', 1, 'User', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'event', 0, 'mysql', 'PRIMARY', 1, 'db', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'event', 0, 'mysql', 'PRIMARY', 2, 'name', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'func', 0, 'mysql', 'PRIMARY', 1, 'name', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'help_category', 0, 'mysql', 'PRIMARY', 1, 'help_category_id', 'A', 40, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'help_category', 0, 'mysql', 'name', 1, 'name', 'A', 40, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'help_keyword', 0, 'mysql', 'PRIMARY', 1, 'help_keyword_id', 'A', 485, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'help_keyword', 0, 'mysql', 'name', 1, 'name', 'A', 485, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'help_relation', 0, 'mysql', 'PRIMARY', 1, 'help_keyword_id', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'help_relation', 0, 'mysql', 'PRIMARY', 2, 'help_topic_id', 'A', 1090, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'help_topic', 0, 'mysql', 'PRIMARY', 1, 'help_topic_id', 'A', 533, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'help_topic', 0, 'mysql', 'name', 1, 'name', 'A', 533, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'innodb_index_stats', 0, 'mysql', 'PRIMARY', 1, 'database_name', 'A', 122, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'innodb_index_stats', 0, 'mysql', 'PRIMARY', 2, 'table_name', 'A', 3931, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'innodb_index_stats', 0, 'mysql', 'PRIMARY', 3, 'index_name', 'A', 3931, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'innodb_index_stats', 0, 'mysql', 'PRIMARY', 4, 'stat_name', 'A', 3931, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'innodb_table_stats', 0, 'mysql', 'PRIMARY', 1, 'database_name', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'innodb_table_stats', 0, 'mysql', 'PRIMARY', 2, 'table_name', 'A', 609, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'ndb_binlog_index', 0, 'mysql', 'PRIMARY', 1, 'epoch', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'ndb_binlog_index', 0, 'mysql', 'PRIMARY', 2, 'orig_server_id', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'ndb_binlog_index', 0, 'mysql', 'PRIMARY', 3, 'orig_epoch', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'plugin', 0, 'mysql', 'PRIMARY', 1, 'name', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'proc', 0, 'mysql', 'PRIMARY', 1, 'db', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'proc', 0, 'mysql', 'PRIMARY', 2, 'name', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'proc', 0, 'mysql', 'PRIMARY', 3, 'type', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'procs_priv', 0, 'mysql', 'PRIMARY', 1, 'Host', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'procs_priv', 0, 'mysql', 'PRIMARY', 2, 'Db', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'procs_priv', 0, 'mysql', 'PRIMARY', 3, 'User', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'procs_priv', 0, 'mysql', 'PRIMARY', 4, 'Routine_name', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'procs_priv', 0, 'mysql', 'PRIMARY', 5, 'Routine_type', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'procs_priv', 1, 'mysql', 'Grantor', 1, 'Grantor', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'proxies_priv', 0, 'mysql', 'PRIMARY', 1, 'Host', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'proxies_priv', 0, 'mysql', 'PRIMARY', 2, 'User', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'proxies_priv', 0, 'mysql', 'PRIMARY', 3, 'Proxied_host', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'proxies_priv', 0, 'mysql', 'PRIMARY', 4, 'Proxied_user', 'A', 1, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'proxies_priv', 1, 'mysql', 'Grantor', 1, 'Grantor', 'A', 1, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'servers', 0, 'mysql', 'PRIMARY', 1, 'Server_name', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'slave_master_info', 0, 'mysql', 'PRIMARY', 1, 'Host', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'slave_master_info', 0, 'mysql', 'PRIMARY', 2, 'Port', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'slave_relay_log_info', 0, 'mysql', 'PRIMARY', 1, 'Id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'slave_worker_info', 0, 'mysql', 'PRIMARY', 1, 'Id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'tables_priv', 0, 'mysql', 'PRIMARY', 1, 'Host', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'tables_priv', 0, 'mysql', 'PRIMARY', 2, 'Db', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'tables_priv', 0, 'mysql', 'PRIMARY', 3, 'User', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'tables_priv', 0, 'mysql', 'PRIMARY', 4, 'Table_name', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'tables_priv', 1, 'mysql', 'Grantor', 1, 'Grantor', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'time_zone', 0, 'mysql', 'PRIMARY', 1, 'Time_zone_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'time_zone_leap_second', 0, 'mysql', 'PRIMARY', 1, 'Transition_time', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'time_zone_name', 0, 'mysql', 'PRIMARY', 1, 'Name', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'time_zone_transition', 0, 'mysql', 'PRIMARY', 1, 'Time_zone_id', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'time_zone_transition', 0, 'mysql', 'PRIMARY', 2, 'Transition_time', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'time_zone_transition_type', 0, 'mysql', 'PRIMARY', 1, 'Time_zone_id', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'time_zone_transition_type', 0, 'mysql', 'PRIMARY', 2, 'Transition_type_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'user', 0, 'mysql', 'PRIMARY', 1, 'Host', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'mysql', 'user', 0, 'mysql', 'PRIMARY', 2, 'User', 'A', 30, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'competency_rating', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'competencyrating_id', 'A', 208, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_attendance', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'attendance_id', 'A', 175870, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_blood_grp_type', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'blood_grp_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_blood_grp_type', 1, 'orange_hrms_staging', 'blood_grp_id', 1, 'blood_grp_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_comp_property', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'prop_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_comp_property', 1, 'orange_hrms_staging', 'emp_id', 1, 'emp_id', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_compstructtree', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_compstructtree', 1, 'orange_hrms_staging', 'loc_code', 1, 'loc_code', 'A', 11, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_config', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'key', 'A', 16, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_country', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'cou_code', 'A', 239, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_currency_type', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'currency_id', 'A', 159, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_custom_export', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'export_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_custom_export', 1, 'orange_hrms_staging', 'emp_number', 1, 'export_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_custom_fields', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'field_num', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_custom_fields', 1, 'orange_hrms_staging', 'emp_number', 1, 'field_num', 'A', 8, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'orange_hrms_staging', 'hs_hr_custom_fields', 1, 'orange_hrms_staging', 'screen', 1, 'screen', 'A', 4, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_custom_import', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'import_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_custom_import', 1, 'orange_hrms_staging', 'emp_number', 1, 'import_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_customer', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'customer_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_db_version', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_db_version', 1, 'orange_hrms_staging', 'entered_by', 1, 'entered_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_db_version', 1, 'orange_hrms_staging', 'modified_by', 1, 'modified_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_developer', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_district', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'district_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_education', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'edu_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_eec', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'eec_code', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_attachment', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_attachment', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'eattach_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_attachment', 1, 'orange_hrms_staging', 'screen', 1, 'screen', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary', 0, 'orange_hrms_staging', 'PRIMARY', 3, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary', 1, 'orange_hrms_staging', 'sal_grd_code', 1, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary', 1, 'orange_hrms_staging', 'currency_id', 1, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_basicsalary', 1, 'orange_hrms_staging', 'payperiod_code', 1, 'payperiod_code', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_children', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'ec_seqno', 'A', 119, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_contract_extend', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 163, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_contract_extend', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'econ_extend_id', 'A', 163, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_dependents', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_dependents', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'ed_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_directdebit', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_directdebit', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'dd_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_education', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'edu_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_education', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_education', 1, 'orange_hrms_staging', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_emergency_contacts', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 154, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_history_of_ealier_pos', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_history_of_ealier_pos', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'emp_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_jobtitle_history', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_jobtitle_history', 1, 'orange_hrms_staging', 'emp_number', 1, 'emp_number', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_language', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_language', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'lang_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_language', 0, 'orange_hrms_staging', 'PRIMARY', 3, 'elang_type', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_language', 1, 'orange_hrms_staging', 'lang_code', 1, 'lang_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_licenses', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_licenses', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'licenses_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_licenses', 1, 'orange_hrms_staging', 'licenses_code', 1, 'licenses_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_location_history', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_location_history', 1, 'orange_hrms_staging', 'emp_number', 1, 'emp_number', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_locations', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 162, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_locations', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'loc_code', 'A', 162, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_locations', 1, 'orange_hrms_staging', 'loc_code', 1, 'loc_code', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_member_detail', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_member_detail', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'membship_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_member_detail', 0, 'orange_hrms_staging', 'PRIMARY', 3, 'membtype_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_member_detail', 1, 'orange_hrms_staging', 'membtype_code', 1, 'membtype_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_member_detail', 1, 'orange_hrms_staging', 'membship_code', 1, 'membship_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_passport', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_picture', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 600, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_reportto', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'erep_sup_emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_reportto', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'erep_sub_emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_reportto', 0, 'orange_hrms_staging', 'PRIMARY', 3, 'erep_reporting_mode', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_reportto', 1, 'orange_hrms_staging', 'erep_sub_emp_number', 1, 'erep_sub_emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_skill', 1, 'orange_hrms_staging', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_skill', 1, 'orange_hrms_staging', 'skill_code', 1, 'skill_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_somu', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 2095, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_subdivision_history', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_subdivision_history', 1, 'orange_hrms_staging', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_us_tax', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_work_experience', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emp_work_experience', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'eexp_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'emp_number', 'A', 190, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee', 1, 'orange_hrms_staging', 'work_station', 1, 'work_station', 'A', 31, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee', 1, 'orange_hrms_staging', 'ethnic_race_code', 1, 'ethnic_race_code', 'A', 4, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee', 1, 'orange_hrms_staging', 'nation_code', 1, 'nation_code', 'A', 8, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee', 1, 'orange_hrms_staging', 'job_title_code', 1, 'job_title_code', 'A', 38, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee', 1, 'orange_hrms_staging', 'emp_status', 1, 'emp_status', 'A', 6, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee', 1, 'orange_hrms_staging', 'eeo_cat_code', 1, 'eeo_cat_code', 'A', 12, NULL, NULL, 'YES', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'orange_hrms_staging', 'hs_hr_employee_leave_quota', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'leave_period_id', 'A', 1740, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee_leave_quota', 1, 'orange_hrms_staging', 'employee_id', 1, 'employee_id', 'A', 348, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee_leave_quota', 1, 'orange_hrms_staging', 'hs_hr_employee_leave_quota_ibfk_1', 1, 'leave_type_id', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee_timesheet_period', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee_timesheet_period', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee_timesheet_period', 1, 'orange_hrms_staging', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee_workshift', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'workshift_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee_workshift', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'emp_number', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_employee_workshift', 1, 'orange_hrms_staging', 'emp_number', 1, 'emp_number', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emprep_usergroup', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'userg_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emprep_usergroup', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'rep_code', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_emprep_usergroup', 1, 'orange_hrms_staging', 'rep_code', 1, 'rep_code', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_empreport', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'rep_code', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_empreport', 0, 'orange_hrms_staging', 'rep_name', 1, 'rep_name', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_empstat', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'estat_code', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_ethnic_race', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'ethnic_race_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_file_version', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_file_version', 1, 'orange_hrms_staging', 'altered_module', 1, 'altered_module', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_file_version', 1, 'orange_hrms_staging', 'entered_by', 1, 'entered_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_file_version', 1, 'orange_hrms_staging', 'modified_by', 1, 'modified_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_geninfo', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_hcs_utility', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'utility_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_holidays', 1, 'orange_hrms_staging', 'holiday_id', 1, 'holiday_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_hsp', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_hsp', 1, 'orange_hrms_staging', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_hsp_payment_request', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_hsp_payment_request', 1, 'orange_hrms_staging', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_hsp_payment_request', 1, 'orange_hrms_staging', 'hsp_id', 1, 'hsp_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_hsp_summary', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'summary_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_information_share', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'info_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_application', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'application_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_application', 1, 'orange_hrms_staging', 'vacancy_id', 1, 'vacancy_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_application_events', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_application_events', 1, 'orange_hrms_staging', 'application_id', 1, 'application_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_application_events', 1, 'orange_hrms_staging', 'created_by', 1, 'created_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_application_events', 1, 'orange_hrms_staging', 'owner', 1, 'owner', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_spec', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'jobspec_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_title', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'jobtit_code', 'A', 20, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_title', 1, 'orange_hrms_staging', 'sal_grd_code', 1, 'sal_grd_code', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_title', 1, 'orange_hrms_staging', 'jobspec_id', 1, 'jobspec_id', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_vacancy', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'vacancy_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_vacancy', 1, 'orange_hrms_staging', 'jobtit_code', 1, 'jobtit_code', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_job_vacancy', 1, 'orange_hrms_staging', 'manager_id', 1, 'manager_id', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_jobtit_empstat', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'jobtit_code', 'A', 31, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_jobtit_empstat', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'estat_code', 'A', 31, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_jobtit_empstat', 1, 'orange_hrms_staging', 'estat_code', 1, 'estat_code', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_kpi', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_language', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'lang_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'leave_id', 'A', 5072, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'leave_type_id', 'A', 5072, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave', 0, 'orange_hrms_staging', 'PRIMARY', 3, 'employee_id', 'A', 5072, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave', 0, 'orange_hrms_staging', 'PRIMARY', 4, 'leave_request_id', 'A', 5072, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave', 1, 'orange_hrms_staging', 'leave_request_id', 1, 'leave_request_id', 'A', 5072, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave', 1, 'orange_hrms_staging', 'leave_request_id', 2, 'leave_type_id', 'A', 5072, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave', 1, 'orange_hrms_staging', 'leave_request_id', 3, 'employee_id', 'A', 5072, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave', 1, 'orange_hrms_staging', 'leave_type_id', 1, 'leave_type_id', 'A', 38, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave', 1, 'orange_hrms_staging', 'employee_id', 1, 'employee_id', 'A', 230, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave_period', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'leave_period_id', 'A', 8516, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave_requests', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'leave_request_id', 'A', 8098, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave_requests', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'leave_type_id', 'A', 8098, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave_requests', 0, 'orange_hrms_staging', 'PRIMARY', 3, 'employee_id', 'A', 8098, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave_requests', 1, 'orange_hrms_staging', 'employee_id', 1, 'employee_id', 'A', 289, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave_requests', 1, 'orange_hrms_staging', 'leave_type_id', 1, 'leave_type_id', 'A', 40, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leave_requests', 1, 'orange_hrms_staging', 'leave_period_id', 1, 'leave_period_id', 'A', 8098, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_leavetype', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'leave_type_id', 'A', 21, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_licenses', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'licenses_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_location', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'loc_code', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_location', 1, 'orange_hrms_staging', 'loc_country', 1, 'loc_country', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_mailnotifications', 1, 'orange_hrms_staging', 'user_id', 1, 'user_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_mailnotifications', 1, 'orange_hrms_staging', 'notification_type_id', 1, 'notification_type_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_membership', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'membship_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_membership', 1, 'orange_hrms_staging', 'membtype_code', 1, 'membtype_code', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_membership_type', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'membtype_code', 'A', 0, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'orange_hrms_staging', 'hs_hr_module', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'mod_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_module', 1, 'orange_hrms_staging', 'version', 1, 'version', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_nationality', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'nat_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_pay_period', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_payperiod', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'payperiod_code', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_performance_review', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_performance_review_comments', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_project', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_project', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'customer_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_project', 1, 'orange_hrms_staging', 'customer_id', 1, 'customer_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_project_activity', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'activity_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_project_activity', 1, 'orange_hrms_staging', 'project_id', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_project_admin', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_project_admin', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_project_admin', 1, 'orange_hrms_staging', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_province', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 65, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_rights', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'mod_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_rights', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'userg_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_rights', 1, 'orange_hrms_staging', 'userg_id', 1, 'userg_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_skill', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'skill_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_time_event', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'time_event_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_time_event', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_time_event', 0, 'orange_hrms_staging', 'PRIMARY', 3, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_time_event', 0, 'orange_hrms_staging', 'PRIMARY', 4, 'timesheet_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_time_event', 1, 'orange_hrms_staging', 'project_id', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_time_event', 1, 'orange_hrms_staging', 'activity_id', 1, 'activity_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_time_event', 1, 'orange_hrms_staging', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_time_event', 1, 'orange_hrms_staging', 'timesheet_id', 1, 'timesheet_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_timesheet', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'timesheet_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_timesheet', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_timesheet', 0, 'orange_hrms_staging', 'PRIMARY', 3, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_timesheet', 1, 'orange_hrms_staging', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_timesheet', 1, 'orange_hrms_staging', 'timesheet_period_id', 1, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_timesheet_submission_period', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_unique_id', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 43, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_unique_id', 0, 'orange_hrms_staging', 'table_field', 1, 'table_name', 'A', 43, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_unique_id', 0, 'orange_hrms_staging', 'table_field', 2, 'field_name', 'A', 43, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_user_group', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'userg_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_users', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 138, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_users', 0, 'orange_hrms_staging', 'user_name', 1, 'user_name', 'A', 138, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_users', 1, 'orange_hrms_staging', 'modified_user_id', 1, 'modified_user_id', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_users', 1, 'orange_hrms_staging', 'created_by', 1, 'created_by', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_users', 1, 'orange_hrms_staging', 'userg_id', 1, 'userg_id', 'A', 15, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_users', 1, 'orange_hrms_staging', 'emp_number', 1, 'emp_number', 'A', 138, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_versions', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_versions', 1, 'orange_hrms_staging', 'modified_by', 1, 'modified_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_versions', 1, 'orange_hrms_staging', 'created_by', 1, 'created_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_versions', 1, 'orange_hrms_staging', 'db_version', 1, 'db_version', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_versions', 1, 'orange_hrms_staging', 'file_version', 1, 'file_version', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_weekends', 0, 'orange_hrms_staging', 'day', 1, 'day', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_hr_workshift', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'workshift_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_pr_salary_currency_detail', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_pr_salary_currency_detail', 0, 'orange_hrms_staging', 'PRIMARY', 2, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_pr_salary_currency_detail', 1, 'orange_hrms_staging', 'currency_id', 1, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_pr_salary_grade', 0, 'orange_hrms_staging', 'PRIMARY', 1, 'sal_grd_code', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orange_hrms_staging', 'hs_pr_salary_grade', 0, 'orange_hrms_staging', 'sal_grd_name', 1, 'sal_grd_name', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'competency_rating', 0, 'orangehrms_new', 'PRIMARY', 1, 'competencyrating_id', 'A', 208, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_attendance', 0, 'orangehrms_new', 'PRIMARY', 1, 'attendance_id', 'A', 237894, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_blood_grp_type', 0, 'orangehrms_new', 'PRIMARY', 1, 'blood_grp_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_blood_grp_type', 1, 'orangehrms_new', 'blood_grp_id', 1, 'blood_grp_id', 'A', 9, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_comp_property', 0, 'orangehrms_new', 'PRIMARY', 1, 'prop_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_comp_property', 1, 'orangehrms_new', 'emp_id', 1, 'emp_id', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_compstructtree', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 22, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_compstructtree', 1, 'orangehrms_new', 'loc_code', 1, 'loc_code', 'A', 11, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_config', 0, 'orangehrms_new', 'PRIMARY', 1, 'key', 'A', 16, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_country', 0, 'orangehrms_new', 'PRIMARY', 1, 'cou_code', 'A', 239, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_currency_type', 0, 'orangehrms_new', 'PRIMARY', 1, 'currency_id', 'A', 159, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_custom_export', 0, 'orangehrms_new', 'PRIMARY', 1, 'export_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_custom_export', 1, 'orangehrms_new', 'emp_number', 1, 'export_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_custom_fields', 0, 'orangehrms_new', 'PRIMARY', 1, 'field_num', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_custom_fields', 1, 'orangehrms_new', 'emp_number', 1, 'field_num', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_custom_fields', 1, 'orangehrms_new', 'screen', 1, 'screen', 'A', 4, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_custom_import', 0, 'orangehrms_new', 'PRIMARY', 1, 'import_id', 'A', 0, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'orangehrms_new', 'hs_hr_custom_import', 1, 'orangehrms_new', 'emp_number', 1, 'import_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_customer', 0, 'orangehrms_new', 'PRIMARY', 1, 'customer_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_db_version', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_db_version', 1, 'orangehrms_new', 'entered_by', 1, 'entered_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_db_version', 1, 'orangehrms_new', 'modified_by', 1, 'modified_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_developer', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_district', 0, 'orangehrms_new', 'PRIMARY', 1, 'district_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_education', 0, 'orangehrms_new', 'PRIMARY', 1, 'edu_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_eec', 0, 'orangehrms_new', 'PRIMARY', 1, 'eec_code', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_attachment', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_attachment', 0, 'orangehrms_new', 'PRIMARY', 2, 'eattach_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_attachment', 1, 'orangehrms_new', 'screen', 1, 'screen', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary', 0, 'orangehrms_new', 'PRIMARY', 2, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary', 0, 'orangehrms_new', 'PRIMARY', 3, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary', 1, 'orangehrms_new', 'sal_grd_code', 1, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary', 1, 'orangehrms_new', 'currency_id', 1, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_basicsalary', 1, 'orangehrms_new', 'payperiod_code', 1, 'payperiod_code', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_children', 0, 'orangehrms_new', 'PRIMARY', 1, 'ec_seqno', 'A', 125, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_contract_extend', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 171, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_contract_extend', 0, 'orangehrms_new', 'PRIMARY', 2, 'econ_extend_id', 'A', 171, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_dependents', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_dependents', 0, 'orangehrms_new', 'PRIMARY', 2, 'ed_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_directdebit', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_directdebit', 0, 'orangehrms_new', 'PRIMARY', 2, 'dd_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_education', 0, 'orangehrms_new', 'PRIMARY', 1, 'edu_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_education', 0, 'orangehrms_new', 'PRIMARY', 2, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_education', 1, 'orangehrms_new', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_emergency_contacts', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 161, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_history_of_ealier_pos', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_history_of_ealier_pos', 0, 'orangehrms_new', 'PRIMARY', 2, 'emp_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_jobtitle_history', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_jobtitle_history', 1, 'orangehrms_new', 'emp_number', 1, 'emp_number', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_language', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_language', 0, 'orangehrms_new', 'PRIMARY', 2, 'lang_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_language', 0, 'orangehrms_new', 'PRIMARY', 3, 'elang_type', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_language', 1, 'orangehrms_new', 'lang_code', 1, 'lang_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_licenses', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_licenses', 0, 'orangehrms_new', 'PRIMARY', 2, 'licenses_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_licenses', 1, 'orangehrms_new', 'licenses_code', 1, 'licenses_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_location_history', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_location_history', 1, 'orangehrms_new', 'emp_number', 1, 'emp_number', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_locations', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 170, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_locations', 0, 'orangehrms_new', 'PRIMARY', 2, 'loc_code', 'A', 170, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_locations', 1, 'orangehrms_new', 'loc_code', 1, 'loc_code', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_member_detail', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_member_detail', 0, 'orangehrms_new', 'PRIMARY', 2, 'membship_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_member_detail', 0, 'orangehrms_new', 'PRIMARY', 3, 'membtype_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_member_detail', 1, 'orangehrms_new', 'membtype_code', 1, 'membtype_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_member_detail', 1, 'orangehrms_new', 'membship_code', 1, 'membship_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_passport', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 164, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_picture', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 4444, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_reportto', 0, 'orangehrms_new', 'PRIMARY', 1, 'erep_sup_emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_reportto', 0, 'orangehrms_new', 'PRIMARY', 2, 'erep_sub_emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_reportto', 0, 'orangehrms_new', 'PRIMARY', 3, 'erep_reporting_mode', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_reportto', 1, 'orangehrms_new', 'erep_sub_emp_number', 1, 'erep_sub_emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_skill', 1, 'orangehrms_new', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_skill', 1, 'orangehrms_new', 'skill_code', 1, 'skill_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_somu', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 2095, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_subdivision_history', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_subdivision_history', 1, 'orangehrms_new', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_us_tax', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_work_experience', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emp_work_experience', 0, 'orangehrms_new', 'PRIMARY', 2, 'eexp_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee', 0, 'orangehrms_new', 'PRIMARY', 1, 'emp_number', 'A', 197, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee', 1, 'orangehrms_new', 'work_station', 1, 'work_station', 'A', 32, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee', 1, 'orangehrms_new', 'ethnic_race_code', 1, 'ethnic_race_code', 'A', 4, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee', 1, 'orangehrms_new', 'nation_code', 1, 'nation_code', 'A', 6, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee', 1, 'orangehrms_new', 'job_title_code', 1, 'job_title_code', 'A', 39, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee', 1, 'orangehrms_new', 'emp_status', 1, 'emp_status', 'A', 6, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee', 1, 'orangehrms_new', 'eeo_cat_code', 1, 'eeo_cat_code', 'A', 12, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee_leave_quota', 0, 'orangehrms_new', 'PRIMARY', 1, 'leave_period_id', 'A', 2270, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee_leave_quota', 1, 'orangehrms_new', 'employee_id', 1, 'employee_id', 'A', 378, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'orangehrms_new', 'hs_hr_employee_leave_quota', 1, 'orangehrms_new', 'hs_hr_employee_leave_quota_ibfk_1', 1, 'leave_type_id', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee_timesheet_period', 0, 'orangehrms_new', 'PRIMARY', 1, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee_timesheet_period', 0, 'orangehrms_new', 'PRIMARY', 2, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee_timesheet_period', 1, 'orangehrms_new', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee_workshift', 0, 'orangehrms_new', 'PRIMARY', 1, 'workshift_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee_workshift', 0, 'orangehrms_new', 'PRIMARY', 2, 'emp_number', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_employee_workshift', 1, 'orangehrms_new', 'emp_number', 1, 'emp_number', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emprep_usergroup', 0, 'orangehrms_new', 'PRIMARY', 1, 'userg_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emprep_usergroup', 0, 'orangehrms_new', 'PRIMARY', 2, 'rep_code', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_emprep_usergroup', 1, 'orangehrms_new', 'rep_code', 1, 'rep_code', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_empreport', 0, 'orangehrms_new', 'PRIMARY', 1, 'rep_code', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_empreport', 0, 'orangehrms_new', 'rep_name', 1, 'rep_name', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_empstat', 0, 'orangehrms_new', 'PRIMARY', 1, 'estat_code', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_ethnic_race', 0, 'orangehrms_new', 'PRIMARY', 1, 'ethnic_race_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_file_version', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_file_version', 1, 'orangehrms_new', 'altered_module', 1, 'altered_module', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_file_version', 1, 'orangehrms_new', 'entered_by', 1, 'entered_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_file_version', 1, 'orangehrms_new', 'modified_by', 1, 'modified_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_geninfo', 0, 'orangehrms_new', 'PRIMARY', 1, 'code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_hcs_utility', 0, 'orangehrms_new', 'PRIMARY', 1, 'utility_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_holidays', 1, 'orangehrms_new', 'holiday_id', 1, 'holiday_id', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_hsp', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_hsp', 1, 'orangehrms_new', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_hsp_payment_request', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_hsp_payment_request', 1, 'orangehrms_new', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_hsp_payment_request', 1, 'orangehrms_new', 'hsp_id', 1, 'hsp_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_hsp_summary', 0, 'orangehrms_new', 'PRIMARY', 1, 'summary_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_information_share', 0, 'orangehrms_new', 'PRIMARY', 1, 'info_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_application', 0, 'orangehrms_new', 'PRIMARY', 1, 'application_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_application', 1, 'orangehrms_new', 'vacancy_id', 1, 'vacancy_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_application_events', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_application_events', 1, 'orangehrms_new', 'application_id', 1, 'application_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_application_events', 1, 'orangehrms_new', 'created_by', 1, 'created_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_application_events', 1, 'orangehrms_new', 'owner', 1, 'owner', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_spec', 0, 'orangehrms_new', 'PRIMARY', 1, 'jobspec_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_title', 0, 'orangehrms_new', 'PRIMARY', 1, 'jobtit_code', 'A', 23, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_title', 1, 'orangehrms_new', 'sal_grd_code', 1, 'sal_grd_code', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_title', 1, 'orangehrms_new', 'jobspec_id', 1, 'jobspec_id', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_vacancy', 0, 'orangehrms_new', 'PRIMARY', 1, 'vacancy_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_vacancy', 1, 'orangehrms_new', 'jobtit_code', 1, 'jobtit_code', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_job_vacancy', 1, 'orangehrms_new', 'manager_id', 1, 'manager_id', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_jobtit_empstat', 0, 'orangehrms_new', 'PRIMARY', 1, 'jobtit_code', 'A', 31, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_jobtit_empstat', 0, 'orangehrms_new', 'PRIMARY', 2, 'estat_code', 'A', 31, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_jobtit_empstat', 1, 'orangehrms_new', 'estat_code', 1, 'estat_code', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_kpi', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_language', 0, 'orangehrms_new', 'PRIMARY', 1, 'lang_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave', 0, 'orangehrms_new', 'PRIMARY', 1, 'leave_id', 'A', 14630, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave', 0, 'orangehrms_new', 'PRIMARY', 2, 'leave_type_id', 'A', 14630, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave', 0, 'orangehrms_new', 'PRIMARY', 3, 'employee_id', 'A', 14630, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave', 0, 'orangehrms_new', 'PRIMARY', 4, 'leave_request_id', 'A', 14630, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave', 1, 'orangehrms_new', 'leave_request_id', 1, 'leave_request_id', 'A', 14630, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave', 1, 'orangehrms_new', 'leave_request_id', 2, 'leave_type_id', 'A', 14630, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave', 1, 'orangehrms_new', 'leave_request_id', 3, 'employee_id', 'A', 14630, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave', 1, 'orangehrms_new', 'leave_type_id', 1, 'leave_type_id', 'A', 40, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave', 1, 'orangehrms_new', 'employee_id', 1, 'employee_id', 'A', 325, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave_period', 0, 'orangehrms_new', 'PRIMARY', 1, 'leave_period_id', 'A', 14599, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave_requests', 0, 'orangehrms_new', 'PRIMARY', 1, 'leave_request_id', 'A', 14127, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave_requests', 0, 'orangehrms_new', 'PRIMARY', 2, 'leave_type_id', 'A', 14127, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave_requests', 0, 'orangehrms_new', 'PRIMARY', 3, 'employee_id', 'A', 14127, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave_requests', 1, 'orangehrms_new', 'employee_id', 1, 'employee_id', 'A', 328, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave_requests', 1, 'orangehrms_new', 'leave_type_id', 1, 'leave_type_id', 'A', 40, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leave_requests', 1, 'orangehrms_new', 'leave_period_id', 1, 'leave_period_id', 'A', 14127, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_leavetype', 0, 'orangehrms_new', 'PRIMARY', 1, 'leave_type_id', 'A', 21, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_licenses', 0, 'orangehrms_new', 'PRIMARY', 1, 'licenses_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_location', 0, 'orangehrms_new', 'PRIMARY', 1, 'loc_code', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_location', 1, 'orangehrms_new', 'loc_country', 1, 'loc_country', 'A', 3, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_mailnotifications', 1, 'orangehrms_new', 'user_id', 1, 'user_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_mailnotifications', 1, 'orangehrms_new', 'notification_type_id', 1, 'notification_type_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_membership', 0, 'orangehrms_new', 'PRIMARY', 1, 'membship_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_membership', 1, 'orangehrms_new', 'membtype_code', 1, 'membtype_code', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_membership_type', 0, 'orangehrms_new', 'PRIMARY', 1, 'membtype_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_module', 0, 'orangehrms_new', 'PRIMARY', 1, 'mod_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_module', 1, 'orangehrms_new', 'version', 1, 'version', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'orangehrms_new', 'hs_hr_nationality', 0, 'orangehrms_new', 'PRIMARY', 1, 'nat_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_pay_period', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_payperiod', 0, 'orangehrms_new', 'PRIMARY', 1, 'payperiod_code', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_performance_review', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_performance_review_comments', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_project', 0, 'orangehrms_new', 'PRIMARY', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_project', 0, 'orangehrms_new', 'PRIMARY', 2, 'customer_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_project', 1, 'orangehrms_new', 'customer_id', 1, 'customer_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_project_activity', 0, 'orangehrms_new', 'PRIMARY', 1, 'activity_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_project_activity', 1, 'orangehrms_new', 'project_id', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_project_admin', 0, 'orangehrms_new', 'PRIMARY', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_project_admin', 0, 'orangehrms_new', 'PRIMARY', 2, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_project_admin', 1, 'orangehrms_new', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_province', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 65, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_quiz', 0, 'orangehrms_new', 'PRIMARY', 1, 'empid', 'A', 217, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_quiz', 0, 'orangehrms_new', 'PRIMARY', 2, 'QuestionNo', 'A', 435, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_rights', 0, 'orangehrms_new', 'PRIMARY', 1, 'mod_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_rights', 0, 'orangehrms_new', 'PRIMARY', 2, 'userg_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_rights', 1, 'orangehrms_new', 'userg_id', 1, 'userg_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_skill', 0, 'orangehrms_new', 'PRIMARY', 1, 'skill_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_time_event', 0, 'orangehrms_new', 'PRIMARY', 1, 'time_event_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_time_event', 0, 'orangehrms_new', 'PRIMARY', 2, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_time_event', 0, 'orangehrms_new', 'PRIMARY', 3, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_time_event', 0, 'orangehrms_new', 'PRIMARY', 4, 'timesheet_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_time_event', 1, 'orangehrms_new', 'project_id', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_time_event', 1, 'orangehrms_new', 'activity_id', 1, 'activity_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_time_event', 1, 'orangehrms_new', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_time_event', 1, 'orangehrms_new', 'timesheet_id', 1, 'timesheet_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_timesheet', 0, 'orangehrms_new', 'PRIMARY', 1, 'timesheet_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_timesheet', 0, 'orangehrms_new', 'PRIMARY', 2, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_timesheet', 0, 'orangehrms_new', 'PRIMARY', 3, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_timesheet', 1, 'orangehrms_new', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_timesheet', 1, 'orangehrms_new', 'timesheet_period_id', 1, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_timesheet_submission_period', 0, 'orangehrms_new', 'PRIMARY', 1, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_unique_id', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 43, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_unique_id', 0, 'orangehrms_new', 'table_field', 1, 'table_name', 'A', 43, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_unique_id', 0, 'orangehrms_new', 'table_field', 2, 'field_name', 'A', 43, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_user_group', 0, 'orangehrms_new', 'PRIMARY', 1, 'userg_id', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_users', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 174, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_users', 0, 'orangehrms_new', 'user_name', 1, 'user_name', 'A', 174, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_users', 1, 'orangehrms_new', 'modified_user_id', 1, 'modified_user_id', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_users', 1, 'orangehrms_new', 'created_by', 1, 'created_by', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_users', 1, 'orangehrms_new', 'userg_id', 1, 'userg_id', 'A', 17, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_users', 1, 'orangehrms_new', 'emp_number', 1, 'emp_number', 'A', 174, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_versions', 0, 'orangehrms_new', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_versions', 1, 'orangehrms_new', 'modified_by', 1, 'modified_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_versions', 1, 'orangehrms_new', 'created_by', 1, 'created_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_versions', 1, 'orangehrms_new', 'db_version', 1, 'db_version', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_versions', 1, 'orangehrms_new', 'file_version', 1, 'file_version', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_weekends', 0, 'orangehrms_new', 'day', 1, 'day', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_hr_workshift', 0, 'orangehrms_new', 'PRIMARY', 1, 'workshift_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_pr_salary_currency_detail', 0, 'orangehrms_new', 'PRIMARY', 1, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_pr_salary_currency_detail', 0, 'orangehrms_new', 'PRIMARY', 2, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_pr_salary_currency_detail', 1, 'orangehrms_new', 'currency_id', 1, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_pr_salary_grade', 0, 'orangehrms_new', 'PRIMARY', 1, 'sal_grd_code', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrms_new', 'hs_pr_salary_grade', 0, 'orangehrms_new', 'sal_grd_name', 1, 'sal_grd_name', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_attendance', 0, 'orangehrmsnew', 'PRIMARY', 1, 'attendance_id', 'A', 7444, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_comp_property', 0, 'orangehrmsnew', 'PRIMARY', 1, 'prop_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_comp_property', 1, 'orangehrmsnew', 'emp_id', 1, 'emp_id', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_compstructtree', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 15, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_compstructtree', 1, 'orangehrmsnew', 'loc_code', 1, 'loc_code', 'A', 15, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_config', 0, 'orangehrmsnew', 'PRIMARY', 1, 'key', 'A', 16, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_country', 0, 'orangehrmsnew', 'PRIMARY', 1, 'cou_code', 'A', 239, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_currency_type', 0, 'orangehrmsnew', 'PRIMARY', 1, 'currency_id', 'A', 159, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_custom_export', 0, 'orangehrmsnew', 'PRIMARY', 1, 'export_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_custom_export', 1, 'orangehrmsnew', 'emp_number', 1, 'export_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_custom_fields', 0, 'orangehrmsnew', 'PRIMARY', 1, 'field_num', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_custom_fields', 1, 'orangehrmsnew', 'emp_number', 1, 'field_num', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_custom_fields', 1, 'orangehrmsnew', 'screen', 1, 'screen', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_custom_import', 0, 'orangehrmsnew', 'PRIMARY', 1, 'import_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_custom_import', 1, 'orangehrmsnew', 'emp_number', 1, 'import_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_customer', 0, 'orangehrmsnew', 'PRIMARY', 1, 'customer_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_db_version', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'orangehrmsnew', 'hs_hr_db_version', 1, 'orangehrmsnew', 'entered_by', 1, 'entered_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_db_version', 1, 'orangehrmsnew', 'modified_by', 1, 'modified_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_developer', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_district', 0, 'orangehrmsnew', 'PRIMARY', 1, 'district_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_education', 0, 'orangehrmsnew', 'PRIMARY', 1, 'edu_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_eec', 0, 'orangehrmsnew', 'PRIMARY', 1, 'eec_code', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_attachment', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_attachment', 0, 'orangehrmsnew', 'PRIMARY', 2, 'eattach_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_attachment', 1, 'orangehrmsnew', 'screen', 1, 'screen', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary', 0, 'orangehrmsnew', 'PRIMARY', 2, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary', 0, 'orangehrmsnew', 'PRIMARY', 3, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary', 1, 'orangehrmsnew', 'sal_grd_code', 1, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary', 1, 'orangehrmsnew', 'currency_id', 1, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_basicsalary', 1, 'orangehrmsnew', 'payperiod_code', 1, 'payperiod_code', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_children', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_children', 0, 'orangehrmsnew', 'PRIMARY', 2, 'ec_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_contract_extend', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 65, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_contract_extend', 0, 'orangehrmsnew', 'PRIMARY', 2, 'econ_extend_id', 'A', 65, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_dependents', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_dependents', 0, 'orangehrmsnew', 'PRIMARY', 2, 'ed_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_directdebit', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_directdebit', 0, 'orangehrmsnew', 'PRIMARY', 2, 'dd_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_education', 0, 'orangehrmsnew', 'PRIMARY', 1, 'edu_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_education', 0, 'orangehrmsnew', 'PRIMARY', 2, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_education', 1, 'orangehrmsnew', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_emergency_contacts', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_emergency_contacts', 0, 'orangehrmsnew', 'PRIMARY', 2, 'eec_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_history_of_ealier_pos', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_history_of_ealier_pos', 0, 'orangehrmsnew', 'PRIMARY', 2, 'emp_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_jobtitle_history', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_jobtitle_history', 1, 'orangehrmsnew', 'emp_number', 1, 'emp_number', 'A', 10, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_language', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_language', 0, 'orangehrmsnew', 'PRIMARY', 2, 'lang_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_language', 0, 'orangehrmsnew', 'PRIMARY', 3, 'elang_type', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_language', 1, 'orangehrmsnew', 'lang_code', 1, 'lang_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_licenses', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_licenses', 0, 'orangehrmsnew', 'PRIMARY', 2, 'licenses_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_licenses', 1, 'orangehrmsnew', 'licenses_code', 1, 'licenses_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_location_history', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_location_history', 1, 'orangehrmsnew', 'emp_number', 1, 'emp_number', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_locations', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 65, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_locations', 0, 'orangehrmsnew', 'PRIMARY', 2, 'loc_code', 'A', 65, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_locations', 1, 'orangehrmsnew', 'loc_code', 1, 'loc_code', 'A', 6, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_member_detail', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_member_detail', 0, 'orangehrmsnew', 'PRIMARY', 2, 'membship_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_member_detail', 0, 'orangehrmsnew', 'PRIMARY', 3, 'membtype_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_member_detail', 1, 'orangehrmsnew', 'membtype_code', 1, 'membtype_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_member_detail', 1, 'orangehrmsnew', 'membship_code', 1, 'membship_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_passport', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_passport', 0, 'orangehrmsnew', 'PRIMARY', 2, 'ep_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_picture', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 2914, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_reportto', 0, 'orangehrmsnew', 'PRIMARY', 1, 'erep_sup_emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_reportto', 0, 'orangehrmsnew', 'PRIMARY', 2, 'erep_sub_emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_reportto', 0, 'orangehrmsnew', 'PRIMARY', 3, 'erep_reporting_mode', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_reportto', 1, 'orangehrmsnew', 'erep_sub_emp_number', 1, 'erep_sub_emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_skill', 1, 'orangehrmsnew', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_skill', 1, 'orangehrmsnew', 'skill_code', 1, 'skill_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_somu', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 2765, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_subdivision_history', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_subdivision_history', 1, 'orangehrmsnew', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_us_tax', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_work_experience', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emp_work_experience', 0, 'orangehrmsnew', 'PRIMARY', 2, 'eexp_seqno', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee', 0, 'orangehrmsnew', 'PRIMARY', 1, 'emp_number', 'A', 70, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee', 1, 'orangehrmsnew', 'work_station', 1, 'work_station', 'A', 23, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee', 1, 'orangehrmsnew', 'ethnic_race_code', 1, 'ethnic_race_code', 'A', 4, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee', 1, 'orangehrmsnew', 'nation_code', 1, 'nation_code', 'A', 6, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee', 1, 'orangehrmsnew', 'job_title_code', 1, 'job_title_code', 'A', 35, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee', 1, 'orangehrmsnew', 'emp_status', 1, 'emp_status', 'A', 6, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee', 1, 'orangehrmsnew', 'eeo_cat_code', 1, 'eeo_cat_code', 'A', 10, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee_leave_quota', 0, 'orangehrmsnew', 'leave_period_id_UNIQUE', 1, 'leave_period_id', 'A', 20, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee_leave_quota', 1, 'orangehrmsnew', 'employee_id', 1, 'employee_id', 'A', 20, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'orangehrmsnew', 'hs_hr_employee_leave_quota', 1, 'orangehrmsnew', 'leave_period_id', 1, 'leave_period_id', 'A', 20, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee_timesheet_period', 0, 'orangehrmsnew', 'PRIMARY', 1, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee_timesheet_period', 0, 'orangehrmsnew', 'PRIMARY', 2, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee_timesheet_period', 1, 'orangehrmsnew', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee_workshift', 0, 'orangehrmsnew', 'PRIMARY', 1, 'workshift_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee_workshift', 0, 'orangehrmsnew', 'PRIMARY', 2, 'emp_number', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_employee_workshift', 1, 'orangehrmsnew', 'emp_number', 1, 'emp_number', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emprep_usergroup', 0, 'orangehrmsnew', 'PRIMARY', 1, 'userg_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emprep_usergroup', 0, 'orangehrmsnew', 'PRIMARY', 2, 'rep_code', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_emprep_usergroup', 1, 'orangehrmsnew', 'rep_code', 1, 'rep_code', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_empreport', 0, 'orangehrmsnew', 'PRIMARY', 1, 'rep_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_empreport', 0, 'orangehrmsnew', 'rep_name', 1, 'rep_name', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_empstat', 0, 'orangehrmsnew', 'PRIMARY', 1, 'estat_code', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_ethnic_race', 0, 'orangehrmsnew', 'PRIMARY', 1, 'ethnic_race_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_file_version', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_file_version', 1, 'orangehrmsnew', 'altered_module', 1, 'altered_module', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_file_version', 1, 'orangehrmsnew', 'entered_by', 1, 'entered_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_file_version', 1, 'orangehrmsnew', 'modified_by', 1, 'modified_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_genderinfo', 0, 'orangehrmsnew', 'PRIMARY', 1, 'gen_code', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_geninfo', 0, 'orangehrmsnew', 'PRIMARY', 1, 'code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_hcs_utility', 0, 'orangehrmsnew', 'PRIMARY', 1, 'utility_id', 'A', 2, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_hsp', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_hsp', 1, 'orangehrmsnew', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_hsp_payment_request', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_hsp_payment_request', 1, 'orangehrmsnew', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_hsp_payment_request', 1, 'orangehrmsnew', 'hsp_id', 1, 'hsp_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_hsp_summary', 0, 'orangehrmsnew', 'PRIMARY', 1, 'summary_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_application', 0, 'orangehrmsnew', 'PRIMARY', 1, 'application_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_application', 1, 'orangehrmsnew', 'vacancy_id', 1, 'vacancy_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_application_events', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_application_events', 1, 'orangehrmsnew', 'application_id', 1, 'application_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_application_events', 1, 'orangehrmsnew', 'created_by', 1, 'created_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_application_events', 1, 'orangehrmsnew', 'owner', 1, 'owner', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_spec', 0, 'orangehrmsnew', 'PRIMARY', 1, 'jobspec_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_title', 0, 'orangehrmsnew', 'PRIMARY', 1, 'jobtit_code', 'A', 13, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_title', 1, 'orangehrmsnew', 'sal_grd_code', 1, 'sal_grd_code', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_title', 1, 'orangehrmsnew', 'jobspec_id', 1, 'jobspec_id', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_vacancy', 0, 'orangehrmsnew', 'PRIMARY', 1, 'vacancy_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_vacancy', 1, 'orangehrmsnew', 'jobtit_code', 1, 'jobtit_code', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_job_vacancy', 1, 'orangehrmsnew', 'manager_id', 1, 'manager_id', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_jobtit_empstat', 0, 'orangehrmsnew', 'PRIMARY', 1, 'jobtit_code', 'A', 25, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_jobtit_empstat', 0, 'orangehrmsnew', 'PRIMARY', 2, 'estat_code', 'A', 25, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_jobtit_empstat', 1, 'orangehrmsnew', 'estat_code', 1, 'estat_code', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_kpi', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_language', 0, 'orangehrmsnew', 'PRIMARY', 1, 'lang_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave', 0, 'orangehrmsnew', 'PRIMARY', 1, 'leave_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave', 0, 'orangehrmsnew', 'PRIMARY', 2, 'leave_request_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave', 1, 'orangehrmsnew', 'leave_request_id', 1, 'leave_request_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave', 1, 'orangehrmsnew', 'leave_request_id', 2, 'leave_type_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave', 1, 'orangehrmsnew', 'leave_request_id', 3, 'employee_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave', 1, 'orangehrmsnew', 'leave_type_id', 1, 'leave_type_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave', 1, 'orangehrmsnew', 'employee_id', 1, 'employee_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave_period', 0, 'orangehrmsnew', 'PRIMARY', 1, 'leave_period_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave_requests', 0, 'orangehrmsnew', 'PRIMARY', 1, 'leave_request_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave_requests', 0, 'orangehrmsnew', 'PRIMARY', 2, 'leave_type_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave_requests', 0, 'orangehrmsnew', 'PRIMARY', 3, 'employee_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave_requests', 1, 'orangehrmsnew', 'employee_id', 1, 'employee_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave_requests', 1, 'orangehrmsnew', 'leave_type_id', 1, 'leave_type_id', 'A', 4, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leave_requests', 1, 'orangehrmsnew', 'leave_period_id', 1, 'leave_period_id', 'A', 14, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_leavetype', 0, 'orangehrmsnew', 'PRIMARY', 1, 'leave_type_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_licenses', 0, 'orangehrmsnew', 'PRIMARY', 1, 'licenses_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_location', 0, 'orangehrmsnew', 'PRIMARY', 1, 'loc_code', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_location', 1, 'orangehrmsnew', 'loc_country', 1, 'loc_country', 'A', 3, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_mailnotifications', 1, 'orangehrmsnew', 'user_id', 1, 'user_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_mailnotifications', 1, 'orangehrmsnew', 'notification_type_id', 1, 'notification_type_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_membership', 0, 'orangehrmsnew', 'PRIMARY', 1, 'membship_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_membership', 1, 'orangehrmsnew', 'membtype_code', 1, 'membtype_code', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_membership_type', 0, 'orangehrmsnew', 'PRIMARY', 1, 'membtype_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_module', 0, 'orangehrmsnew', 'PRIMARY', 1, 'mod_id', 'A', 8, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_module', 1, 'orangehrmsnew', 'version', 1, 'version', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_nationality', 0, 'orangehrmsnew', 'PRIMARY', 1, 'nat_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_pay_period', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_payperiod', 0, 'orangehrmsnew', 'PRIMARY', 1, 'payperiod_code', 'A', 6, NULL, NULL, '', 'BTREE', '', '');
INSERT INTO `STATISTICS` (`TABLE_CATALOG`, `TABLE_SCHEMA`, `TABLE_NAME`, `NON_UNIQUE`, `INDEX_SCHEMA`, `INDEX_NAME`, `SEQ_IN_INDEX`, `COLUMN_NAME`, `COLLATION`, `CARDINALITY`, `SUB_PART`, `PACKED`, `NULLABLE`, `INDEX_TYPE`, `COMMENT`, `INDEX_COMMENT`) VALUES ('def', 'orangehrmsnew', 'hs_hr_performance_review', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_performance_review_comments', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_project', 0, 'orangehrmsnew', 'PRIMARY', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_project', 0, 'orangehrmsnew', 'PRIMARY', 2, 'customer_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_project', 1, 'orangehrmsnew', 'customer_id', 1, 'customer_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_project_activity', 0, 'orangehrmsnew', 'PRIMARY', 1, 'activity_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_project_activity', 1, 'orangehrmsnew', 'project_id', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_project_admin', 0, 'orangehrmsnew', 'PRIMARY', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_project_admin', 0, 'orangehrmsnew', 'PRIMARY', 2, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_project_admin', 1, 'orangehrmsnew', 'emp_number', 1, 'emp_number', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_province', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 65, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_rights', 0, 'orangehrmsnew', 'PRIMARY', 1, 'mod_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_rights', 0, 'orangehrmsnew', 'PRIMARY', 2, 'userg_id', 'A', 11, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_rights', 1, 'orangehrmsnew', 'userg_id', 1, 'userg_id', 'A', 5, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_skill', 0, 'orangehrmsnew', 'PRIMARY', 1, 'skill_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_time_event', 0, 'orangehrmsnew', 'PRIMARY', 1, 'time_event_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_time_event', 0, 'orangehrmsnew', 'PRIMARY', 2, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_time_event', 0, 'orangehrmsnew', 'PRIMARY', 3, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_time_event', 0, 'orangehrmsnew', 'PRIMARY', 4, 'timesheet_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_time_event', 1, 'orangehrmsnew', 'project_id', 1, 'project_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_time_event', 1, 'orangehrmsnew', 'activity_id', 1, 'activity_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_time_event', 1, 'orangehrmsnew', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_time_event', 1, 'orangehrmsnew', 'timesheet_id', 1, 'timesheet_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_timesheet', 0, 'orangehrmsnew', 'PRIMARY', 1, 'timesheet_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_timesheet', 0, 'orangehrmsnew', 'PRIMARY', 2, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_timesheet', 0, 'orangehrmsnew', 'PRIMARY', 3, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_timesheet', 1, 'orangehrmsnew', 'employee_id', 1, 'employee_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_timesheet', 1, 'orangehrmsnew', 'timesheet_period_id', 1, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_timesheet_submission_period', 0, 'orangehrmsnew', 'PRIMARY', 1, 'timesheet_period_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_unique_id', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 43, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_unique_id', 0, 'orangehrmsnew', 'table_field', 1, 'table_name', 'A', 43, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_unique_id', 0, 'orangehrmsnew', 'table_field', 2, 'field_name', 'A', 43, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_user_group', 0, 'orangehrmsnew', 'PRIMARY', 1, 'userg_id', 'A', 3, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_users', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 12, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_users', 0, 'orangehrmsnew', 'user_name', 1, 'user_name', 'A', 12, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_users', 1, 'orangehrmsnew', 'modified_user_id', 1, 'modified_user_id', 'A', 2, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_users', 1, 'orangehrmsnew', 'created_by', 1, 'created_by', 'A', 4, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_users', 1, 'orangehrmsnew', 'userg_id', 1, 'userg_id', 'A', 12, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_users', 1, 'orangehrmsnew', 'emp_number', 1, 'emp_number', 'A', 12, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_versions', 0, 'orangehrmsnew', 'PRIMARY', 1, 'id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_versions', 1, 'orangehrmsnew', 'modified_by', 1, 'modified_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_versions', 1, 'orangehrmsnew', 'created_by', 1, 'created_by', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_versions', 1, 'orangehrmsnew', 'db_version', 1, 'db_version', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_versions', 1, 'orangehrmsnew', 'file_version', 1, 'file_version', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_weekends', 0, 'orangehrmsnew', 'day', 1, 'day', 'A', 7, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_hr_workshift', 0, 'orangehrmsnew', 'PRIMARY', 1, 'workshift_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_pr_salary_currency_detail', 0, 'orangehrmsnew', 'PRIMARY', 1, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_pr_salary_currency_detail', 0, 'orangehrmsnew', 'PRIMARY', 2, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_pr_salary_currency_detail', 1, 'orangehrmsnew', 'currency_id', 1, 'currency_id', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_pr_salary_grade', 0, 'orangehrmsnew', 'PRIMARY', 1, 'sal_grd_code', 'A', 0, NULL, NULL, '', 'BTREE', '', ''), ('def', 'orangehrmsnew', 'hs_pr_salary_grade', 0, 'orangehrmsnew', 'sal_grd_name', 1, 'sal_grd_name', 'A', 0, NULL, NULL, 'YES', 'BTREE', '', ''), ('def', 'safedrive', 'drive_list', 0, 'safedrive', 'PRIMARY', 1, 'id', 'A', 528, NULL, NULL, '', 'BTREE', '', ''), ('def', 'world', 'city', 0, 'world', 'PRIMARY', 1, 'ID', 'A', 4079, NULL, NULL, '', 'BTREE', '', ''), ('def', 'world', 'country', 0, 'world', 'PRIMARY', 1, 'Code', 'A', 239, NULL, NULL, '', 'BTREE', '', ''), ('def', 'world', 'countrylanguage', 0, 'world', 'PRIMARY', 1, 'CountryCode', 'A', NULL, NULL, NULL, '', 'BTREE', '', ''), ('def', 'world', 'countrylanguage', 0, 'world', 'PRIMARY', 2, 'Language', 'A', 984, NULL, NULL, '', 'BTREE', '', '');


# Dumping structure for table information_schema.TABLES
