


-- Inserted at 2009-09-15T13:25:04.129+01:00

alter table `PARTY` add index (`KEY_STUDENT`), add index (`OID_STUDENT`);
alter table `PARTY` add index (`KEY_TEACHER`), add index (`OID_TEACHER`);
alter table `PARTY` add index (`KEY_UNIT_ACRONYM`), add index (`OID_UNIT_ACRONYM`);
alter table `PARTY` add index (`KEY_UNIT_COST_CENTER_CODE`), add index (`OID_UNIT_COST_CENTER_CODE`);
alter table `PARTY` add index (`KEY_UNIT_NAME`), add index (`OID_UNIT_NAME`);
alter table `PARTY` add index (`KEY_UNIT_SERVICE_AGREEMENT_TEMPLATE`), add index (`OID_UNIT_SERVICE_AGREEMENT_TEMPLATE`);
alter table `PARTY` add index (`KEY_USER`), add index (`OID_USER`);


create table `ACADEMIC_CALENDAR_ENTRY` (
  `BEGIN` timestamp NULL default NULL,
  `DESCRIPTION` longtext,
  `END` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARENT_ENTRY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FOR_DEFAULT_ROOT_ENTRY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FOR_ROOT_ENTRIES` int(11),
  `KEY_TEMPLATE_ENTRY` int(11),
  `OID` bigint(20),
  `OID_PARENT_ENTRY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FOR_DEFAULT_ROOT_ENTRY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FOR_ROOT_ENTRIES` bigint(20),
  `OID_TEMPLATE_ENTRY` bigint(20),
  `TITLE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARENT_ENTRY),
  index (OID_PARENT_ENTRY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_ROOT_DOMAIN_OBJECT_FOR_DEFAULT_ROOT_ENTRY),
  index (OID_ROOT_DOMAIN_OBJECT_FOR_DEFAULT_ROOT_ENTRY),
  index (KEY_ROOT_DOMAIN_OBJECT_FOR_ROOT_ENTRIES),
  index (OID_ROOT_DOMAIN_OBJECT_FOR_ROOT_ENTRIES),
  index (KEY_TEMPLATE_ENTRY),
  index (OID_TEMPLATE_ENTRY)
) type=InnoDB, character set utf8 ;

create table `ACADEMIC_SERVICE_REQUEST` (
  `AVERAGE` tinyint(1),
  `BRANCH` longtext,
  `CREATION_DATE` timestamp NULL default NULL,
  `DETAILED` tinyint(1),
  `DOCUMENT_PURPOSE_TYPE` text,
  `EXCEPTIONAL_CONCLUSION_DATE` longtext,
  `FREE_PROCESSED` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IGNORE_EXTERNAL_ENTRIES` tinyint(1),
  `INTERNSHIP_ABOLISHED` tinyint(1),
  `INTERNSHIP_APPROVED` tinyint(1),
  `KEY_ACADEMIC_SERVICE_REQUEST_YEAR` int(11),
  `KEY_ADMINISTRATIVE_OFFICE` int(11),
  `KEY_ENROLMENT` int(11),
  `KEY_EQUIVALENCE_PLAN_REQUEST` int(11),
  `KEY_EVENT` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_INSTITUTION` int(11),
  `KEY_NEW_COURSE_GROUP` int(11),
  `KEY_OLD_COURSE_GROUP` int(11),
  `KEY_PERSON` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LANGUAGE` text,
  `MOBILITY_PROGRAM` text,
  `NUMBER_OF_COURSE_LOADS` int(11),
  `NUMBER_OF_PAGES` int(11),
  `NUMBER_OF_PROGRAMS` int(11),
  `NUMBER_OF_UNITS` int(11),
  `OID` bigint(20),
  `OID_ACADEMIC_SERVICE_REQUEST_YEAR` bigint(20),
  `OID_ADMINISTRATIVE_OFFICE` bigint(20),
  `OID_ENROLMENT` bigint(20),
  `OID_EQUIVALENCE_PLAN_REQUEST` bigint(20),
  `OID_EVENT` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_INSTITUTION` bigint(20),
  `OID_NEW_COURSE_GROUP` bigint(20),
  `OID_OLD_COURSE_GROUP` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OTHER_DOCUMENT_PURPOSE_TYPE_DESCRIPTION` longtext,
  `PURPOSE` longtext,
  `REQUESTED_CYCLE` text,
  `REQUEST_DATE` timestamp NULL default NULL,
  `SERVICE_REQUEST_NUMBER` int(11),
  `SERVICE_REQUEST_YEAR` int(11),
  `STUDY_PLAN` tinyint(1),
  `SUBJECT` longtext,
  `TECHNICAL_ENGINEER` tinyint(1),
  `URGENT_REQUEST` tinyint(1),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ACADEMIC_SERVICE_REQUEST_YEAR),
  index (OID_ACADEMIC_SERVICE_REQUEST_YEAR),
  index (KEY_ADMINISTRATIVE_OFFICE),
  index (OID_ADMINISTRATIVE_OFFICE),
  index (KEY_ENROLMENT),
  index (OID_ENROLMENT),
  index (KEY_EQUIVALENCE_PLAN_REQUEST),
  index (OID_EQUIVALENCE_PLAN_REQUEST),
  index (KEY_EVENT),
  index (OID_EVENT),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_INSTITUTION),
  index (OID_INSTITUTION),
  index (KEY_NEW_COURSE_GROUP),
  index (OID_NEW_COURSE_GROUP),
  index (KEY_OLD_COURSE_GROUP),
  index (OID_OLD_COURSE_GROUP),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ACADEMIC_SERVICE_REQUEST_SITUATION` (
  `ACADEMIC_SERVICE_REQUEST_SITUATION_TYPE` text,
  `CREATION_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `JUSTIFICATION` longtext,
  `KEY_ACADEMIC_SERVICE_REQUEST` int(11),
  `KEY_EMPLOYEE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ACADEMIC_SERVICE_REQUEST` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `RECEIVED_DATE` timestamp NULL default NULL,
  `SENT_DATE` timestamp NULL default NULL,
  `SITUATION_DATE` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ACADEMIC_SERVICE_REQUEST),
  index (OID_ACADEMIC_SERVICE_REQUEST),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ACADEMIC_SERVICE_REQUEST_YEAR` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LATEST_SERVICE_REQUEST_NUMBER` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ACCOUNT` (
  `ACCOUNT_TYPE` text,
  `CREATION_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARTY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ACCOUNTABILITY` (
  `BEGIN_DATE` longtext,
  `CREDITS` double,
  `END_DATE` longtext,
  `EXTERNAL_CONTRACT` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ACCOUNTABILITY_TYPE` int(11),
  `KEY_CHILD_PARTY` int(11),
  `KEY_CURRICULAR_YEAR` int(11),
  `KEY_DELEGATE` int(11),
  `KEY_PARENT_PARTY` int(11),
  `KEY_RESPONSIBLE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SENDER` int(11),
  `OID` bigint(20),
  `OID_ACCOUNTABILITY_TYPE` bigint(20),
  `OID_CHILD_PARTY` bigint(20),
  `OID_CURRICULAR_YEAR` bigint(20),
  `OID_DELEGATE` bigint(20),
  `OID_PARENT_PARTY` bigint(20),
  `OID_RESPONSIBLE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SENDER` bigint(20),
  `TEACHER_CONTRACT` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ACCOUNTABILITY_TYPE),
  index (OID_ACCOUNTABILITY_TYPE),
  index (KEY_CHILD_PARTY),
  index (OID_CHILD_PARTY),
  index (KEY_CURRICULAR_YEAR),
  index (OID_CURRICULAR_YEAR),
  index (KEY_DELEGATE),
  index (OID_DELEGATE),
  index (KEY_PARENT_PARTY),
  index (OID_PARENT_PARTY),
  index (KEY_RESPONSIBLE),
  index (OID_RESPONSIBLE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SENDER),
  index (OID_SENDER)
) type=InnoDB, character set utf8 ;

create table `ACCOUNTABILITY_TYPE` (
  `BEGIN_DATE_YEAR_MONTH_DAY` longtext,
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `FUNCTION_ORDER` int(11),
  `FUNCTION_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARENT_INHERENT_FUNCTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `OID` bigint(20),
  `OID_PARENT_INHERENT_FUNCTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  `TYPE` text,
  `TYPE_NAME` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARENT_INHERENT_FUNCTION),
  index (OID_PARENT_INHERENT_FUNCTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `ACCOUNTING_TRANSACTION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ADJUSTED_TRANSACTION` int(11),
  `KEY_EVENT` int(11),
  `KEY_INSTALLMENT` int(11),
  `KEY_RESPONSIBLE_USER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TRANSACTION_DETAIL` int(11),
  `OID` bigint(20),
  `OID_ADJUSTED_TRANSACTION` bigint(20),
  `OID_EVENT` bigint(20),
  `OID_INSTALLMENT` bigint(20),
  `OID_RESPONSIBLE_USER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TRANSACTION_DETAIL` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ADJUSTED_TRANSACTION),
  index (OID_ADJUSTED_TRANSACTION),
  index (KEY_EVENT),
  index (OID_EVENT),
  index (KEY_INSTALLMENT),
  index (OID_INSTALLMENT),
  index (KEY_RESPONSIBLE_USER),
  index (OID_RESPONSIBLE_USER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TRANSACTION_DETAIL),
  index (OID_TRANSACTION_DETAIL)
) type=InnoDB, character set utf8 ;

create table `ACCOUNTING_TRANSACTION_DETAIL` (
  `COMMENTS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TRANSACTION` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TRANSACTION` bigint(20),
  `PAYMENT_MODE` text,
  `SIBS_CODE` longtext,
  `SIBS_TRANSACTION_ID` longtext,
  `WHEN_PROCESSED` timestamp NULL default NULL,
  `WHEN_REGISTERED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TRANSACTION),
  index (OID_TRANSACTION)
) type=InnoDB, character set utf8 ;

create table `ADMINISTRATIVE_OFFICE` (
  `ADMINISTRATIVE_OFFICE_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SERVICE_AGREEMENT_TEMPLATE` int(11),
  `KEY_UNIT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SERVICE_AGREEMENT_TEMPLATE` bigint(20),
  `OID_UNIT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SERVICE_AGREEMENT_TEMPLATE),
  index (OID_SERVICE_AGREEMENT_TEMPLATE),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `ADMINISTRATIVE_OFFICE_PERMISSION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ADMINISTRATIVE_OFFICE_PERMISSION_GROUP` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ADMINISTRATIVE_OFFICE_PERMISSION_GROUP` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERMISSION_MEMBERS_GROUP` longtext,
  `PERMISSION_TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ADMINISTRATIVE_OFFICE_PERMISSION_GROUP),
  index (OID_ADMINISTRATIVE_OFFICE_PERMISSION_GROUP),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ADMINISTRATIVE_OFFICE_PERMISSION_GROUP` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ADMINISTRATIVE_OFFICE` int(11),
  `KEY_CAMPUS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ADMINISTRATIVE_OFFICE` bigint(20),
  `OID_CAMPUS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ADMINISTRATIVE_OFFICE),
  index (OID_ADMINISTRATIVE_OFFICE),
  index (KEY_CAMPUS),
  index (OID_CAMPUS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ADVISE` (
  `ADVISE_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_END_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_START_EXECUTION_PERIOD` int(11),
  `KEY_STUDENT` int(11),
  `KEY_TEACHER` int(11),
  `OID` bigint(20),
  `OID_END_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_START_EXECUTION_PERIOD` bigint(20),
  `OID_STUDENT` bigint(20),
  `OID_TEACHER` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_END_EXECUTION_PERIOD),
  index (OID_END_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_START_EXECUTION_PERIOD),
  index (OID_START_EXECUTION_PERIOD),
  index (KEY_STUDENT),
  index (OID_STUDENT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `ALUMNI` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IS_EMPLOYED` tinyint(1),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `REGISTERED` tinyint(1),
  `URL_REQUEST_TOKEN` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `ALUMNI_IDENTITY_CHECK_REQUEST` (
  `APPROVED` tinyint(1),
  `COMMENT` longtext,
  `CONTACT_EMAIL` longtext,
  `CREATION_DATE_TIME` timestamp NULL default NULL,
  `DATE_OF_BIRTH_YEAR_MONTH_DAY` longtext,
  `DECISION_DATE_TIME` timestamp NULL default NULL,
  `DISTRICT_OF_BIRTH` longtext,
  `DISTRICT_SUBDIVISION_OF_BIRTH` longtext,
  `DOCUMENT_ID_NUMBER` longtext,
  `FULL_NAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ALUMNI` int(11),
  `KEY_OPERATOR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME_OF_FATHER` longtext,
  `NAME_OF_MOTHER` longtext,
  `OID` bigint(20),
  `OID_ALUMNI` bigint(20),
  `OID_OPERATOR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PARISH_OF_BIRTH` longtext,
  `REQUEST_TOKEN` longtext,
  `REQUEST_TYPE` text,
  `SOCIAL_SECURITY_NUMBER` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ALUMNI),
  index (OID_ALUMNI),
  index (KEY_OPERATOR),
  index (OID_OPERATOR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ANNOUNCEMENT_CATEGORY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ANUAL_BONUS_INSTALLMENT` (
  `ASSIDUOUSNESS_PARTIALS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PAYMENT_PARTIAL_DATE` longtext,
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ARTICLE_ASSOCIATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ARTICLE` int(11),
  `KEY_CREATOR` int(11),
  `KEY_JOURNAL_ISSUE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ARTICLE` bigint(20),
  `OID_CREATOR` bigint(20),
  `OID_JOURNAL_ISSUE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ARTICLE),
  index (OID_ARTICLE),
  index (KEY_CREATOR),
  index (OID_CREATOR),
  index (KEY_JOURNAL_ISSUE),
  index (OID_JOURNAL_ISSUE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_CAMPUS_HISTORY` (
  `BEGIN_DATE` text,
  `END_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS` int(11),
  `KEY_CAMPUS` int(11),
  `KEY_MODIFIED_BY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS` bigint(20),
  `OID_CAMPUS` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS),
  index (OID_ASSIDUOUSNESS),
  index (KEY_CAMPUS),
  index (OID_CAMPUS),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_CLOSED_DAY` (
  `BALANCE` bigint(20),
  `CLOCKINGS` longtext,
  `DAY` text,
  `EXTRA_WORK_FIRST_LEVEL` bigint(20),
  `EXTRA_WORK_SECOND_LEVEL` bigint(20),
  `EXTRA_WORK_SECOND_LEVEL_WITH_LIMIT` bigint(20),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS_CLOSED_MONTH` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NIGHTLY_EXTRA_WORK_FIRST_LEVEL` bigint(20),
  `NIGHTLY_EXTRA_WORK_SECOND_LEVEL` bigint(20),
  `NIGHTLY_EXTRA_WORK_SECOND_LEVEL_WITH_LIMIT` bigint(20),
  `NIGHTLY_WORK_BALANCE` bigint(20),
  `NOTES` longtext,
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS_CLOSED_MONTH` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SCHEDULE` longtext,
  `UNJUSTIFIED` bigint(20),
  `UNJUSTIFIED_DAY` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS_CLOSED_MONTH),
  index (OID_ASSIDUOUSNESS_CLOSED_MONTH),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_CLOSED_MONTH` (
  `ACCUMULATED_ARTICLE66` double,
  `ACCUMULATED_ARTICLE66_DAYS` int(11),
  `ACCUMULATED_UNJUSTIFIED` double,
  `ACCUMULATED_UNJUSTIFIED_DAYS` int(11),
  `ARTICLE17` double,
  `ARTICLE66` double,
  `BALANCE` bigint(20),
  `BALANCE_TO_DISCOUNT` bigint(20),
  `BEGIN_DATE` text,
  `END_DATE` text,
  `FINAL_BALANCE` bigint(20),
  `FINAL_BALANCE_TO_COMPENSATE` bigint(20),
  `HOLIDAY_BALANCE` bigint(20),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS_STATUS_HISTORY` int(11),
  `KEY_CLOSED_MONTH` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MAXIMUM_WORKING_DAYS` int(11),
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS_STATUS_HISTORY` bigint(20),
  `OID_CLOSED_MONTH` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SATURDAY_BALANCE` bigint(20),
  `SUNDAY_BALANCE` bigint(20),
  `TOLERANCE` double,
  `TOTAL_WORKED_TIME` bigint(20),
  `UNJUSTIFIED_DAYS` int(11),
  `VACATIONS` double,
  `WORKED_DAYS_WITH_A17_VACATIONS_DAYS_DISCOUNT` int(11),
  `WORKED_DAYS_WITH_BONUS_DAYS_DISCOUNT` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS_STATUS_HISTORY),
  index (OID_ASSIDUOUSNESS_STATUS_HISTORY),
  index (KEY_CLOSED_MONTH),
  index (OID_CLOSED_MONTH),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_EXEMPTION` (
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_EXEMPTION_SHIFT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS_EXEMPTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS_EXEMPTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PARTIAL_SHIFT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS_EXEMPTION),
  index (OID_ASSIDUOUSNESS_EXEMPTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_EXTRA_WORK` (
  `FIRST_LEVEL_BALANCE` bigint(20),
  `FIRST_LEVEL_NIGHT_BALANCE` bigint(20),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS_CLOSED_MONTH` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_WORK_SCHEDULE_TYPE` int(11),
  `NIGHT_BALANCE` bigint(20),
  `NIGHT_EXTRA_WORK_DAYS` int(11),
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS_CLOSED_MONTH` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_WORK_SCHEDULE_TYPE` bigint(20),
  `SECOND_LEVEL_BALANCE` bigint(20),
  `SECOND_LEVEL_BALANCE_WITH_LIMIT` bigint(20),
  `SECOND_LEVEL_NIGHT_BALANCE` bigint(20),
  `SECOND_LEVEL_NIGHT_BALANCE_WITH_LIMIT` bigint(20),
  `UNJUSTIFIED` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS_CLOSED_MONTH),
  index (OID_ASSIDUOUSNESS_CLOSED_MONTH),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_WORK_SCHEDULE_TYPE),
  index (OID_WORK_SCHEDULE_TYPE)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_RECORD` (
  `APLICABLE_WEEK_DAYS` longtext,
  `DATE` timestamp NULL default NULL,
  `DURATION` bigint(20),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ANULATED_ASSIDUOUSNESS_RECORD` int(11),
  `KEY_ANULATION` int(11),
  `KEY_ASSIDUOUSNESS` int(11),
  `KEY_CLOCK_UNIT` int(11),
  `KEY_JUSTIFICATION_MOTIVE` int(11),
  `KEY_MODIFIED_BY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `NOTES` longtext,
  `OID` bigint(20),
  `OID_ANULATED_ASSIDUOUSNESS_RECORD` bigint(20),
  `OID_ANULATION` bigint(20),
  `OID_ASSIDUOUSNESS` bigint(20),
  `OID_CLOCK_UNIT` bigint(20),
  `OID_JUSTIFICATION_MOTIVE` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ORACLE_SEQUENCE` int(11),
  `STATE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ANULATED_ASSIDUOUSNESS_RECORD),
  index (OID_ANULATED_ASSIDUOUSNESS_RECORD),
  index (KEY_ANULATION),
  index (OID_ANULATION),
  index (KEY_ASSIDUOUSNESS),
  index (OID_ASSIDUOUSNESS),
  index (KEY_CLOCK_UNIT),
  index (OID_CLOCK_UNIT),
  index (KEY_JUSTIFICATION_MOTIVE),
  index (OID_JUSTIFICATION_MOTIVE),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_RECORD_MONTH_INDEX` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PARTIAL_YEAR_MONTH` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS),
  index (OID_ASSIDUOUSNESS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_STATUS` (
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_MODIFIED_BY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STATE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_STATUS_HISTORY` (
  `BEGIN_DATE` text,
  `END_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS` int(11),
  `KEY_ASSIDUOUSNESS_STATUS` int(11),
  `KEY_MODIFIED_BY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS` bigint(20),
  `OID_ASSIDUOUSNESS_STATUS` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS),
  index (OID_ASSIDUOUSNESS),
  index (KEY_ASSIDUOUSNESS_STATUS),
  index (OID_ASSIDUOUSNESS_STATUS),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ASSIDUOUSNESS_VACATIONS` (
  `ACCUMULATED_ARTICLE17_DAYS` double,
  `ACCUMULATED_DAYS` double,
  `AGE_DAYS` double,
  `ANTIQUITY_DAYS` double,
  `ART17_AND18_LIMIT_DAYS` int(11),
  `ART17_AND18_MAXIMUM_LIMIT_DAYS` int(11),
  `BONUS_DAYS` double,
  `EFECTIVE_WORK_DAYS` int(11),
  `EFECTIVE_WORK_YEAR` int(11),
  `EXTRA_WORK_DAYS` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `LAST_YEAR_EXTRA_WORK_DAYS` double,
  `LOW_TIME_VACATIONS_DAYS` double,
  `NORMAL_DAYS` double,
  `NORMAL_WITH_LEAVES_DISCOUNT` double,
  `NUMBER_OF_ART17` int(11),
  `NUMBER_OF_ART18` int(11),
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS),
  index (OID_ASSIDUOUSNESS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ATTENDS` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ALUNO` int(11),
  `KEY_DISCIPLINA_EXECUCAO` int(11),
  `KEY_ENROLMENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ALUNO` bigint(20),
  `OID_DISCIPLINA_EXECUCAO` bigint(20),
  `OID_ENROLMENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ALUNO),
  index (OID_ALUNO),
  index (KEY_DISCIPLINA_EXECUCAO),
  index (OID_DISCIPLINA_EXECUCAO),
  index (KEY_ENROLMENT),
  index (OID_ENROLMENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `AVAILABILITY_POLICY` (
  `CONTENT_ID` longtext,
  `EXPRESSION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CONTENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CONTENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TARGET_GROUP` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONTENT),
  index (OID_CONTENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `BIBLIOGRAPHIC_REFERENCE` (
  `AUTHORS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OPTIONAL` tinyint(1),
  `REFERENCE` longtext,
  `REFERENCE_ORDER` int(11),
  `TITLE` longtext,
  `YEAR` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `BLUEPRINT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_BLUEPRINT_FILE` int(11),
  `KEY_CREATION_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SPACE` int(11),
  `OID` bigint(20),
  `OID_BLUEPRINT_FILE` bigint(20),
  `OID_CREATION_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SPACE` bigint(20),
  `VALID_FROM` longtext,
  `VALID_UNTIL` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BLUEPRINT_FILE),
  index (OID_BLUEPRINT_FILE),
  index (KEY_CREATION_PERSON),
  index (OID_CREATION_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SPACE),
  index (OID_SPACE)
) type=InnoDB, character set utf8 ;

create table `BRANCH` (
  `ACRONYM` longtext,
  `BRANCH_TYPE` text,
  `CODE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `NAME_EN` longtext,
  `OID` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SECONDARY_CREDITS` int(11),
  `SPECIALIZATION_CREDITS` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `BUSINESS_AREA` (
  `CODE` longtext,
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARENT_AREA` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LEVEL` int(11),
  `OID` bigint(20),
  `OID_PARENT_AREA` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARENT_AREA),
  index (OID_PARENT_AREA),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CANDIDACY` (
  `APPLY_FOR_RESIDENCE` tinyint(1),
  `CONTIGENT` longtext,
  `DISLOCATED_FROM_PERMANENT_RESIDENCE` tinyint(1),
  `ENTRY_GRADE` double,
  `ENTRY_PHASE` int(11),
  `FATHER_PROFESSIONAL_CONDITION` text,
  `FATHER_PROFESSION_TYPE` text,
  `FATHER_SCHOOL_LEVEL` text,
  `GRANT_OWNER_TYPE` text,
  `HIGH_SCHOOL_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INGRESSION` text,
  `KEY_CANDIDACY_PROCESS` int(11),
  `KEY_COUNTRY_OF_RESIDENCE` int(11),
  `KEY_DFA_CANDIDACY_EVENT` int(11),
  `KEY_DISTRICT_SUBDIVISION_OF_RESIDENCE` int(11),
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_GRANT_OWNER_PROVIDER` int(11),
  `KEY_PERSON` int(11),
  `KEY_PRECEDENT_DEGREE_INFORMATION` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SCHOOL_TIME_DISTRICT_SUB_DIVISION_OF_RESIDENCE` int(11),
  `MARITAL_STATUS` text,
  `MOTHER_PROFESSIONAL_CONDITION` text,
  `MOTHER_PROFESSION_TYPE` text,
  `MOTHER_SCHOOL_LEVEL` text,
  `NOTES_ABOUT_RESIDENCE_APPLIANCE` longtext,
  `NUMBER` int(11),
  `NUMBER_OF_CANDIDACIES_TO_HIGHER_SCHOOL` int(11),
  `NUMBER_OF_FLUNKS_ON_HIGH_SCHOOL` int(11),
  `OID` bigint(20),
  `OID_CANDIDACY_PROCESS` bigint(20),
  `OID_COUNTRY_OF_RESIDENCE` bigint(20),
  `OID_DFA_CANDIDACY_EVENT` bigint(20),
  `OID_DISTRICT_SUBDIVISION_OF_RESIDENCE` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_GRANT_OWNER_PROVIDER` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_PRECEDENT_DEGREE_INFORMATION` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SCHOOL_TIME_DISTRICT_SUB_DIVISION_OF_RESIDENCE` bigint(20),
  `PLACING_OPTION` int(11),
  `PROFESSIONAL_CONDITION` text,
  `PROFESSION_TYPE` text,
  `SPOUSE_PROFESSIONAL_CONDITION` text,
  `SPOUSE_PROFESSION_TYPE` text,
  `SPOUSE_SCHOOL_LEVEL` text,
  `START_DATE` longtext,
  `STUDENT_PERSONAL_DATA_AUTHORIZATION_CHOICE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CANDIDACY_PROCESS),
  index (OID_CANDIDACY_PROCESS),
  index (KEY_COUNTRY_OF_RESIDENCE),
  index (OID_COUNTRY_OF_RESIDENCE),
  index (KEY_DFA_CANDIDACY_EVENT),
  index (OID_DFA_CANDIDACY_EVENT),
  index (KEY_DISTRICT_SUBDIVISION_OF_RESIDENCE),
  index (OID_DISTRICT_SUBDIVISION_OF_RESIDENCE),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_GRANT_OWNER_PROVIDER),
  index (OID_GRANT_OWNER_PROVIDER),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_PRECEDENT_DEGREE_INFORMATION),
  index (OID_PRECEDENT_DEGREE_INFORMATION),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SCHOOL_TIME_DISTRICT_SUB_DIVISION_OF_RESIDENCE),
  index (OID_SCHOOL_TIME_DISTRICT_SUB_DIVISION_OF_RESIDENCE)
) type=InnoDB, character set utf8 ;

create table `CANDIDACY_DOCUMENT` (
  `DOCUMENT_DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CANDIDACY` int(11),
  `KEY_FILE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CANDIDACY` bigint(20),
  `OID_FILE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CANDIDACY),
  index (OID_CANDIDACY),
  index (KEY_FILE),
  index (OID_FILE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CANDIDACY_PERIOD` (
  `END` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_INTERVAL` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_INTERVAL` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `START` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_INTERVAL),
  index (OID_EXECUTION_INTERVAL),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CANDIDACY_PRECEDENT_DEGREE_INFORMATION` (
  `APPROVED_ECTS` longtext,
  `CONCLUSION_DATE` text,
  `CONCLUSION_GRADE` longtext,
  `CONCLUSION_YEAR` int(11),
  `CYCLE_TYPE` text,
  `DEGREE_DESIGNATION` longtext,
  `ENROLED_ECTS` longtext,
  `GRADE_SUM` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CANDIDACY` int(11),
  `KEY_COUNTRY` int(11),
  `KEY_INSTITUTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SOURCE_INSTITUTION` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `NUMBER_OF_APPROVED_CURRICULAR_COURSES` int(11),
  `NUMBER_OF_ENROLED_CURRICULAR_COURSES` int(11),
  `OID` bigint(20),
  `OID_CANDIDACY` bigint(20),
  `OID_COUNTRY` bigint(20),
  `OID_INSTITUTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SOURCE_INSTITUTION` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  `OTHER_SCHOOL_LEVEL` longtext,
  `SCHOOL_LEVEL` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CANDIDACY),
  index (OID_CANDIDACY),
  index (KEY_COUNTRY),
  index (OID_COUNTRY),
  index (KEY_INSTITUTION),
  index (OID_INSTITUTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SOURCE_INSTITUTION),
  index (OID_SOURCE_INSTITUTION),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `CANDIDACY_SITUATION` (
  `CANDIDACY_ORDER` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CANDIDACY` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CANDIDACY` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REMARKS` longtext,
  `SITUATION_DATE` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CANDIDACY),
  index (OID_CANDIDACY),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CANDIDATE_ENROLMENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_MASTER_DEGREE_CANDIDATE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_MASTER_DEGREE_CANDIDATE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_MASTER_DEGREE_CANDIDATE),
  index (OID_MASTER_DEGREE_CANDIDATE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CANDIDATE_SITUATION` (
  `DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_MASTER_DEGREE_CANDIDATE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_MASTER_DEGREE_CANDIDATE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REMARKS` longtext,
  `SITUATION` int(11),
  `VALIDATION` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_MASTER_DEGREE_CANDIDATE),
  index (OID_MASTER_DEGREE_CANDIDATE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CARD` (
  `CARD_ID` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CARD_GENERATION_BATCH` (
  `CREATED` timestamp NULL default NULL,
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PEOPLE_FOR_ENTRY_CREATION` longtext,
  `SENT` timestamp NULL default NULL,
  `UPDATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CARD_GENERATION_ENTRY` (
  `CREATED` timestamp NULL default NULL,
  `DOCUMENT_I_D` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CARD_GENERATION_BATCH` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LINE` longtext,
  `OID` bigint(20),
  `OID_CARD_GENERATION_BATCH` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CARD_GENERATION_BATCH),
  index (OID_CARD_GENERATION_BATCH),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CARD_GENERATION_PROBLEM` (
  `ARG` longtext,
  `DESCRIPTION_KEY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CARD_GENERATION_BATCH` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CARD_GENERATION_BATCH` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CARD_GENERATION_BATCH),
  index (OID_CARD_GENERATION_BATCH),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CAREER` (
  `BEGIN_YEAR` int(11),
  `COURSE_OR_POSITION` longtext,
  `END_YEAR` int(11),
  `ENTITY` longtext,
  `FUNCTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CATEGORY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_CATEGORY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CATEGORY),
  index (OID_CATEGORY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `CASE_STUDY` (
  `CODE` longtext,
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SEMINARY_THEME` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SEMINARY_THEME` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SEMINARY_THEME),
  index (OID_SEMINARY_THEME)
) type=InnoDB, character set utf8 ;

create table `CASE_STUDY_CHOICE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CANDIDACY` int(11),
  `KEY_CASE_STUDY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CANDIDACY` bigint(20),
  `OID_CASE_STUDY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PREFERENCE_ORDER` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CANDIDACY),
  index (OID_CANDIDACY),
  index (KEY_CASE_STUDY),
  index (OID_CASE_STUDY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CATEGORY` (
  `CAN_BE_EXECUTION_COURSE_RESPONSIBLE` tinyint(1),
  `CATEGORY_TYPE` text,
  `CODE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LONG_NAME` longtext,
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SHORT_NAME` longtext,
  `WEEKLY_LESSON_HOURS` int(11),
  `WEIGHT` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CLOCK_UNIT` (
  `ACRONYM` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CLOSED_MONTH` (
  `CLOSED_FOR_BALANCE` tinyint(1),
  `CLOSED_FOR_EXTRA_WORK` tinyint(1),
  `CLOSED_YEAR_MONTH` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CLOSED_MONTH_DOCUMENT` (
  `CLOSED_MONTH_DOCUMENT_TYPE` text,
  `CREATED_WHEN` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CLOSED_MONTH` int(11),
  `KEY_CLOSED_MONTH_FILE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CLOSED_MONTH` bigint(20),
  `OID_CLOSED_MONTH_FILE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CLOSED_MONTH),
  index (OID_CLOSED_MONTH),
  index (KEY_CLOSED_MONTH_FILE),
  index (OID_CLOSED_MONTH_FILE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CLOSED_MONTH_JUSTIFICATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `JUSTIFICATION_DURATION` bigint(20),
  `KEY_ASSIDUOUSNESS_CLOSED_MONTH` int(11),
  `KEY_JUSTIFICATION_MOTIVE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS_CLOSED_MONTH` bigint(20),
  `OID_JUSTIFICATION_MOTIVE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS_CLOSED_MONTH),
  index (OID_ASSIDUOUSNESS_CLOSED_MONTH),
  index (KEY_JUSTIFICATION_MOTIVE),
  index (OID_JUSTIFICATION_MOTIVE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COMPETENCE_COURSE` (
  `CODE` longtext,
  `CREATION_DATE_YEAR_MONTH_DAY` longtext,
  `CURRICULAR_STAGE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COMPETENCE_COURSE_GROUP_UNIT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_COMPETENCE_COURSE_GROUP_UNIT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COMPETENCE_COURSE_GROUP_UNIT),
  index (OID_COMPETENCE_COURSE_GROUP_UNIT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COMPETENCE_COURSE_INFORMATION` (
  `ACRONYM` longtext,
  `BASIC` tinyint(1),
  `BIBLIOGRAPHIC_REFERENCES` longtext,
  `COMPETENCE_COURSE_LEVEL` text,
  `EVALUATION_METHOD` longtext,
  `EVALUATION_METHOD_EN` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COMPETENCE_COURSE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `NAME_EN` longtext,
  `OBJECTIVES` longtext,
  `OBJECTIVES_EN` longtext,
  `OID` bigint(20),
  `OID_COMPETENCE_COURSE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PROGRAM` longtext,
  `PROGRAM_EN` longtext,
  `REGIME` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COMPETENCE_COURSE),
  index (OID_COMPETENCE_COURSE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COMPETENCE_COURSE_INFORMATION_CHANGE_REQUEST` (
  `APPROVED` tinyint(1),
  `AUTONOMOUS_WORK_HOURS` double,
  `BIBLIOGRAPHIC_REFERENCES` longtext,
  `COMPETENCE_COURSE_LEVEL` text,
  `ECTS_CREDITS` double,
  `EVALUATION_METHOD` longtext,
  `EVALUATION_METHOD_EN` longtext,
  `FIELD_WORK_HOURS` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `JUSTIFICATION` longtext,
  `KEY_ANALIZED_BY` int(11),
  `KEY_COMPETENCE_COURSE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_REQUESTER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LABORATORIAL_HOURS` double,
  `NAME` longtext,
  `NAME_EN` longtext,
  `OBJECTIVES` longtext,
  `OBJECTIVES_EN` longtext,
  `OID` bigint(20),
  `OID_ANALIZED_BY` bigint(20),
  `OID_COMPETENCE_COURSE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_REQUESTER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PROBLEMS_HOURS` double,
  `PROGRAM` longtext,
  `PROGRAM_EN` longtext,
  `REGIME` text,
  `SECOND_AUTONOMOUS_WORK_HOURS` double,
  `SECOND_ECTS_CREDITS` double,
  `SECOND_FIELD_WORK_HOURS` double,
  `SECOND_LABORATORIAL_HOURS` double,
  `SECOND_PROBLEMS_HOURS` double,
  `SECOND_SEMINARY_HOURS` double,
  `SECOND_THEORETICAL_HOURS` double,
  `SECOND_TRAINING_PERIOD_HOURS` double,
  `SECOND_TUTORIAL_ORIENTATION_HOURS` double,
  `SEMINARY_HOURS` double,
  `THEORETICAL_HOURS` double,
  `TRAINING_PERIOD_HOURS` double,
  `TUTORIAL_ORIENTATION_HOURS` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ANALIZED_BY),
  index (OID_ANALIZED_BY),
  index (KEY_COMPETENCE_COURSE),
  index (OID_COMPETENCE_COURSE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_REQUESTER),
  index (OID_REQUESTER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COMPETENCE_COURSE_LOAD` (
  `ACADEMIC_PERIOD` longtext,
  `AUTONOMOUS_WORK_HOURS` double,
  `ECTS_CREDITS` double,
  `FIELD_WORK_HOURS` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COMPETENCE_COURSE_INFORMATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LABORATORIAL_HOURS` double,
  `LOAD_ORDER` int(11),
  `OID` bigint(20),
  `OID_COMPETENCE_COURSE_INFORMATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PROBLEMS_HOURS` double,
  `SEMINARY_HOURS` double,
  `THEORETICAL_HOURS` double,
  `TRAINING_PERIOD_HOURS` double,
  `TUTORIAL_ORIENTATION_HOURS` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COMPETENCE_COURSE_INFORMATION),
  index (OID_COMPETENCE_COURSE_INFORMATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CONCLUSION_PROCESS` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CONCLUSION_YEAR` int(11),
  `KEY_CYCLE` int(11),
  `KEY_LAST_VERSION` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CONCLUSION_YEAR` bigint(20),
  `OID_CYCLE` bigint(20),
  `OID_LAST_VERSION` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONCLUSION_YEAR),
  index (OID_CONCLUSION_YEAR),
  index (KEY_CYCLE),
  index (OID_CYCLE),
  index (KEY_LAST_VERSION),
  index (OID_LAST_VERSION),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CONCLUSION_PROCESS_VERSION` (
  `AVERAGE` longtext,
  `CONCLUSION_DATE` text,
  `CREATION_DATE_TIME` timestamp NULL default NULL,
  `CREDITS` longtext,
  `CURRICULUM` longtext,
  `FINAL_AVERAGE` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CONCLUSION_PROCESS` int(11),
  `KEY_CONCLUSION_YEAR` int(11),
  `KEY_DISSERTATION_ENROLMENT` int(11),
  `KEY_INGRESSION_YEAR` int(11),
  `KEY_LAST_VERSION_CONCLUSION_PROCESS` int(11),
  `KEY_MASTER_DEGREE_THESIS` int(11),
  `KEY_RESPONSIBLE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NOTES` longtext,
  `OID` bigint(20),
  `OID_CONCLUSION_PROCESS` bigint(20),
  `OID_CONCLUSION_YEAR` bigint(20),
  `OID_DISSERTATION_ENROLMENT` bigint(20),
  `OID_INGRESSION_YEAR` bigint(20),
  `OID_LAST_VERSION_CONCLUSION_PROCESS` bigint(20),
  `OID_MASTER_DEGREE_THESIS` bigint(20),
  `OID_RESPONSIBLE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONCLUSION_PROCESS),
  index (OID_CONCLUSION_PROCESS),
  index (KEY_CONCLUSION_YEAR),
  index (OID_CONCLUSION_YEAR),
  index (KEY_DISSERTATION_ENROLMENT),
  index (OID_DISSERTATION_ENROLMENT),
  index (KEY_INGRESSION_YEAR),
  index (OID_INGRESSION_YEAR),
  index (KEY_LAST_VERSION_CONCLUSION_PROCESS),
  index (OID_LAST_VERSION_CONCLUSION_PROCESS),
  index (KEY_MASTER_DEGREE_THESIS),
  index (OID_MASTER_DEGREE_THESIS),
  index (KEY_RESPONSIBLE),
  index (OID_RESPONSIBLE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CONNECTION_RULE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ACCOUNTABILITY_TYPE` int(11),
  `KEY_ALLOWED_CHILD_PARTY_TYPE` int(11),
  `KEY_ALLOWED_PARENT_PARTY_TYPE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ACCOUNTABILITY_TYPE` bigint(20),
  `OID_ALLOWED_CHILD_PARTY_TYPE` bigint(20),
  `OID_ALLOWED_PARENT_PARTY_TYPE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ACCOUNTABILITY_TYPE),
  index (OID_ACCOUNTABILITY_TYPE),
  index (KEY_ALLOWED_CHILD_PARTY_TYPE),
  index (OID_ALLOWED_CHILD_PARTY_TYPE),
  index (KEY_ALLOWED_PARENT_PARTY_TYPE),
  index (OID_ALLOWED_PARENT_PARTY_TYPE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CONTENT` (
  `ACTIVATED` tinyint(1),
  `ALTERNATIVE_SITE` longtext,
  `APPROVED` tinyint(1),
  `APPROVERS` longtext,
  `AUTHOR` longtext,
  `AUTHOR_EMAIL` longtext,
  `BODY` longtext,
  `CONTENT_ID` longtext,
  `CREATION_DATE` timestamp NULL default NULL,
  `DESCRIPTION` longtext,
  `DYNAMIC_MAIL_DISTRIBUTION` tinyint(1),
  `EDITOR_NOTES` longtext,
  `ENABLED` tinyint(1),
  `EXCERPT` longtext,
  `EXECUTION_COURSE_PERMITTED_MANAGEMENT_GROUP_TYPE` text,
  `EXECUTION_COURSE_PERMITTED_READ_GROUP_TYPE` text,
  `EXECUTION_COURSE_PERMITTED_WRITE_GROUP_TYPE` text,
  `EXECUTION_PATH` longtext,
  `GOOGLE_ANALYTICS_CODE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INITIAL_STATEMENT` longtext,
  `INTRODUCTION` longtext,
  `KEYWORDS` longtext,
  `KEY_AVAILABILITY_POLICY` int(11),
  `KEY_CAMPUS` int(11),
  `KEY_CREATOR` int(11),
  `KEY_DEGREE` int(11),
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_EXECUTION_PATH_VALUE` int(11),
  `KEY_FILE` int(11),
  `KEY_FUNCTIONALITY` int(11),
  `KEY_INITIAL_CONTENT` int(11),
  `KEY_LOGO` int(11),
  `KEY_META_DOMAIN_OBJECT` int(11),
  `KEY_MODULE_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_PARTY` int(11),
  `KEY_PERSON` int(11),
  `KEY_PORTAL` int(11),
  `KEY_PORTAL_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SITE_EXECUTION_COURSE` int(11),
  `KEY_THESIS` int(11),
  `KEY_UNIT` int(11),
  `LAST_MODIFICATION` timestamp NULL default NULL,
  `LAYOUT` text,
  `LESSON_PLANNING_AVAILABLE` tinyint(1),
  `MAIL` longtext,
  `MANAGERS` longtext,
  `MANDATORY` tinyint(1),
  `MAXIMIZABLE` tinyint(1),
  `MODIFICATION_DATE` longtext,
  `NAME` longtext,
  `NORMALIZED_NAME` longtext,
  `OID` bigint(20),
  `OID_AVAILABILITY_POLICY` bigint(20),
  `OID_CAMPUS` bigint(20),
  `OID_CREATOR` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_EXECUTION_PATH_VALUE` bigint(20),
  `OID_FILE` bigint(20),
  `OID_FUNCTIONALITY` bigint(20),
  `OID_INITIAL_CONTENT` bigint(20),
  `OID_LOGO` bigint(20),
  `OID_META_DOMAIN_OBJECT` bigint(20),
  `OID_MODULE_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_PORTAL` bigint(20),
  `OID_PORTAL_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SITE_EXECUTION_COURSE` bigint(20),
  `OID_THESIS` bigint(20),
  `OID_UNIT` bigint(20),
  `PERSONALIZED_LOGO` tinyint(1),
  `PHOTO_URL` longtext,
  `PLACE` longtext,
  `PREFIX` longtext,
  `PRESS_RELEASE` tinyint(1),
  `PUBLICATION_BEGIN` timestamp NULL default NULL,
  `PUBLICATION_END` timestamp NULL default NULL,
  `READERS` longtext,
  `REFERED_SUBJECT_BEGIN` timestamp NULL default NULL,
  `REFERED_SUBJECT_END` timestamp NULL default NULL,
  `RESEARCH_UNIT` longtext,
  `RESEARCH_UNIT_HOMEPAGE` longtext,
  `SHOW_ACTIVE_STUDENT_CURRICULAR_PLANS` tinyint(1),
  `SHOW_ALTERNATIVE_HOMEPAGE` tinyint(1),
  `SHOW_ALUMNI_DEGREES` tinyint(1),
  `SHOW_ANNOUNCEMENTS` tinyint(1),
  `SHOW_BANNER` tinyint(1),
  `SHOW_CATEGORY` tinyint(1),
  `SHOW_CURRENT_ATTENDING_EXECUTION_COURSES` tinyint(1),
  `SHOW_CURRENT_EXECUTION_COURSES` tinyint(1),
  `SHOW_EMAIL` tinyint(1),
  `SHOW_EVENTS` tinyint(1),
  `SHOW_FLAGS` tinyint(1),
  `SHOW_INSTITUTION_LOGO` tinyint(1),
  `SHOW_INTERESTS` tinyint(1),
  `SHOW_INTRODUCTION` tinyint(1),
  `SHOW_MOBILE_TELEPHONE` tinyint(1),
  `SHOW_NAME` tinyint(1),
  `SHOW_PARTICIPATIONS` tinyint(1),
  `SHOW_PATENTS` tinyint(1),
  `SHOW_PHOTO` tinyint(1),
  `SHOW_PRIZES` tinyint(1),
  `SHOW_PUBLICATIONS` tinyint(1),
  `SHOW_RESEARCH_UNIT_HOMEPAGE` tinyint(1),
  `SHOW_TELEPHONE` tinyint(1),
  `SHOW_UNIT` tinyint(1),
  `SHOW_WORK_TELEPHONE` tinyint(1),
  `SIDE_BANNER` longtext,
  `STYLE` longtext,
  `SUBJECT` longtext,
  `TITLE` longtext,
  `UNIT_PERMITTED_MANAGEMENT_GROUP_TYPE` text,
  `UNIT_PERMITTED_READ_GROUP_TYPE` text,
  `UNIT_PERMITTED_WRITE_GROUP_TYPE` text,
  `VISIBLE` tinyint(1),
  `WRITERS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_AVAILABILITY_POLICY),
  index (OID_AVAILABILITY_POLICY),
  index (KEY_CAMPUS),
  index (OID_CAMPUS),
  index (KEY_CREATOR),
  index (OID_CREATOR),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_EXECUTION_PATH_VALUE),
  index (OID_EXECUTION_PATH_VALUE),
  index (KEY_FILE),
  index (OID_FILE),
  index (KEY_FUNCTIONALITY),
  index (OID_FUNCTIONALITY),
  index (KEY_INITIAL_CONTENT),
  index (OID_INITIAL_CONTENT),
  index (KEY_LOGO),
  index (OID_LOGO),
  index (KEY_META_DOMAIN_OBJECT),
  index (OID_META_DOMAIN_OBJECT),
  index (KEY_MODULE_ROOT_DOMAIN_OBJECT),
  index (OID_MODULE_ROOT_DOMAIN_OBJECT),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_PORTAL),
  index (OID_PORTAL),
  index (KEY_PORTAL_ROOT_DOMAIN_OBJECT),
  index (OID_PORTAL_ROOT_DOMAIN_OBJECT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SITE_EXECUTION_COURSE),
  index (OID_SITE_EXECUTION_COURSE),
  index (KEY_THESIS),
  index (OID_THESIS),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `CONTEXT` (
  `CHILD_ORDER` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_BEGIN_EXECUTION_PERIOD` int(11),
  `KEY_CHILD_DEGREE_MODULE` int(11),
  `KEY_CURRICULAR_PERIOD` int(11),
  `KEY_END_EXECUTION_PERIOD` int(11),
  `KEY_PARENT_COURSE_GROUP` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_BEGIN_EXECUTION_PERIOD` bigint(20),
  `OID_CHILD_DEGREE_MODULE` bigint(20),
  `OID_CURRICULAR_PERIOD` bigint(20),
  `OID_END_EXECUTION_PERIOD` bigint(20),
  `OID_PARENT_COURSE_GROUP` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BEGIN_EXECUTION_PERIOD),
  index (OID_BEGIN_EXECUTION_PERIOD),
  index (KEY_CHILD_DEGREE_MODULE),
  index (OID_CHILD_DEGREE_MODULE),
  index (KEY_CURRICULAR_PERIOD),
  index (OID_CURRICULAR_PERIOD),
  index (KEY_END_EXECUTION_PERIOD),
  index (OID_END_EXECUTION_PERIOD),
  index (KEY_PARENT_COURSE_GROUP),
  index (OID_PARENT_COURSE_GROUP),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CONTRACT_SITUATION` (
  `END_SITUATION` tinyint(1),
  `GIAF_ID` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CONTRIBUTOR` (
  `CONTRIBUTOR_ADDRESS` longtext,
  `CONTRIBUTOR_NAME` longtext,
  `CONTRIBUTOR_NUMBER` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COOPERATION` (
  `COOPERATION_TYPE` text,
  `END_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  `START_DATE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `COORDINATOR` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `RESPONSIBLE` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COORDINATOR_EXECUTION_DEGREE_COURSES_REPORT` (
  `BOLONHA_PROCESS_IMPLEMENTATION_REFLECTION` longtext,
  `GLOBAL_COMMENT` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COORDINATOR` int(11),
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_EXECUTION_INTERVAL` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_EDITION_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_COORDINATOR` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_EXECUTION_INTERVAL` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STEPS_TO_IMPROVE_RESULTS` longtext,
  `TEACHING_BEST_PRACTICES_DEVELOPED_BY_TEACHERS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COORDINATOR),
  index (OID_COORDINATOR),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_EXECUTION_INTERVAL),
  index (OID_EXECUTION_INTERVAL),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COST_CENTER` (
  `CODE` longtext,
  `DEPARTAMENT` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SECTION1` longtext,
  `SECTION2` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COUNTRY` (
  `CODE` longtext,
  `COUNTRY_NATIONALITY` longtext,
  `DEFAULT_COUNTRY` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LOCALIZED_NAME` longtext,
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `THREE_LETTER_CODE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COURSE_EQUIVALENCY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_MODALITY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SEMINARY` int(11),
  `OID` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_MODALITY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SEMINARY` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_MODALITY),
  index (OID_MODALITY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SEMINARY),
  index (OID_SEMINARY)
) type=InnoDB, character set utf8 ;

create table `COURSE_HISTORIC` (
  `APPROVED` int(11),
  `CURRICULAR_YEAR` longtext,
  `ENROLLED` int(11),
  `EVALUATED` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SEMESTER` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COURSE_LOAD` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TOTAL_QUANTITY` longtext,
  `TYPE` text,
  `UNIT_QUANTITY` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `COURSE_REPORT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REPORT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CREDITS` (
  `GIVEN_CREDITS` double,
  `GRADE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `CREDITS_IN_ANY_SECUNDARY_AREA` (
  `GIVEN_CREDITS` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ENROLMENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `OID` bigint(20),
  `OID_ENROLMENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ENROLMENT),
  index (OID_ENROLMENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `CREDITS_IN_SCIENTIFIC_AREA` (
  `GIVEN_CREDITS` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ENROLMENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SCIENTIFIC_AREA` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `OID` bigint(20),
  `OID_ENROLMENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SCIENTIFIC_AREA` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ENROLMENT),
  index (OID_ENROLMENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SCIENTIFIC_AREA),
  index (OID_SCIENTIFIC_AREA),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `CREDIT_LINE` (
  `CREDITS` double,
  `END` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `POSITION` longtext,
  `REASON` longtext,
  `START` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `CREDIT_NOTE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE` int(11),
  `KEY_RECEIPT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` int(11),
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_RECEIPT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STATE` text,
  `WHEN_CREATED` timestamp NULL default NULL,
  `WHEN_UPDATED` timestamp NULL default NULL,
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_RECEIPT),
  index (OID_RECEIPT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CREDIT_NOTE_ENTRY` (
  `AMOUNT` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ACCOUNTING_ENTRY` int(11),
  `KEY_ADJUSTMENT_ACCOUNTING_ENTRY` int(11),
  `KEY_CREDIT_NOTE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ACCOUNTING_ENTRY` bigint(20),
  `OID_ADJUSTMENT_ACCOUNTING_ENTRY` bigint(20),
  `OID_CREDIT_NOTE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ACCOUNTING_ENTRY),
  index (OID_ACCOUNTING_ENTRY),
  index (KEY_ADJUSTMENT_ACCOUNTING_ENTRY),
  index (OID_ADJUSTMENT_ACCOUNTING_ENTRY),
  index (KEY_CREDIT_NOTE),
  index (OID_CREDIT_NOTE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CRON_REGISTRY` (
  `BUILD_VERSION` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CRON_SCRIPT_INVOCATION` (
  `END_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CRON_SCRIPT_STATE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LOG` longtext,
  `OID` bigint(20),
  `OID_CRON_SCRIPT_STATE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SERVER_I_D` longtext,
  `START_TIME` timestamp NULL default NULL,
  `SUCCESSFUL` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CRON_SCRIPT_STATE),
  index (OID_CRON_SCRIPT_STATE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CRON_SCRIPT_STATE` (
  `ABSOLUTE_EXECUTION_ORDER` int(11),
  `ACTIVE` tinyint(1),
  `CONTEXT` longblob,
  `CRON_SCRIPT_CLASSNAME` longtext,
  `EMAILS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INVOCATION_PERIOD` longblob,
  `IS_CURRENTLY_RUNNING` tinyint(1),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REGISTRATION_DATE` timestamp NULL default NULL,
  `RUN_NOW` tinyint(1),
  `WHEN_TO_SEND_EMAIL` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CURRICULAR_COURSE_EQUIVALENCE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_EQUIVALENT_CURRICULAR_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_EQUIVALENT_CURRICULAR_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_EQUIVALENT_CURRICULAR_COURSE),
  index (OID_EQUIVALENT_CURRICULAR_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CURRICULAR_COURSE_SCOPE` (
  `ANOTATION` longtext,
  `BEGIN_YEAR_MONTH_DAY` longtext,
  `END_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_BRANCH` int(11),
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_CURRICULAR_SEMESTER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_BRANCH` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_CURRICULAR_SEMESTER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BRANCH),
  index (OID_BRANCH),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_CURRICULAR_SEMESTER),
  index (OID_CURRICULAR_SEMESTER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CURRICULAR_PERIOD` (
  `ACADEMIC_PERIOD` longtext,
  `CHILD_ORDER` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_PARENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_PARENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_PARENT),
  index (OID_PARENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CURRICULAR_RULE` (
  `ACADEMIC_PERIOD` longtext,
  `BOLONHA_DEGREE_TYPE` text,
  `COMPOSITE_RULE_TYPE` text,
  `CREDITS` double,
  `CURRICULAR_PERIOD_ORDER` int(11),
  `CURRICULAR_RULE_TYPE` text,
  `EVEN` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_BEGIN` int(11),
  `KEY_CONTEXT_COURSE_GROUP` int(11),
  `KEY_DEGREE` int(11),
  `KEY_DEGREE_MODULE_TO_APPLY_RULE` int(11),
  `KEY_DEPARTMENT_UNIT` int(11),
  `KEY_END` int(11),
  `KEY_EXCLUSIVE_DEGREE_MODULE` int(11),
  `KEY_NOT_RULE` int(11),
  `KEY_PARENT_COMPOSITE_RULE` int(11),
  `KEY_PRECEDENCE_DEGREE_MODULE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_WRAPPED_RULE` int(11),
  `MAXIMUM_CREDITS` double,
  `MAXIMUM_LIMIT` int(11),
  `MAXIMUM_YEAR` int(11),
  `MINIMUM_CREDITS` double,
  `MINIMUM_LIMIT` int(11),
  `MINIMUM_YEAR` int(11),
  `OID` bigint(20),
  `OID_BEGIN` bigint(20),
  `OID_CONTEXT_COURSE_GROUP` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_DEGREE_MODULE_TO_APPLY_RULE` bigint(20),
  `OID_DEPARTMENT_UNIT` bigint(20),
  `OID_END` bigint(20),
  `OID_EXCLUSIVE_DEGREE_MODULE` bigint(20),
  `OID_NOT_RULE` bigint(20),
  `OID_PARENT_COMPOSITE_RULE` bigint(20),
  `OID_PRECEDENCE_DEGREE_MODULE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_WRAPPED_RULE` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BEGIN),
  index (OID_BEGIN),
  index (KEY_CONTEXT_COURSE_GROUP),
  index (OID_CONTEXT_COURSE_GROUP),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_DEGREE_MODULE_TO_APPLY_RULE),
  index (OID_DEGREE_MODULE_TO_APPLY_RULE),
  index (KEY_DEPARTMENT_UNIT),
  index (OID_DEPARTMENT_UNIT),
  index (KEY_END),
  index (OID_END),
  index (KEY_EXCLUSIVE_DEGREE_MODULE),
  index (OID_EXCLUSIVE_DEGREE_MODULE),
  index (KEY_NOT_RULE),
  index (OID_NOT_RULE),
  index (KEY_PARENT_COMPOSITE_RULE),
  index (OID_PARENT_COMPOSITE_RULE),
  index (KEY_PRECEDENCE_DEGREE_MODULE),
  index (OID_PRECEDENCE_DEGREE_MODULE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_WRAPPED_RULE),
  index (OID_WRAPPED_RULE)
) type=InnoDB, character set utf8 ;

create table `CURRICULAR_SEMESTER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CURRICULAR_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SEMESTER` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_YEAR),
  index (OID_CURRICULAR_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CURRICULAR_YEAR` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CURRICULUM` (
  `GENERAL_OBJECTIVES` longtext,
  `GENERAL_OBJECTIVES_EN` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_PERSON_WHO_ALTERED` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_PERSON_WHO_ALTERED` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OPERACIONAL_OBJECTIVES` longtext,
  `OPERACIONAL_OBJECTIVES_EN` longtext,
  `PROGRAM` longtext,
  `PROGRAM_EN` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_PERSON_WHO_ALTERED),
  index (OID_PERSON_WHO_ALTERED),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `CURRICULUM_LINE_LOG` (
  `ACTION` int(11),
  `CREDITS` longtext,
  `DATE_DATE_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE_MODULE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_OPTIONAL_CURRICULAR_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_DEGREE_MODULE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_OPTIONAL_CURRICULAR_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `SOURCE_DESCRIPTION` longtext,
  `WHO` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE_MODULE),
  index (OID_DEGREE_MODULE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_OPTIONAL_CURRICULAR_COURSE),
  index (OID_OPTIONAL_CURRICULAR_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `CURRICULUM_MODULE` (
  `CREATED_BY` longtext,
  `CREATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `ECTS_CREDITS` double,
  `ENROLLMENT_STATE` text,
  `ENROLMENT_CONDITION` text,
  `ENROLMENT_EVALUATION_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IS_EXTRA_CURRICULAR` tinyint(1),
  `IS_FIRST_TIME` tinyint(1),
  `KEY_CONCLUSION_PROCESS` int(11),
  `KEY_CREDITS` int(11),
  `KEY_CURRICULUM_GROUP` int(11),
  `KEY_DEGREE_MODULE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_OPTIONAL_CURRICULAR_COURSE` int(11),
  `KEY_PARENT_STUDENT_CURRICULAR_PLAN` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `OID` bigint(20),
  `OID_CONCLUSION_PROCESS` bigint(20),
  `OID_CREDITS` bigint(20),
  `OID_CURRICULUM_GROUP` bigint(20),
  `OID_DEGREE_MODULE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_OPTIONAL_CURRICULAR_COURSE` bigint(20),
  `OID_PARENT_STUDENT_CURRICULAR_PLAN` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  `USED_IN_SEPARATION_CYCLE` tinyint(1),
  `WEIGTH` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONCLUSION_PROCESS),
  index (OID_CONCLUSION_PROCESS),
  index (KEY_CREDITS),
  index (OID_CREDITS),
  index (KEY_CURRICULUM_GROUP),
  index (OID_CURRICULUM_GROUP),
  index (KEY_DEGREE_MODULE),
  index (OID_DEGREE_MODULE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_OPTIONAL_CURRICULAR_COURSE),
  index (OID_OPTIONAL_CURRICULAR_COURSE),
  index (KEY_PARENT_STUDENT_CURRICULAR_PLAN),
  index (OID_PARENT_STUDENT_CURRICULAR_PLAN),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `DEGREE` (
  `CODE` longtext,
  `ECTS_CREDITS` double,
  `GRADE_SCALE` text,
  `ID_CARD_NAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PHD_PROGRAM` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SENDER` int(11),
  `KEY_SITE` int(11),
  `KEY_UNIT` int(11),
  `MINISTRY_CODE` longtext,
  `NAME_EN` longtext,
  `NOME` longtext,
  `OID` bigint(20),
  `OID_PHD_PROGRAM` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SENDER` bigint(20),
  `OID_SITE` bigint(20),
  `OID_UNIT` bigint(20),
  `PREVAILING_SCIENTIFIC_AREA` longtext,
  `SIGLA` longtext,
  `TIPO_CURSO` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PHD_PROGRAM),
  index (OID_PHD_PROGRAM),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SENDER),
  index (OID_SENDER),
  index (KEY_SITE),
  index (OID_SITE),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `DEGREE_CONTEXT` (
  `BEGIN_INTERVAL` longtext,
  `END_INTERVAL` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERIOD` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DEGREE_CURRICULAR_PLAN` (
  `ANOTATION` longtext,
  `APPLY_PREVIOUS_YEARS_ENROLMENT_RULE` tinyint(1),
  `CURRICULAR_PLAN_MEMBERS_GROUP` longtext,
  `CURRICULAR_STAGE` text,
  `DEGREE_DURATION` int(11),
  `DESCRIPTION` longtext,
  `DESCRIPTION_EN` longtext,
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `GRADE_SCALE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INITIAL_DATE_YEAR_MONTH_DAY` longtext,
  `KEY_DEGREE` int(11),
  `KEY_DEGREE_STRUCTURE` int(11),
  `KEY_EQUIVALENCE_PLAN` int(11),
  `KEY_ROOT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SERVICE_AGREEMENT_TEMPLATE` int(11),
  `MARK_TYPE` int(11),
  `MINIMAL_YEAR_FOR_OPTIONAL_COURSES` int(11),
  `NAME` longtext,
  `NEEDED_CREDITS` double,
  `NUMERUS_CLAUSUS` int(11),
  `OID` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_DEGREE_STRUCTURE` bigint(20),
  `OID_EQUIVALENCE_PLAN` bigint(20),
  `OID_ROOT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SERVICE_AGREEMENT_TEMPLATE` bigint(20),
  `STATE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_DEGREE_STRUCTURE),
  index (OID_DEGREE_STRUCTURE),
  index (KEY_EQUIVALENCE_PLAN),
  index (OID_EQUIVALENCE_PLAN),
  index (KEY_ROOT),
  index (OID_ROOT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SERVICE_AGREEMENT_TEMPLATE),
  index (OID_SERVICE_AGREEMENT_TEMPLATE)
) type=InnoDB, character set utf8 ;

create table `DEGREE_INFO` (
  `ADDITIONAL_INFO` longtext,
  `DESCRIPTION` longtext,
  `DRIFTS_FIRST` int(11),
  `DRIFTS_INITIAL` int(11),
  `DRIFTS_SECOND` int(11),
  `GRATUITY` longtext,
  `HISTORY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE` int(11),
  `KEY_DEGREE_INFO_CANDIDACY` int(11),
  `KEY_DEGREE_INFO_FUTURE` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LINKS` longtext,
  `MARK_AVERAGE` double,
  `MARK_MAX` double,
  `MARK_MIN` double,
  `NAME` longtext,
  `OID` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_DEGREE_INFO_CANDIDACY` bigint(20),
  `OID_DEGREE_INFO_FUTURE` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OPERATIONAL_REGIME` longtext,
  `SCHOOL_CALENDAR` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_DEGREE_INFO_CANDIDACY),
  index (OID_DEGREE_INFO_CANDIDACY),
  index (KEY_DEGREE_INFO_FUTURE),
  index (OID_DEGREE_INFO_FUTURE),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DEGREE_INFO_CANDIDACY` (
  `ACCESS_REQUISITES` longtext,
  `CANDIDACY_DOCUMENTS` longtext,
  `CANDIDACY_PERIOD` longtext,
  `ENROLMENT_PERIOD` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE_INFO` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DEGREE_INFO` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SELECTION_RESULT_DEADLINE` longtext,
  `TEST_INGRESSION` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE_INFO),
  index (OID_DEGREE_INFO),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DEGREE_INFO_FUTURE` (
  `CLASSIFICATIONS` longtext,
  `DESIGNED_FOR` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE_INFO` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OBJECTIVES` longtext,
  `OID` bigint(20),
  `OID_DEGREE_INFO` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PROFESSIONAL_EXITS` longtext,
  `QUALIFICATION_LEVEL` longtext,
  `RECOGNITIONS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE_INFO),
  index (OID_DEGREE_INFO),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DEGREE_MODULE` (
  `ACRONYM` longtext,
  `BASIC` tinyint(1),
  `CODE` longtext,
  `CREDITS` double,
  `CURRICULAR_COURSE_EXECUTION_SCOPE` int(11),
  `CURRICULAR_STAGE` text,
  `CYCLE_TYPE` text,
  `ECTS_CREDITS` double,
  `ENROLLMENT_ALLOWED` tinyint(1),
  `ENROLLMENT_WEIGTH` int(11),
  `GRADE_SCALE` text,
  `GRADUATE_TITLE_SUFFIX` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COMPETENCE_COURSE` int(11),
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_PARENT_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SCIENTIFIC_AREA` int(11),
  `KEY_STUDENT_COURSE_REPORT` int(11),
  `KEY_UNIVERSITY` int(11),
  `LAB_HOURS` double,
  `MANDATORY` tinyint(1),
  `MANDATORY_ENROLLMENT` tinyint(1),
  `MAXIMUM_VALUE_FOR_ACUMULATED_ENROLLMENTS` int(11),
  `MINIMUM_VALUE_FOR_ACUMULATED_ENROLLMENTS` int(11),
  `NAME` longtext,
  `NAME_EN` longtext,
  `OID` bigint(20),
  `OID_COMPETENCE_COURSE` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_PARENT_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SCIENTIFIC_AREA` bigint(20),
  `OID_STUDENT_COURSE_REPORT` bigint(20),
  `OID_UNIVERSITY` bigint(20),
  `PRATICAL_HOURS` double,
  `PREREQUISITES` longtext,
  `PREREQUISITES_EN` longtext,
  `REGIME_TYPE` text,
  `THEORETICAL_HOURS` double,
  `THEO_PRAT_HOURS` double,
  `TYPE` text,
  `WEIGTH` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COMPETENCE_COURSE),
  index (OID_COMPETENCE_COURSE),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_PARENT_DEGREE_CURRICULAR_PLAN),
  index (OID_PARENT_DEGREE_CURRICULAR_PLAN),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SCIENTIFIC_AREA),
  index (OID_SCIENTIFIC_AREA),
  index (KEY_STUDENT_COURSE_REPORT),
  index (OID_STUDENT_COURSE_REPORT),
  index (KEY_UNIVERSITY),
  index (OID_UNIVERSITY)
) type=InnoDB, character set utf8 ;

create table `DELEGATE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DELEGATE_FUNCTION` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DELEGATE_FUNCTION` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DELEGATE_FUNCTION),
  index (OID_DELEGATE_FUNCTION),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DELEGATE_ELECTION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CANDIDACY_PERIOD` int(11),
  `KEY_CURRICULAR_YEAR` int(11),
  `KEY_DEGREE` int(11),
  `KEY_ELECTED_STUDENT` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_VOTING_PERIOD` int(11),
  `OID` bigint(20),
  `OID_CANDIDACY_PERIOD` bigint(20),
  `OID_CURRICULAR_YEAR` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_ELECTED_STUDENT` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_VOTING_PERIOD` bigint(20),
  `SENT_RESULTS_TO_CANDIDATES` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CANDIDACY_PERIOD),
  index (OID_CANDIDACY_PERIOD),
  index (KEY_CURRICULAR_YEAR),
  index (OID_CURRICULAR_YEAR),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_ELECTED_STUDENT),
  index (OID_ELECTED_STUDENT),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_VOTING_PERIOD),
  index (OID_VOTING_PERIOD)
) type=InnoDB, character set utf8 ;

create table `DELEGATE_ELECTION_PERIOD` (
  `END_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DELEGATE_ELECTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DELEGATE_ELECTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `START_DATE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DELEGATE_ELECTION),
  index (OID_DELEGATE_ELECTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DELEGATE_ELECTION_VOTE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DELEGATE_ELECTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_DELEGATE_ELECTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DELEGATE_ELECTION),
  index (OID_DELEGATE_ELECTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `DELETE_FILE_LOG` (
  `EXTERNAL_STORAGE_IDENTIFICATION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REQUESTOR_IST_USERNAME` longtext,
  `REQUEST_TIME` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DELETE_FILE_REQUEST` (
  `DELETE_ITEM` tinyint(1),
  `EXTERNAL_STORAGE_IDENTIFICATION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REQUESTOR_IST_USERNAME` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DEPARTMENT` (
  `CODE` longtext,
  `COMPETENCE_COURSE_MEMBERS_GROUP` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEPARTMENT_UNIT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_DEPARTMENT_UNIT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REAL_NAME` longtext,
  `REAL_NAME_EN` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEPARTMENT_UNIT),
  index (OID_DEPARTMENT_UNIT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DEPLOY_NOTIFIER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NOTIFY_USERS` tinyint(1),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TIME_STAMP` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DISCOUNT` (
  `AMOUNT` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EVENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EVENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `USERNAME` longtext,
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EVENT),
  index (OID_EVENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DISTRIBUTED_TEST` (
  `BEGIN_DATE_DATE_YEAR_MONTH_DAY` longtext,
  `BEGIN_HOUR_DATE_HOUR_MINUTE_SECOND` time,
  `CORRECTION_AVAILABILITY` int(11),
  `END_DATE_DATE_YEAR_MONTH_DAY` longtext,
  `END_HOUR_DATE_HOUR_MINUTE_SECOND` time,
  `EVALUATION_TITLE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IMS_FEEDBACK` tinyint(1),
  `KEY_ONLINE_TEST` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEST_SCOPE` int(11),
  `NUMBER_OF_QUESTIONS` int(11),
  `OID` bigint(20),
  `OID_ONLINE_TEST` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEST_SCOPE` bigint(20),
  `TEST_INFORMATION` longtext,
  `TEST_TYPE` int(11),
  `TITLE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ONLINE_TEST),
  index (OID_ONLINE_TEST),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEST_SCOPE),
  index (OID_TEST_SCOPE)
) type=InnoDB, character set utf8 ;

create table `DISTRICT` (
  `CODE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DISTRICT_SUBDIVISION` (
  `CODE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DISTRICT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_DISTRICT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DISTRICT),
  index (OID_DISTRICT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DOMAIN_OBJECT_ACTION_LOG` (
  `ACTION` longtext,
  `DOMAIN_OBJECT_CLASS_NAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSTANT` timestamp NULL default NULL,
  `KEY_DOMAIN_OBJECT` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERSON_USERNAME` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `DOMAIN_OBJECT_ACTION_LOG_ENTRY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DOMAIN_OBJECT_ACTION_LOG` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_DOMAIN_OBJECT_ACTION_LOG` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `VALUE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DOMAIN_OBJECT_ACTION_LOG),
  index (OID_DOMAIN_OBJECT_ACTION_LOG),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EDUCATION_AREA` (
  `CODE` longtext,
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARENT_AREA` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARENT_AREA` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARENT_AREA),
  index (OID_PARENT_AREA),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMAIL` (
  `BCC_ADDRESSES` longtext,
  `BODY` longtext,
  `CC_ADDRESSES` longtext,
  `FROM_ADDRESS` longtext,
  `FROM_NAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REPLY_TOS` longtext,
  `SUBJECT` longtext,
  `TO_ADDRESSES` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE` (
  `ACTIVE` tinyint(1),
  `CREATION_DATE` timestamp NULL default NULL,
  `EMPLOYEE_NUMBER` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `WORKING_HOURS` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS),
  index (OID_ASSIDUOUSNESS),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_BONUS_INSTALLMENT` (
  `BONUS_TYPE` text,
  `COST_CENTER_CODE` int(11),
  `EXPLORATION_UNIT` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ANUAL_BONUS_INSTALLMENT` int(11),
  `KEY_EMPLOYEE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ANUAL_BONUS_INSTALLMENT` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SUB_COST_CENTER_CODE` longtext,
  `VALUE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ANUAL_BONUS_INSTALLMENT),
  index (OID_ANUAL_BONUS_INSTALLMENT),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_CONTRACT_SITUATION` (
  `ANULATION_DATE` timestamp NULL default NULL,
  `BEGIN_DATE` text,
  `CREATION_DATE` timestamp NULL default NULL,
  `END_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IMPORTATION_DATE` timestamp NULL default NULL,
  `KEY_CONTRACT_SITUATION` int(11),
  `KEY_EMPLOYEE` int(11),
  `KEY_PROFESSIONAL_CATEGORY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_CONTRACT_SITUATION` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_PROFESSIONAL_CATEGORY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STEP` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONTRACT_SITUATION),
  index (OID_CONTRACT_SITUATION),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_PROFESSIONAL_CATEGORY),
  index (OID_PROFESSIONAL_CATEGORY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_EXTRA_WORK_AUTHORIZATION` (
  `AUXILIAR_PERSONEL` tinyint(1),
  `EXECUTIVE_AUXILIAR_PERSONEL` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS` int(11),
  `KEY_EXTRA_WORK_AUTHORIZATION` int(11),
  `KEY_MODIFIED_BY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `NIGHT_EXTRA_WORK` tinyint(1),
  `NORMAL_EXTRA_WORK` tinyint(1),
  `NORMAL_EXTRA_WORK_PLUS_ONE_HUNDRED_HOURS` tinyint(1),
  `NORMAL_EXTRA_WORK_PLUS_TWO_HOURS` tinyint(1),
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS` bigint(20),
  `OID_EXTRA_WORK_AUTHORIZATION` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `WEEKLY_REST_EXTRA_WORK` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS),
  index (OID_ASSIDUOUSNESS),
  index (KEY_EXTRA_WORK_AUTHORIZATION),
  index (OID_EXTRA_WORK_AUTHORIZATION),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_FUNCTIONS_ACCUMULATION` (
  `ANULATION_DATE` timestamp NULL default NULL,
  `BEGIN_DATE` text,
  `CREATION_DATE` timestamp NULL default NULL,
  `END_DATE` text,
  `HOURS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IMPORTATION_DATE` timestamp NULL default NULL,
  `KEY_EMPLOYEE` int(11),
  `KEY_FUNCTIONS_ACCUMULATION` int(11),
  `KEY_PROFESSIONAL_REGIME` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_FUNCTIONS_ACCUMULATION` bigint(20),
  `OID_PROFESSIONAL_REGIME` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_FUNCTIONS_ACCUMULATION),
  index (OID_FUNCTIONS_ACCUMULATION),
  index (KEY_PROFESSIONAL_REGIME),
  index (OID_PROFESSIONAL_REGIME),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_HISTORIC` (
  `BEGIN_DATE_YEAR_MONTH_DAY` longtext,
  `CALENDAR` longtext,
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE` int(11),
  `KEY_MAILING_COST_CENTER` int(11),
  `KEY_RESPONSABLE_EMPLOYEE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SALARY_COST_CENTER` int(11),
  `KEY_WORKING_PLACE_COST_CENTER` int(11),
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_MAILING_COST_CENTER` bigint(20),
  `OID_RESPONSABLE_EMPLOYEE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SALARY_COST_CENTER` bigint(20),
  `OID_WORKING_PLACE_COST_CENTER` bigint(20),
  `WHEN_DATE_TIME` timestamp NULL default NULL,
  `WHO` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_MAILING_COST_CENTER),
  index (OID_MAILING_COST_CENTER),
  index (KEY_RESPONSABLE_EMPLOYEE),
  index (OID_RESPONSABLE_EMPLOYEE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SALARY_COST_CENTER),
  index (OID_SALARY_COST_CENTER),
  index (KEY_WORKING_PLACE_COST_CENTER),
  index (OID_WORKING_PLACE_COST_CENTER)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_MONTHLY_BONUS_INSTALLMENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE_BONUS_INSTALLMENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EMPLOYEE_BONUS_INSTALLMENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PARTIAL_YEAR_MONTH` longtext,
  `VALUE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE_BONUS_INSTALLMENT),
  index (OID_EMPLOYEE_BONUS_INSTALLMENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_PROFESSIONAL_CATEGORY` (
  `ANULATION_DATE` timestamp NULL default NULL,
  `BEGIN_DATE` text,
  `CREATION_DATE` timestamp NULL default NULL,
  `END_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IMPORTATION_DATE` timestamp NULL default NULL,
  `KEY_EMPLOYEE` int(11),
  `KEY_PROFESSIONAL_CATEGORY` int(11),
  `KEY_PROFESSIONAL_REGIME` int(11),
  `KEY_PROFESSIONAL_RELATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LEVEL` longtext,
  `MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_PROFESSIONAL_CATEGORY` bigint(20),
  `OID_PROFESSIONAL_REGIME` bigint(20),
  `OID_PROFESSIONAL_RELATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STEP` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_PROFESSIONAL_CATEGORY),
  index (OID_PROFESSIONAL_CATEGORY),
  index (KEY_PROFESSIONAL_REGIME),
  index (OID_PROFESSIONAL_REGIME),
  index (KEY_PROFESSIONAL_RELATION),
  index (OID_PROFESSIONAL_RELATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_PROFESSIONAL_CONTRACT` (
  `ANULATION_DATE` timestamp NULL default NULL,
  `BEGIN_DATE` text,
  `CREATION_DATE` timestamp NULL default NULL,
  `END_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IMPORTATION_DATE` timestamp NULL default NULL,
  `KEY_CONTRACT_SITUATION` int(11),
  `KEY_EMPLOYEE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_CONTRACT_SITUATION` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONTRACT_SITUATION),
  index (OID_CONTRACT_SITUATION),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_PROFESSIONAL_EXEMPTION` (
  `ANULATION_DATE` timestamp NULL default NULL,
  `BEGIN_DATE` text,
  `CREATION_DATE` timestamp NULL default NULL,
  `END_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IMPORTATION_DATE` timestamp NULL default NULL,
  `KEY_COUNTRY` int(11),
  `KEY_EMPLOYEE` int(11),
  `KEY_GRANT_OWNER_EQUIVALENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SERVICE_EXEMPTION` int(11),
  `LOCAL` longtext,
  `MODIFIED_DATE` timestamp NULL default NULL,
  `MOTIVE` longtext,
  `OID` bigint(20),
  `OID_COUNTRY` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_GRANT_OWNER_EQUIVALENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SERVICE_EXEMPTION` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COUNTRY),
  index (OID_COUNTRY),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_GRANT_OWNER_EQUIVALENT),
  index (OID_GRANT_OWNER_EQUIVALENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SERVICE_EXEMPTION),
  index (OID_SERVICE_EXEMPTION)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_PROFESSIONAL_REGIME` (
  `ANULATION_DATE` timestamp NULL default NULL,
  `BEGIN_DATE` text,
  `CREATION_DATE` timestamp NULL default NULL,
  `END_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IMPORTATION_DATE` timestamp NULL default NULL,
  `KEY_EMPLOYEE` int(11),
  `KEY_PROFESSIONAL_REGIME` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_PROFESSIONAL_REGIME` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_PROFESSIONAL_REGIME),
  index (OID_PROFESSIONAL_REGIME),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EMPLOYEE_PROFESSIONAL_RELATION` (
  `ANULATION_DATE` timestamp NULL default NULL,
  `BEGIN_DATE` text,
  `CREATION_DATE` timestamp NULL default NULL,
  `END_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IMPORTATION_DATE` timestamp NULL default NULL,
  `KEY_EMPLOYEE` int(11),
  `KEY_PROFESSIONAL_CATEGORY` int(11),
  `KEY_PROFESSIONAL_RELATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_PROFESSIONAL_CATEGORY` bigint(20),
  `OID_PROFESSIONAL_RELATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_PROFESSIONAL_CATEGORY),
  index (OID_PROFESSIONAL_CATEGORY),
  index (KEY_PROFESSIONAL_RELATION),
  index (OID_PROFESSIONAL_RELATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ENROLMENT_EVALUATION` (
  `CHECK_SUM` longtext,
  `ENROLMENT_EVALUATION_STATE` int(11),
  `ENROLMENT_EVALUATION_TYPE` text,
  `EXAM_DATE_YEAR_MONTH_DAY` longtext,
  `GRADE` longtext,
  `GRADE_AVAILABLE_DATE_YEAR_MONTH_DAY` longtext,
  `GRADE_VALUE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE` int(11),
  `KEY_ENROLMENT` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_IMPROVEMENT_OF_APPROVED_ENROLMENT_EVENT` int(11),
  `KEY_MARK_SHEET` int(11),
  `KEY_PERSON_RESPONSIBLE_FOR_GRADE` int(11),
  `KEY_RECTIFICATION` int(11),
  `KEY_RECTIFIED` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OBSERVATION` longtext,
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_ENROLMENT` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_IMPROVEMENT_OF_APPROVED_ENROLMENT_EVENT` bigint(20),
  `OID_MARK_SHEET` bigint(20),
  `OID_PERSON_RESPONSIBLE_FOR_GRADE` bigint(20),
  `OID_RECTIFICATION` bigint(20),
  `OID_RECTIFIED` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `WHEN_DATE_TIME` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_ENROLMENT),
  index (OID_ENROLMENT),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_IMPROVEMENT_OF_APPROVED_ENROLMENT_EVENT),
  index (OID_IMPROVEMENT_OF_APPROVED_ENROLMENT_EVENT),
  index (KEY_MARK_SHEET),
  index (OID_MARK_SHEET),
  index (KEY_PERSON_RESPONSIBLE_FOR_GRADE),
  index (OID_PERSON_RESPONSIBLE_FOR_GRADE),
  index (KEY_RECTIFICATION),
  index (OID_RECTIFICATION),
  index (KEY_RECTIFIED),
  index (OID_RECTIFIED),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ENROLMENT_PERIOD` (
  `END_DATE_DATE_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `START_DATE_DATE_TIME` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ENROLMENT_WRAPPER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CREDITS` int(11),
  `KEY_ENROLMENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CREDITS` bigint(20),
  `OID_ENROLMENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CREDITS),
  index (OID_CREDITS),
  index (KEY_ENROLMENT),
  index (OID_ENROLMENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ENTRY` (
  `ENTRY_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ACCOUNT` int(11),
  `KEY_ACCOUNTING_TRANSACTION` int(11),
  `KEY_ADJUSTMENT_CREDIT_NOTE_ENTRY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ACCOUNT` bigint(20),
  `OID_ACCOUNTING_TRANSACTION` bigint(20),
  `OID_ADJUSTMENT_CREDIT_NOTE_ENTRY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ORIGINAL_AMOUNT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ACCOUNT),
  index (OID_ACCOUNT),
  index (KEY_ACCOUNTING_TRANSACTION),
  index (OID_ACCOUNTING_TRANSACTION),
  index (KEY_ADJUSTMENT_CREDIT_NOTE_ENTRY),
  index (OID_ADJUSTMENT_CREDIT_NOTE_ENTRY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EQUIVALENCE_PLAN` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_OLD_STUDENT_CURRICULAR_PLAN` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SOURCE_DEGREE_CURRICULAR_PLAN` int(11),
  `OID` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_OLD_STUDENT_CURRICULAR_PLAN` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SOURCE_DEGREE_CURRICULAR_PLAN` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_OLD_STUDENT_CURRICULAR_PLAN),
  index (OID_OLD_STUDENT_CURRICULAR_PLAN),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SOURCE_DEGREE_CURRICULAR_PLAN),
  index (OID_SOURCE_DEGREE_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `EQUIVALENCE_PLAN_ENTRY` (
  `ECTS_CREDITS` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EQUIVALENCE_PLAN` int(11),
  `KEY_PREVIOUS_COURSE_GROUP_FOR_NEW_DEGREE_MODULES` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NEW_DEGREE_MODULES_OPERATOR` text,
  `OID` bigint(20),
  `OID_EQUIVALENCE_PLAN` bigint(20),
  `OID_PREVIOUS_COURSE_GROUP_FOR_NEW_DEGREE_MODULES` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SOURCE_DEGREE_MODULES_OPERATOR` text,
  `TRANSITIVE_SOURCE` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EQUIVALENCE_PLAN),
  index (OID_EQUIVALENCE_PLAN),
  index (KEY_PREVIOUS_COURSE_GROUP_FOR_NEW_DEGREE_MODULES),
  index (OID_PREVIOUS_COURSE_GROUP_FOR_NEW_DEGREE_MODULES),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ERROR_LOG` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXCEPTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXCEPTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STACK_TRACE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXCEPTION),
  index (OID_EXCEPTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EVALUATION` (
  `BEGINNING_DATE_HOUR_MINUTE_SECOND` time,
  `CREATION_DATE_TIME` timestamp NULL default NULL,
  `DAY_DATE_YEAR_MONTH_DAY` longtext,
  `DESCRIPTION` longtext,
  `END_DATE_HOUR_MINUTE_SECOND` time,
  `ENROLLMENT_BEGIN_DAY_DATE_YEAR_MONTH_DAY` longtext,
  `ENROLLMENT_BEGIN_TIME_DATE_HOUR_MINUTE_SECOND` time,
  `ENROLLMENT_END_DAY_DATE_YEAR_MONTH_DAY` longtext,
  `ENROLLMENT_END_TIME_DATE_HOUR_MINUTE_SECOND` time,
  `GRADE_SCALE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DISTRIBUTED_TEST` int(11),
  `KEY_GROUPING` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MAX_SUBMISSIONS_TO_KEEP` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_DISTRIBUTED_TEST` bigint(20),
  `OID_GROUPING` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ONLINE_SUBMISSIONS_ALLOWED` tinyint(1),
  `PROJECT_BEGIN_DATE_TIME` timestamp NULL default NULL,
  `PROJECT_END_DATE_TIME` timestamp NULL default NULL,
  `PUBLISHMENT_MESSAGE` longtext,
  `SEASON` int(11),
  `VIGILANTS_REPORT` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DISTRIBUTED_TEST),
  index (OID_DISTRIBUTED_TEST),
  index (KEY_GROUPING),
  index (OID_GROUPING),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EVALUATION_COMPLAIN` (
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `KEY_TEACHER` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `OID_TEACHER` bigint(20),
  `STUDENT_EVALUATION_COMPLAIN_DATE_YEAR_MONTH_DAY` longtext,
  `TEACHER_ANSWER` longtext,
  `TEACHER_ANSWER_DATE_YEAR_MONTH_DAY` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `EVALUATION_METHOD` (
  `EVALUATION_ELEMENTS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EVENT` (
  `CANCEL_JUSTIFICATION` longtext,
  `EVENT_STATE` text,
  `EVENT_STATE_DATE` timestamp NULL default NULL,
  `EVENT_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ACADEMIC_SERVICE_REQUEST` int(11),
  `KEY_ADMINISTRATIVE_OFFICE` int(11),
  `KEY_CANDIDACY` int(11),
  `KEY_CANDIDACY_PROCESS` int(11),
  `KEY_EMPLOYEE_RESPONSIBLE_FOR_CANCEL` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_GRATUITY_PAYMENT_PLAN` int(11),
  `KEY_INDIVIDUAL_CANDIDACY` int(11),
  `KEY_PERSON` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_RESIDENCE_MONTH` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `NUMBER_OF_DELAY_DAYS` int(11),
  `OID` bigint(20),
  `OID_ACADEMIC_SERVICE_REQUEST` bigint(20),
  `OID_ADMINISTRATIVE_OFFICE` bigint(20),
  `OID_CANDIDACY` bigint(20),
  `OID_CANDIDACY_PROCESS` bigint(20),
  `OID_EMPLOYEE_RESPONSIBLE_FOR_CANCEL` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_GRATUITY_PAYMENT_PLAN` bigint(20),
  `OID_INDIVIDUAL_CANDIDACY` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_RESIDENCE_MONTH` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  `PAST_ADMINISTRATIVE_OFFICE_FEE_AND_INSURANCE_AMOUNT` longtext,
  `PAST_AMOUNT` longtext,
  `PAST_DEGREE_GRATUITY_AMOUNT` longtext,
  `PAYMENT_END_DATE` longtext,
  `ROOM` longtext,
  `ROOM_VALUE` longtext,
  `WHEN_OCCURED` timestamp NULL default NULL,
  `WHEN_SENT_LETTER` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ACADEMIC_SERVICE_REQUEST),
  index (OID_ACADEMIC_SERVICE_REQUEST),
  index (KEY_ADMINISTRATIVE_OFFICE),
  index (OID_ADMINISTRATIVE_OFFICE),
  index (KEY_CANDIDACY),
  index (OID_CANDIDACY),
  index (KEY_CANDIDACY_PROCESS),
  index (OID_CANDIDACY_PROCESS),
  index (KEY_EMPLOYEE_RESPONSIBLE_FOR_CANCEL),
  index (OID_EMPLOYEE_RESPONSIBLE_FOR_CANCEL),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_GRATUITY_PAYMENT_PLAN),
  index (OID_GRATUITY_PAYMENT_PLAN),
  index (KEY_INDIVIDUAL_CANDIDACY),
  index (OID_INDIVIDUAL_CANDIDACY),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_RESIDENCE_MONTH),
  index (OID_RESIDENCE_MONTH),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `EVENT_CONFERENCE_ARTICLES_ASSOCIATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CONFERENCE_ARTICLE` int(11),
  `KEY_EVENT_EDITION` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CONFERENCE_ARTICLE` bigint(20),
  `OID_EVENT_EDITION` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONFERENCE_ARTICLE),
  index (OID_CONFERENCE_ARTICLE),
  index (KEY_EVENT_EDITION),
  index (OID_EVENT_EDITION),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EVENT_EDITION` (
  `EDITION` longtext,
  `END_DATE` longtext,
  `EVENT_LOCATION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EVENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EVENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ORGANIZATION` longtext,
  `START_DATE` longtext,
  `URL` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EVENT),
  index (OID_EVENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EXAM_COORDINATOR` (
  `ALLOWED_TO_CREATE_GROUPS` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `EXCEPTION_TYPE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TYPE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EXECUTION_COURSE` (
  `AVAILABLE_FOR_INQUIRIES` tinyint(1),
  `AVAILABLE_GRADE_SUBMISSION` tinyint(1),
  `COMMENT` longtext,
  `ENTRY_PHASE` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_BOARD` int(11),
  `KEY_COURSE_REPORT` int(11),
  `KEY_EVALUATION_METHOD` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SENDER` int(11),
  `KEY_SITE` int(11),
  `KEY_VIGILANT_GROUP` int(11),
  `NOME` longtext,
  `OID` bigint(20),
  `OID_BOARD` bigint(20),
  `OID_COURSE_REPORT` bigint(20),
  `OID_EVALUATION_METHOD` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SENDER` bigint(20),
  `OID_SITE` bigint(20),
  `OID_VIGILANT_GROUP` bigint(20),
  `SIGLA` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BOARD),
  index (OID_BOARD),
  index (KEY_COURSE_REPORT),
  index (OID_COURSE_REPORT),
  index (KEY_EVALUATION_METHOD),
  index (OID_EVALUATION_METHOD),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SENDER),
  index (OID_SENDER),
  index (KEY_SITE),
  index (OID_SITE),
  index (KEY_VIGILANT_GROUP),
  index (OID_VIGILANT_GROUP)
) type=InnoDB, character set utf8 ;

create table `EXECUTION_DEGREE` (
  `ANOTATION` longtext,
  `BEGIN_THESIS_CREATION_PERIOD` longtext,
  `END_THESIS_CREATION_PERIOD` longtext,
  `EXECUTION_INTERVAL` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CAMPUS` int(11),
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_GRATUITY_VALUES` int(11),
  `KEY_PERIOD_EXAMS_FIRST_SEMESTER` int(11),
  `KEY_PERIOD_EXAMS_SECOND_SEMESTER` int(11),
  `KEY_PERIOD_EXAMS_SPECIAL_SEASON` int(11),
  `KEY_PERIOD_GRADE_SUBMISSION_NORMAL_SEASON_FIRST_SEMESTER` int(11),
  `KEY_PERIOD_GRADE_SUBMISSION_NORMAL_SEASON_SECOND_SEMESTER` int(11),
  `KEY_PERIOD_GRADE_SUBMISSION_SPECIAL_SEASON` int(11),
  `KEY_PERIOD_LESSONS_FIRST_SEMESTER` int(11),
  `KEY_PERIOD_LESSONS_SECOND_SEMESTER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SCHEDULING` int(11),
  `OID` bigint(20),
  `OID_CAMPUS` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_GRATUITY_VALUES` bigint(20),
  `OID_PERIOD_EXAMS_FIRST_SEMESTER` bigint(20),
  `OID_PERIOD_EXAMS_SECOND_SEMESTER` bigint(20),
  `OID_PERIOD_EXAMS_SPECIAL_SEASON` bigint(20),
  `OID_PERIOD_GRADE_SUBMISSION_NORMAL_SEASON_FIRST_SEMESTER` bigint(20),
  `OID_PERIOD_GRADE_SUBMISSION_NORMAL_SEASON_SECOND_SEMESTER` bigint(20),
  `OID_PERIOD_GRADE_SUBMISSION_SPECIAL_SEASON` bigint(20),
  `OID_PERIOD_LESSONS_FIRST_SEMESTER` bigint(20),
  `OID_PERIOD_LESSONS_SECOND_SEMESTER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SCHEDULING` bigint(20),
  `TEMPORARY_EXAM_MAP` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CAMPUS),
  index (OID_CAMPUS),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_GRATUITY_VALUES),
  index (OID_GRATUITY_VALUES),
  index (KEY_PERIOD_EXAMS_FIRST_SEMESTER),
  index (OID_PERIOD_EXAMS_FIRST_SEMESTER),
  index (KEY_PERIOD_EXAMS_SECOND_SEMESTER),
  index (OID_PERIOD_EXAMS_SECOND_SEMESTER),
  index (KEY_PERIOD_EXAMS_SPECIAL_SEASON),
  index (OID_PERIOD_EXAMS_SPECIAL_SEASON),
  index (KEY_PERIOD_GRADE_SUBMISSION_NORMAL_SEASON_FIRST_SEMESTER),
  index (OID_PERIOD_GRADE_SUBMISSION_NORMAL_SEASON_FIRST_SEMESTER),
  index (KEY_PERIOD_GRADE_SUBMISSION_NORMAL_SEASON_SECOND_SEMESTER),
  index (OID_PERIOD_GRADE_SUBMISSION_NORMAL_SEASON_SECOND_SEMESTER),
  index (KEY_PERIOD_GRADE_SUBMISSION_SPECIAL_SEASON),
  index (OID_PERIOD_GRADE_SUBMISSION_SPECIAL_SEASON),
  index (KEY_PERIOD_LESSONS_FIRST_SEMESTER),
  index (OID_PERIOD_LESSONS_FIRST_SEMESTER),
  index (KEY_PERIOD_LESSONS_SECOND_SEMESTER),
  index (OID_PERIOD_LESSONS_SECOND_SEMESTER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SCHEDULING),
  index (OID_SCHEDULING)
) type=InnoDB, character set utf8 ;

create table `EXECUTION_INTERVAL` (
  `ACADEMIC_INTERVAL` longtext,
  `BEGIN_DATE_YEAR_MONTH_DAY` longtext,
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_INSURANCE_VALUE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_YEAR` int(11),
  `KEY_SHIFT_DISTRIBUTION` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_INSURANCE_VALUE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_YEAR` bigint(20),
  `OID_SHIFT_DISTRIBUTION` bigint(20),
  `STATE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_INSURANCE_VALUE),
  index (OID_INSURANCE_VALUE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_PERIOD),
  index (OID_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_YEAR),
  index (OID_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_YEAR),
  index (KEY_SHIFT_DISTRIBUTION),
  index (OID_SHIFT_DISTRIBUTION)
) type=InnoDB, character set utf8 ;

create table `EXECUTION_PATH` (
  `CONTENT_ID` longtext,
  `EXECUTION_PATH` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_FUNCTIONALITY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_FUNCTIONALITY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_FUNCTIONALITY),
  index (OID_FUNCTIONALITY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EXEMPTION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE` int(11),
  `KEY_EVENT` int(11),
  `KEY_EXEMPTION_JUSTIFICATION` int(11),
  `KEY_INSTALLMENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_EVENT` bigint(20),
  `OID_EXEMPTION_JUSTIFICATION` bigint(20),
  `OID_INSTALLMENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERCENTAGE` longtext,
  `VALUE` longtext,
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_EVENT),
  index (OID_EVENT),
  index (KEY_EXEMPTION_JUSTIFICATION),
  index (OID_EXEMPTION_JUSTIFICATION),
  index (KEY_INSTALLMENT),
  index (OID_INSTALLMENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EXEMPTION_JUSTIFICATION` (
  `CANDIDACY_EXEMPTION_JUSTIFICATION_TYPE` text,
  `DISPATCH_DATE` longtext,
  `GRATUITY_EXEMPTION_DISPATCH_DATE` longtext,
  `GRATUITY_EXEMPTION_JUSTIFICATION_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `JUSTIFICATION_TYPE` text,
  `KEY_EXEMPTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXEMPTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PENALTY_EXEMPTION_DISPATCH_DATE` longtext,
  `PENALTY_EXEMPTION_JUSTIFICATION_TYPE` text,
  `REASON` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXEMPTION),
  index (OID_EXEMPTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EXPECTATION_EVALUATION_GROUP` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_APPRAISER` int(11),
  `KEY_EVALUATED` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_APPRAISER` bigint(20),
  `OID_EVALUATED` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_APPRAISER),
  index (OID_APPRAISER),
  index (KEY_EVALUATED),
  index (OID_EVALUATED),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EXPORT_GROUPING` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_GROUPING` int(11),
  `KEY_RECEIVER_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SENDER_EXECUTION_COURSE` int(11),
  `KEY_SENDER_PERSON` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_GROUPING` bigint(20),
  `OID_RECEIVER_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SENDER_EXECUTION_COURSE` bigint(20),
  `OID_SENDER_PERSON` bigint(20),
  `PROPOSAL_STATE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_GROUPING),
  index (OID_GROUPING),
  index (KEY_RECEIVER_PERSON),
  index (OID_RECEIVER_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SENDER_EXECUTION_COURSE),
  index (OID_SENDER_EXECUTION_COURSE),
  index (KEY_SENDER_PERSON),
  index (OID_SENDER_PERSON)
) type=InnoDB, character set utf8 ;

create table `EXTERNAL_ACTIVITY` (
  `ACTIVITY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `EXTERNAL_CURRICULAR_COURSE` (
  `CODE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `EXTERNAL_ENROLMENT` (
  `CREATED_BY` longtext,
  `CREATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `ECTS_CREDITS` double,
  `EVALUATION_DATE` longtext,
  `GRADE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_EXTERNAL_CURRICULAR_COURSE` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_EXTERNAL_CURRICULAR_COURSE` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_EXTERNAL_CURRICULAR_COURSE),
  index (OID_EXTERNAL_CURRICULAR_COURSE),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EXTERNAL_REGISTRATION_DATA` (
  `COORDINATOR_NAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_INSTITUTION` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_INSTITUTION` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_INSTITUTION),
  index (OID_INSTITUTION),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `EXTRA_WORK_AUTHORIZATION` (
  `BEGIN_DATE` longtext,
  `END_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_MODIFIED_BY` int(11),
  `KEY_PAYING_UNIT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_WORKING_UNIT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_PAYING_UNIT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_WORKING_UNIT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_PAYING_UNIT),
  index (OID_PAYING_UNIT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_WORKING_UNIT),
  index (OID_WORKING_UNIT)
) type=InnoDB, character set utf8 ;

create table `EXTRA_WORK_REQUEST` (
  `ACCUMULATED_NIGHT_VACATIONS_AMOUNT` double,
  `ACCUMULATED_NORMAL_VACATIONS_AMOUNT` double,
  `ADD_TO_VACATIONS` tinyint(1),
  `ADD_TO_WEEK_REST_TIME` tinyint(1),
  `AMOUNT` double,
  `APPROVED` tinyint(1),
  `EXTRA_NIGHT_DAYS` int(11),
  `EXTRA_NIGHT_FIRST_LEVEL_AMOUNT` double,
  `EXTRA_NIGHT_HOURS` int(11),
  `EXTRA_NIGHT_HOURS_FIRST_LEVEL` int(11),
  `EXTRA_NIGHT_HOURS_SECOND_LEVEL` int(11),
  `EXTRA_NIGHT_MEAL_AMOUNT` double,
  `EXTRA_NIGHT_SECOND_LEVEL_AMOUNT` double,
  `HOLIDAY_AMOUNT` double,
  `HOLIDAY_HOURS` int(11),
  `HOURS_DONE_IN_PARTIAL_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS` int(11),
  `KEY_MODIFIED_BY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `NIGHT_HOURS` int(11),
  `NIGHT_VACATIONS_AMOUNT` double,
  `NIGHT_VACATIONS_DAYS` int(11),
  `NORMAL_VACATIONS_AMOUNT` double,
  `NORMAL_VACATIONS_DAYS` int(11),
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  `PARTIAL_PAYING_DATE` longtext,
  `REQUESTED_EXTRA_NIGHT_DAYS` int(11),
  `REQUESTED_EXTRA_NIGHT_HOURS` int(11),
  `REQUESTED_HOLIDAY_HOURS` int(11),
  `REQUESTED_NIGHT_HOURS` int(11),
  `REQUESTED_SATURDAY_HOURS` int(11),
  `REQUESTED_SUNDAY_HOURS` int(11),
  `REQUESTED_WORKDAY_HOURS` int(11),
  `SATURDAY_AMOUNT` double,
  `SATURDAY_HOURS` int(11),
  `SUNDAY_AMOUNT` double,
  `SUNDAY_HOURS` int(11),
  `WORKDAY_FIRST_LEVEL_AMOUNT` double,
  `WORKDAY_FIRST_LEVEL_HOURS` int(11),
  `WORKDAY_HOURS` int(11),
  `WORKDAY_SECOND_LEVEL_AMOUNT` double,
  `WORKDAY_SECOND_LEVEL_HOURS` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS),
  index (OID_ASSIDUOUSNESS),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `FILE` (
  `CANDIDACY_FILE_TYPE` text,
  `CHECKSUM` longtext,
  `CHECKSUM_ALGORITHM` longtext,
  `CONTENT` longblob,
  `DESCRIPTION` longtext,
  `DISPLAY_NAME` longtext,
  `DOCUMENT_TYPE` text,
  `EXTERNAL_STORAGE_IDENTIFICATION` longtext,
  `FILENAME` longtext,
  `FILE_RESULT_PERMITTED_GROUP_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ABSTRACT_THESIS` int(11),
  `KEY_ADDRESSEE` int(11),
  `KEY_ATTACHMENT` int(11),
  `KEY_BACKGROUND_BANNER` int(11),
  `KEY_BLUEPRINT` int(11),
  `KEY_CANDIDACY_DOCUMENT` int(11),
  `KEY_CLOSED_MONTH_DOCUMENT` int(11),
  `KEY_DISSERTATION_THESIS` int(11),
  `KEY_INDIVIDUAL_CANDIDACY` int(11),
  `KEY_JOB` int(11),
  `KEY_LETTER` int(11),
  `KEY_LOCAL_CONTENT` int(11),
  `KEY_MAIN_BANNER` int(11),
  `KEY_NEW_PARKING_DOCUMENT` int(11),
  `KEY_OPERATOR` int(11),
  `KEY_PHD_CANDIDACY_PROCESS` int(11),
  `KEY_PROJECT_SUBMISSION` int(11),
  `KEY_PROTOCOL` int(11),
  `KEY_RESULT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SOURCE` int(11),
  `KEY_UNIT` int(11),
  `KEY_UNIT_SITE` int(11),
  `KEY_UPLOADER` int(11),
  `LANGUAGE` text,
  `MIME_TYPE` longtext,
  `OID` bigint(20),
  `OID_ABSTRACT_THESIS` bigint(20),
  `OID_ADDRESSEE` bigint(20),
  `OID_ATTACHMENT` bigint(20),
  `OID_BACKGROUND_BANNER` bigint(20),
  `OID_BLUEPRINT` bigint(20),
  `OID_CANDIDACY_DOCUMENT` bigint(20),
  `OID_CLOSED_MONTH_DOCUMENT` bigint(20),
  `OID_DISSERTATION_THESIS` bigint(20),
  `OID_INDIVIDUAL_CANDIDACY` bigint(20),
  `OID_JOB` bigint(20),
  `OID_LETTER` bigint(20),
  `OID_LOCAL_CONTENT` bigint(20),
  `OID_MAIN_BANNER` bigint(20),
  `OID_NEW_PARKING_DOCUMENT` bigint(20),
  `OID_OPERATOR` bigint(20),
  `OID_PHD_CANDIDACY_PROCESS` bigint(20),
  `OID_PROJECT_SUBMISSION` bigint(20),
  `OID_PROTOCOL` bigint(20),
  `OID_RESULT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SOURCE` bigint(20),
  `OID_UNIT` bigint(20),
  `OID_UNIT_SITE` bigint(20),
  `OID_UPLOADER` bigint(20),
  `PERMITTED_GROUP` longtext,
  `REMARKS` longtext,
  `SIZE` int(11),
  `SUB_TITLE` longtext,
  `TITLE` longtext,
  `TYPE` text,
  `UPLOAD_TIME` timestamp NULL default NULL,
  `VISIBLE` tinyint(1),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ABSTRACT_THESIS),
  index (OID_ABSTRACT_THESIS),
  index (KEY_ADDRESSEE),
  index (OID_ADDRESSEE),
  index (KEY_ATTACHMENT),
  index (OID_ATTACHMENT),
  index (KEY_BACKGROUND_BANNER),
  index (OID_BACKGROUND_BANNER),
  index (KEY_BLUEPRINT),
  index (OID_BLUEPRINT),
  index (KEY_CANDIDACY_DOCUMENT),
  index (OID_CANDIDACY_DOCUMENT),
  index (KEY_CLOSED_MONTH_DOCUMENT),
  index (OID_CLOSED_MONTH_DOCUMENT),
  index (KEY_DISSERTATION_THESIS),
  index (OID_DISSERTATION_THESIS),
  index (KEY_INDIVIDUAL_CANDIDACY),
  index (OID_INDIVIDUAL_CANDIDACY),
  index (KEY_JOB),
  index (OID_JOB),
  index (KEY_LETTER),
  index (OID_LETTER),
  index (KEY_LOCAL_CONTENT),
  index (OID_LOCAL_CONTENT),
  index (KEY_MAIN_BANNER),
  index (OID_MAIN_BANNER),
  index (KEY_NEW_PARKING_DOCUMENT),
  index (OID_NEW_PARKING_DOCUMENT),
  index (KEY_OPERATOR),
  index (OID_OPERATOR),
  index (KEY_PHD_CANDIDACY_PROCESS),
  index (OID_PHD_CANDIDACY_PROCESS),
  index (KEY_PROJECT_SUBMISSION),
  index (OID_PROJECT_SUBMISSION),
  index (KEY_PROTOCOL),
  index (OID_PROTOCOL),
  index (KEY_RESULT),
  index (OID_RESULT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SOURCE),
  index (OID_SOURCE),
  index (KEY_UNIT),
  index (OID_UNIT),
  index (KEY_UNIT_SITE),
  index (OID_UNIT_SITE),
  index (KEY_UPLOADER),
  index (OID_UPLOADER)
) type=InnoDB, character set utf8 ;

create table `FILE_LOCAL_CONTENT` (
  `CONTENT` longblob,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_FILE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_FILE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PATH` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_FILE),
  index (OID_FILE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `FILE_LOCAL_CONTENT_METADATA` (
  `ENTRY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CONTENT` int(11),
  `OID` bigint(20),
  `OID_CONTENT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONTENT),
  index (OID_CONTENT)
) type=InnoDB, character set utf8 ;

create table `FINAL_DEGREE_WORK_GROUP` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_PROPOSAL_ATTRIBUTED` int(11),
  `KEY_PROPOSAL_ATTRIBUTED_BY_TEACHER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_PROPOSAL_ATTRIBUTED` bigint(20),
  `OID_PROPOSAL_ATTRIBUTED_BY_TEACHER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_PROPOSAL_ATTRIBUTED),
  index (OID_PROPOSAL_ATTRIBUTED),
  index (KEY_PROPOSAL_ATTRIBUTED_BY_TEACHER),
  index (OID_PROPOSAL_ATTRIBUTED_BY_TEACHER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `FORUM_SUBSCRIPTION` (
  `FAVORITE` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_FORUM` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_FORUM` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `RECEIVE_POSTS_BY_EMAIL` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_FORUM),
  index (OID_FORUM),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `FUNCTIONALITY_PARAMETER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_FUNCTIONALITY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TYPE` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_FUNCTIONALITY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TYPE` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_FUNCTIONALITY),
  index (OID_FUNCTIONALITY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TYPE),
  index (OID_TYPE)
) type=InnoDB, character set utf8 ;

create table `FUNCTIONALITY_PRINTERS` (
  `FUNCTIONALITY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PRINTERS` longtext,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `FUNCTIONS_ACCUMULATION` (
  `GIAF_ID` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `F_A_Q_ENTRY` (
  `ANSWER` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARENT_SECTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARENT_SECTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `QUESTION` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARENT_SECTION),
  index (OID_PARENT_SECTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `F_A_Q_SECTION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARENT_SECTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARENT_SECTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SECTION_NAME` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARENT_SECTION),
  index (OID_PARENT_SECTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GAUGING_TEST_RESULT` (
  `CF_STRING` longtext,
  `CORRECT` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `P1` longtext,
  `P10` longtext,
  `P11` longtext,
  `P12` longtext,
  `P13` longtext,
  `P14` longtext,
  `P15` longtext,
  `P16` longtext,
  `P17` longtext,
  `P18` longtext,
  `P19` longtext,
  `P2` longtext,
  `P20` longtext,
  `P21` longtext,
  `P22` longtext,
  `P23` longtext,
  `P24` longtext,
  `P25` longtext,
  `P26` longtext,
  `P27` longtext,
  `P28` longtext,
  `P3` longtext,
  `P4` longtext,
  `P5` longtext,
  `P6` longtext,
  `P7` longtext,
  `P8` longtext,
  `P9` longtext,
  `TEST` int(11),
  `UNANSWERED` int(11),
  `WRONG` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `GENERAL_CLASS_PROPERTY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME_STRING` longtext,
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `VALUE_STRING` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GENERIC_EVENT` (
  `BEGIN_DATE` longtext,
  `DAILY_FREQUENCY_MARK_SATURDAY` tinyint(1),
  `DAILY_FREQUENCY_MARK_SUNDAY` tinyint(1),
  `DESCRIPTION` longtext,
  `END_DATE` longtext,
  `END_TIME_DATE_HOUR_MINUTE_SECOND` time,
  `FREQUENCY` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PUNCTUAL_ROOMS_OCCUPATION_REQUEST` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PUNCTUAL_ROOMS_OCCUPATION_REQUEST` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `START_TIME_DATE_HOUR_MINUTE_SECOND` time,
  `TITLE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PUNCTUAL_ROOMS_OCCUPATION_REQUEST),
  index (OID_PUNCTUAL_ROOMS_OCCUPATION_REQUEST),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GLOSSARY_ENTRY` (
  `DEFINITION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TERM` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_CONTRACT` (
  `CONTRACT_NUMBER` int(11),
  `DATE_ACCEPT_TERM_YEAR_MONTH_DAY` longtext,
  `END_CONTRACT_MOTIVE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GRANT_COST_CENTER` int(11),
  `KEY_GRANT_INSURANCE` int(11),
  `KEY_GRANT_OWNER` int(11),
  `KEY_GRANT_TYPE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_GRANT_COST_CENTER` bigint(20),
  `OID_GRANT_INSURANCE` bigint(20),
  `OID_GRANT_OWNER` bigint(20),
  `OID_GRANT_TYPE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GRANT_COST_CENTER),
  index (OID_GRANT_COST_CENTER),
  index (KEY_GRANT_INSURANCE),
  index (OID_GRANT_INSURANCE),
  index (KEY_GRANT_OWNER),
  index (OID_GRANT_OWNER),
  index (KEY_GRANT_TYPE),
  index (OID_GRANT_TYPE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_CONTRACT_MOVEMENT` (
  `ARRIVAL_DATE_YEAR_MONTH_DAY` longtext,
  `DEPARTURE_DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GRANT_CONTRACT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LOCATION` longtext,
  `OID` bigint(20),
  `OID_GRANT_CONTRACT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GRANT_CONTRACT),
  index (OID_GRANT_CONTRACT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_CONTRACT_REGIME` (
  `DATE_BEGIN_CONTRACT_YEAR_MONTH_DAY` longtext,
  `DATE_DISPATCH_C_C_YEAR_MONTH_DAY` longtext,
  `DATE_DISPATCH_C_D_YEAR_MONTH_DAY` longtext,
  `DATE_END_CONTRACT_YEAR_MONTH_DAY` longtext,
  `DATE_SEND_DISPATCH_C_C_YEAR_MONTH_DAY` longtext,
  `DATE_SEND_DISPATCH_C_D_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GRANT_CONTRACT` int(11),
  `KEY_GRANT_COST_CENTER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `OID` bigint(20),
  `OID_GRANT_CONTRACT` bigint(20),
  `OID_GRANT_COST_CENTER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `STATE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GRANT_CONTRACT),
  index (OID_GRANT_CONTRACT),
  index (KEY_GRANT_COST_CENTER),
  index (OID_GRANT_COST_CENTER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `GRANT_INSURANCE` (
  `DATE_BEGIN_INSURANCE_YEAR_MONTH_DAY` longtext,
  `DATE_END_INSURANCE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GRANT_CONTRACT` int(11),
  `KEY_GRANT_PAYMENT_ENTITY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_GRANT_CONTRACT` bigint(20),
  `OID_GRANT_PAYMENT_ENTITY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TOTAL_VALUE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GRANT_CONTRACT),
  index (OID_GRANT_CONTRACT),
  index (KEY_GRANT_PAYMENT_ENTITY),
  index (OID_GRANT_PAYMENT_ENTITY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_ORIENTATION_TEACHER` (
  `BEGIN_DATE_YEAR_MONTH_DAY` longtext,
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GRANT_CONTRACT` int(11),
  `KEY_ORIENTATION_TEACHER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_GRANT_CONTRACT` bigint(20),
  `OID_ORIENTATION_TEACHER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GRANT_CONTRACT),
  index (OID_GRANT_CONTRACT),
  index (KEY_ORIENTATION_TEACHER),
  index (OID_ORIENTATION_TEACHER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_OWNER` (
  `CARD_COPY_NUMBER` int(11),
  `DATE_SEND_C_G_D_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_OWNER_EQUIVALENT` (
  `GIAF_ID` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_PART` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GRANT_PAYMENT_ENTITY` int(11),
  `KEY_GRANT_SUBSIDY` int(11),
  `KEY_RESPONSIBLE_TEACHER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_GRANT_PAYMENT_ENTITY` bigint(20),
  `OID_GRANT_SUBSIDY` bigint(20),
  `OID_RESPONSIBLE_TEACHER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERCENTAGE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GRANT_PAYMENT_ENTITY),
  index (OID_GRANT_PAYMENT_ENTITY),
  index (KEY_GRANT_SUBSIDY),
  index (OID_GRANT_SUBSIDY),
  index (KEY_RESPONSIBLE_TEACHER),
  index (OID_RESPONSIBLE_TEACHER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_PAYMENT_ENTITY` (
  `DESIGNATION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GRANT_COST_CENTER` int(11),
  `KEY_RESPONSIBLE_TEACHER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` longtext,
  `OID` bigint(20),
  `OID_GRANT_COST_CENTER` bigint(20),
  `OID_RESPONSIBLE_TEACHER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GRANT_COST_CENTER),
  index (OID_GRANT_COST_CENTER),
  index (KEY_RESPONSIBLE_TEACHER),
  index (OID_RESPONSIBLE_TEACHER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_SUBSIDY` (
  `DATE_BEGIN_SUBSIDY_YEAR_MONTH_DAY` longtext,
  `DATE_END_SUBSIDY_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GRANT_CONTRACT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_GRANT_CONTRACT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STATE` int(11),
  `TOTAL_COST` double,
  `VALUE` double,
  `VALUE_FULL_NAME` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GRANT_CONTRACT),
  index (OID_GRANT_CONTRACT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRANT_TYPE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INDICATIVE_VALUE` double,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MAX_PERIOD_DAYS` int(11),
  `MIN_PERIOD_DAYS` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SIGLA` longtext,
  `SOURCE` longtext,
  `VALID_UNTIL` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GRATUITY_SITUATION` (
  `EXEMPTION_DESCRIPTION` longtext,
  `EXEMPTION_PERCENTAGE` int(11),
  `EXEMPTION_TYPE` text,
  `EXEMPTION_VALUE` double,
  `HAS_PENALTY_EXEMPTION` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE` int(11),
  `KEY_GRATUITY_VALUES` int(11),
  `KEY_PAYMENT_CODE` int(11),
  `KEY_PENALTY_EXEMPTION_EMPLOYEE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_GRATUITY_VALUES` bigint(20),
  `OID_PAYMENT_CODE` bigint(20),
  `OID_PENALTY_EXEMPTION_EMPLOYEE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  `PENALTY_EXEMPTION_DATE` longtext,
  `PENALTY_EXEMPTION_JUSTIFICATION` longtext,
  `REMAINING_VALUE` double,
  `TOTAL_VALUE` double,
  `WHEN_DATE_TIME` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_GRATUITY_VALUES),
  index (OID_GRATUITY_VALUES),
  index (KEY_PAYMENT_CODE),
  index (OID_PAYMENT_CODE),
  index (KEY_PENALTY_EXEMPTION_EMPLOYEE),
  index (OID_PENALTY_EXEMPTION_EMPLOYEE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `GRATUITY_VALUES` (
  `ANUAL_VALUE` double,
  `COURSE_VALUE` double,
  `CREDIT_VALUE` double,
  `END_PAYMENT_YEAR_MONTH_DAY` longtext,
  `FINAL_PROOF_VALUE` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE` int(11),
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PENALTY_APPLICABLE` tinyint(1),
  `PROOF_REQUEST_PAYMENT` tinyint(1),
  `SCHOLAR_SHIP_VALUE` double,
  `START_PAYMENT_YEAR_MONTH_DAY` longtext,
  `WHEN_DATE_TIME` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GROUPING` (
  `ENROLMENT_BEGIN_DAY_DATE_DATE_TIME` timestamp NULL default NULL,
  `ENROLMENT_END_DAY_DATE_DATE_TIME` timestamp NULL default NULL,
  `ENROLMENT_POLICY` int(11),
  `GROUP_MAXIMUM_NUMBER` int(11),
  `IDEAL_CAPACITY` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MAXIMUM_CAPACITY` int(11),
  `MINIMUM_CAPACITY` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PROJECT_DESCRIPTION` longtext,
  `SHIFT_TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GROUP_PROPOSAL` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_FINAL_DEGREE_DEGREE_WORK_GROUP` int(11),
  `KEY_FINAL_DEGREE_WORK_PROPOSAL` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_FINAL_DEGREE_DEGREE_WORK_GROUP` bigint(20),
  `OID_FINAL_DEGREE_WORK_PROPOSAL` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ORDER_OF_PREFERENCE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_FINAL_DEGREE_DEGREE_WORK_GROUP),
  index (OID_FINAL_DEGREE_DEGREE_WORK_GROUP),
  index (KEY_FINAL_DEGREE_WORK_PROPOSAL),
  index (OID_FINAL_DEGREE_WORK_PROPOSAL),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GROUP_STUDENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_FINAL_DEGREE_DEGREE_WORK_GROUP` int(11),
  `KEY_FINAL_DEGREE_WORK_PROPOSAL_CONFIRMATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_FINAL_DEGREE_DEGREE_WORK_GROUP` bigint(20),
  `OID_FINAL_DEGREE_WORK_PROPOSAL_CONFIRMATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_FINAL_DEGREE_DEGREE_WORK_GROUP),
  index (OID_FINAL_DEGREE_DEGREE_WORK_GROUP),
  index (KEY_FINAL_DEGREE_WORK_PROPOSAL_CONFIRMATION),
  index (OID_FINAL_DEGREE_WORK_PROPOSAL_CONFIRMATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `GUIDE` (
  `CREATION_DATE_YEAR_MONTH_DAY` longtext,
  `GUIDE_REQUESTER` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CONTRIBUTOR` int(11),
  `KEY_CONTRIBUTOR_PARTY` int(11),
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` int(11),
  `OID` bigint(20),
  `OID_CONTRIBUTOR` bigint(20),
  `OID_CONTRIBUTOR_PARTY` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PAYMENT_DATE_YEAR_MONTH_DAY` longtext,
  `PAYMENT_TYPE` text,
  `REMARKS` longtext,
  `TOTAL_BIG_DECIMAL` longtext,
  `VERSION` int(11),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONTRIBUTOR),
  index (OID_CONTRIBUTOR),
  index (KEY_CONTRIBUTOR_PARTY),
  index (OID_CONTRIBUTOR_PARTY),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GUIDE_ENTRY` (
  `DESCRIPTION` longtext,
  `DOCUMENT_TYPE` text,
  `GRADUATION_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GUIDE` int(11),
  `KEY_PAYMENT_TRANSACTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_GUIDE` bigint(20),
  `OID_PAYMENT_TRANSACTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PRICE_BIG_DECIMAL` longtext,
  `QUANTITY` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GUIDE),
  index (OID_GUIDE),
  index (KEY_PAYMENT_TRANSACTION),
  index (OID_PAYMENT_TRANSACTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `GUIDE_SITUATION` (
  `DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GUIDE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_GUIDE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REMARKS` longtext,
  `SITUATION` text,
  `STATE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GUIDE),
  index (OID_GUIDE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `HOLIDAY` (
  `DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_LOCALITY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_LOCALITY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_LOCALITY),
  index (OID_LOCALITY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `IDENTIFICATION` (
  `ACTIVE` tinyint(1),
  `BEGIN_DATE_DATE_TIME` timestamp NULL default NULL,
  `CARD_STATE` text,
  `END_DATE_DATE_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IS_PASS_IN_KERBEROS` tinyint(1),
  `KEY_CARD` int(11),
  `KEY_MODIFIED_BY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_USER` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_CARD` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_USER` bigint(20),
  `PASSWORD` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CARD),
  index (OID_CARD),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_USER),
  index (OID_USER)
) type=InnoDB, character set utf8 ;

create table `ID_DOCUMENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ID_DOCUMENT_TYPE` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ID_DOCUMENT_TYPE` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `VALUE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ID_DOCUMENT_TYPE),
  index (OID_ID_DOCUMENT_TYPE),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ID_DOCUMENT_TYPE_OBJECT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `VALUE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `INDIVIDUAL_CANDIDACY` (
  `AFFINITY` longtext,
  `APPROVED_ECTS_RATE` longtext,
  `CANDIDACY_DATE` text,
  `CANDIDACY_GRADE` longtext,
  `DEGREE_NATURE` int(11),
  `DISABILITIES` longtext,
  `DISLOCATED_FROM_PERMANENT_RESIDENCE` tinyint(1),
  `EDUCATION` longtext,
  `FATHER_PROFESSIONAL_CONDITION` text,
  `FATHER_PROFESSION_TYPE` text,
  `FATHER_SCHOOL_LEVEL` text,
  `FORMER_STUDENT_NUMBER` longtext,
  `GRADE_RATE` longtext,
  `GRANT_OWNER_TYPE` text,
  `HIGH_SCHOOL_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INTERVIEW_GRADE` longtext,
  `KEY_ACCEPTED_DEGREE` int(11),
  `KEY_CANDIDACY_PROCESS` int(11),
  `KEY_COUNTRY_OF_RESIDENCE` int(11),
  `KEY_DISTRICT_SUBDIVISION_OF_RESIDENCE` int(11),
  `KEY_EVENT` int(11),
  `KEY_GRANT_OWNER_PROVIDER` int(11),
  `KEY_PERSONAL_DETAILS` int(11),
  `KEY_PRECEDENT_DEGREE_INFORMATION` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SCHOOL_TIME_DISTRICT_SUB_DIVISION_OF_RESIDENCE` int(11),
  `KEY_SELECTED_DEGREE` int(11),
  `LANGUAGES` longtext,
  `LANGUAGES_READ` longtext,
  `LANGUAGES_SPEAK` longtext,
  `LANGUAGES_WRITE` longtext,
  `MARITAL_STATUS` text,
  `MOTHER_PROFESSIONAL_CONDITION` text,
  `MOTHER_PROFESSION_TYPE` text,
  `MOTHER_SCHOOL_LEVEL` text,
  `NOTES` longtext,
  `NUMBER_OF_CANDIDACIES_TO_HIGHER_SCHOOL` int(11),
  `NUMBER_OF_FLUNKS_ON_HIGH_SCHOOL` int(11),
  `OBSERVATIONS` longtext,
  `OID` bigint(20),
  `OID_ACCEPTED_DEGREE` bigint(20),
  `OID_CANDIDACY_PROCESS` bigint(20),
  `OID_COUNTRY_OF_RESIDENCE` bigint(20),
  `OID_DISTRICT_SUBDIVISION_OF_RESIDENCE` bigint(20),
  `OID_EVENT` bigint(20),
  `OID_GRANT_OWNER_PROVIDER` bigint(20),
  `OID_PERSONAL_DETAILS` bigint(20),
  `OID_PRECEDENT_DEGREE_INFORMATION` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SCHOOL_TIME_DISTRICT_SUB_DIVISION_OF_RESIDENCE` bigint(20),
  `OID_SELECTED_DEGREE` bigint(20),
  `OTHER_EDUCATION` longtext,
  `PROFESSIONAL_CONDITION` text,
  `PROFESSIONAL_EXPERIENCE` int(11),
  `PROFESSIONAL_STATUS` longtext,
  `PROFESSION_TYPE` text,
  `RESPONSIBLE` longtext,
  `SERIES_CANDIDACY_GRADE` longtext,
  `SPOUSE_PROFESSIONAL_CONDITION` text,
  `SPOUSE_PROFESSION_TYPE` text,
  `SPOUSE_SCHOOL_LEVEL` text,
  `STATE` text,
  `UTL_STUDENT` tinyint(1),
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ACCEPTED_DEGREE),
  index (OID_ACCEPTED_DEGREE),
  index (KEY_CANDIDACY_PROCESS),
  index (OID_CANDIDACY_PROCESS),
  index (KEY_COUNTRY_OF_RESIDENCE),
  index (OID_COUNTRY_OF_RESIDENCE),
  index (KEY_DISTRICT_SUBDIVISION_OF_RESIDENCE),
  index (OID_DISTRICT_SUBDIVISION_OF_RESIDENCE),
  index (KEY_EVENT),
  index (OID_EVENT),
  index (KEY_GRANT_OWNER_PROVIDER),
  index (OID_GRANT_OWNER_PROVIDER),
  index (KEY_PERSONAL_DETAILS),
  index (OID_PERSONAL_DETAILS),
  index (KEY_PRECEDENT_DEGREE_INFORMATION),
  index (OID_PRECEDENT_DEGREE_INFORMATION),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SCHOOL_TIME_DISTRICT_SUB_DIVISION_OF_RESIDENCE),
  index (OID_SCHOOL_TIME_DISTRICT_SUB_DIVISION_OF_RESIDENCE),
  index (KEY_SELECTED_DEGREE),
  index (OID_SELECTED_DEGREE)
) type=InnoDB, character set utf8 ;

create table `INDIVIDUAL_CANDIDACY_PERSONAL_DETAILS` (
  `ADDRESS` longtext,
  `AREA` longtext,
  `AREA_CODE` longtext,
  `AREA_OF_AREA_CODE` longtext,
  `DATE_OF_BIRTH_YEAR_MONTH_DAY` longtext,
  `DOCUMENT_ID_NUMBER` longtext,
  `EMAIL` longtext,
  `EMISSION_DATE_OF_DOCUMENT_ID_YEAR_MONTH_DAY` longtext,
  `EMISSION_LOCATION_OF_DOCUMENT_ID` longtext,
  `EXPIRATION_DATE_OF_DOCUMENT_ID_YEAR_MONTH_DAY` longtext,
  `FISCAL_CODE` longtext,
  `GENDER` text,
  `ID_DOCUMENT_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INTERNALIZED` tinyint(1),
  `KEY_CANDIDACY` int(11),
  `KEY_COUNTRY_OF_RESIDENCE` int(11),
  `KEY_NATIONALITY` int(11),
  `KEY_PERSON` int(11),
  `MARITAL_STATUS` text,
  `NAME` longtext,
  `OID` bigint(20),
  `OID_CANDIDACY` bigint(20),
  `OID_COUNTRY_OF_RESIDENCE` bigint(20),
  `OID_NATIONALITY` bigint(20),
  `OID_PERSON` bigint(20),
  `PROFESSION` longtext,
  `TELEPHONE_CONTACT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CANDIDACY),
  index (OID_CANDIDACY),
  index (KEY_COUNTRY_OF_RESIDENCE),
  index (OID_COUNTRY_OF_RESIDENCE),
  index (KEY_NATIONALITY),
  index (OID_NATIONALITY),
  index (KEY_PERSON),
  index (OID_PERSON)
) type=InnoDB, character set utf8 ;

create table `INQUIRIES_COURSE` (
  `ACTIVITY_PARTICIPATION` int(11),
  `ANSWER_DURATION` bigint(20),
  `APPROVATION_RATIO_CLASSIFICATION` char,
  `ARITHMETIC_MEAN_CLASSIFICATION` char,
  `AUTONOMOUS_LEARNING_CAPACITY` int(11),
  `CLASSIFICATION_IN_THIS_C_U` longtext,
  `CLASS_COORDINATION` double,
  `CONTRIBUTION_FOR_GRADUATION` double,
  `COOPERATION_AND_COMUNICATION_CAPACITY` int(11),
  `CRITIC_SENSE_AND_REFLEXIVE_SPIRIT` int(11),
  `ENTRY_GRADE_CLASSIFICATION` char,
  `EVALUATION_METHOD_ADEQUATION` double,
  `FAIR_EVALUATION_METHODS` int(11),
  `GLOBAL_APPRECIATION` double,
  `GLOBAL_CLASSIFICATION_OF_C_U` int(11),
  `GOOD_GUIDANCE_MATERIAL` int(11),
  `HIGH_WORK_LOAD_REASON_COMPLEX_PROJECTS` tinyint(1),
  `HIGH_WORK_LOAD_REASON_CURRICULAR_PROGRAM_EXTENSION` tinyint(1),
  `HIGH_WORK_LOAD_REASON_CU_ORGANIZATION_PROBLEMS` tinyint(1),
  `HIGH_WORK_LOAD_REASON_EXTENSE_PROJECTS` tinyint(1),
  `HIGH_WORK_LOAD_REASON_LACK_OF_ATTENDANCE_OF_LESSONS` tinyint(1),
  `HIGH_WORK_LOAD_REASON_LACK_OF_PREVIOUS_PREPARATION` tinyint(1),
  `HIGH_WORK_LOAD_REASON_MANY_PROJECTS` tinyint(1),
  `HIGH_WORK_LOAD_REASON_OTHER_REASONS` longtext,
  `HIGH_WORK_LOAD_REASON_PERSONAL_OR_TEAM_PROBLEMS` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_EXECUTION_DEGREE_COURSE` int(11),
  `KEY_EXECUTION_DEGREE_STUDENT` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_SCHOOL_CLASS` int(11),
  `KNOWLEDGE_AND_COMPREHENSION_OF_C_U` int(11),
  `KNOWLEDGE_APPLICATION_OF_C_U` int(11),
  `NOT_ANSWERED_JUSTIFICATION` text,
  `NOT_ANSWERED_OTHER_JUSTIFICATION` longtext,
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_EXECUTION_DEGREE_COURSE` bigint(20),
  `OID_EXECUTION_DEGREE_STUDENT` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_SCHOOL_CLASS` bigint(20),
  `ONLINE_INFO` double,
  `PREDICTED_PROGRAM_TEACHED` int(11),
  `PREVIOUS_KNOWLEDGE_ARTICULATION` double,
  `PREVIOUS_KNOWLEDGE_ENOUGH_TO_C_U_ATTENDANCE` int(11),
  `RECOMENDEND_BIBLIOGRAPHY_IMPORTANCE` int(11),
  `RESPONSE_DATE_TIME` timestamp NULL default NULL,
  `SOCIAL_AND_PROFESSIONAL_CONTEXT_ANALYSIS` int(11),
  `STUDENT_CURRICULAR_YEAR` int(11),
  `STUDENT_FIRST_ENROLLMENT` int(11),
  `STUDY_DAYS_SPENT_IN_EXAMS_SEASON` double,
  `STUDY_ELEMENTS_CONTRIBUTION` double,
  `STUDY_METHOD_ATTEND_TO_CLASSES` tinyint(1),
  `STUDY_METHOD_OTHER` longtext,
  `STUDY_METHOD_STUDENT_DOCUMENTS` tinyint(1),
  `STUDY_METHOD_SUGGESTED_BIBLIOGRAPHY` tinyint(1),
  `STUDY_METHOD_TEACHER_DOCUMENTS` tinyint(1),
  `WEEKLY_HOURS_SPENT_IN_CLASSES_SEASON` int(11),
  `WEEKLY_HOURS_SPENT_PERCENTAGE` int(11),
  `WEEKLY_SPENT_HOURS` int(11),
  `WELL_STRUCTURED_OF_C_U` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_EXECUTION_DEGREE_COURSE),
  index (OID_EXECUTION_DEGREE_COURSE),
  index (KEY_EXECUTION_DEGREE_STUDENT),
  index (OID_EXECUTION_DEGREE_STUDENT),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_SCHOOL_CLASS),
  index (OID_STUDENT_SCHOOL_CLASS)
) type=InnoDB, character set utf8 ;

create table `INQUIRIES_REGISTRY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `STATE` text,
  `STUDY_DAYS_SPENT_IN_EXAMS_SEASON` double,
  `WEEKLY_HOURS_SPENT_PERCENTAGE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `INQUIRIES_ROOM` (
  `ENVIRONMENTAL_CONDITIONS` int(11),
  `EQUIPMENT_QUALITY` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_INQUIRIES_COURSE` int(11),
  `KEY_ROOM` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_INQUIRIES_COURSE` bigint(20),
  `OID_ROOM` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SPACE_ADEQUATION` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_INQUIRIES_COURSE),
  index (OID_INQUIRIES_COURSE),
  index (KEY_ROOM),
  index (OID_ROOM),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `INQUIRIES_STUDENT_EXECUTION_PERIOD` (
  `DONT_WANT_TO_RESPOND` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `WEEKLY_HOURS_SPENT_IN_CLASSES_SEASON` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `INQUIRIES_TEACHER` (
  `CLASSES_FREQUENCY` int(11),
  `GLOBAL_APPRECIATION` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_INQUIRIES_COURSE` int(11),
  `KEY_NON_AFFILIATED_TEACHER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `LOW_CLASSES_FREQUENCY_REASON_CONTENTS` tinyint(1),
  `LOW_CLASSES_FREQUENCY_REASON_FLUNKEE_STUDENT` tinyint(1),
  `LOW_CLASSES_FREQUENCY_REASON_OTHER` tinyint(1),
  `LOW_CLASSES_FREQUENCY_REASON_SCHEDULE` tinyint(1),
  `LOW_CLASSES_FREQUENCY_REASON_TEACHER` tinyint(1),
  `OID` bigint(20),
  `OID_INQUIRIES_COURSE` bigint(20),
  `OID_NON_AFFILIATED_TEACHER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `SHIFT_TYPE` text,
  `STUDENT_ASSIDUITY` int(11),
  `SUITED_CLASSES_RYTHM` int(11),
  `TEACHER_ACOMPLISHED_SCHEDULE_AND_ACTIVITIES` int(11),
  `TEACHER_ASSIDUITY` int(11),
  `TEACHER_ASSURANCE` double,
  `TEACHER_AVAILABILITY` double,
  `TEACHER_CLARITY` double,
  `TEACHER_COMMITED` int(11),
  `TEACHER_EXPOSED_CONTENTS_ATRACTIVELY` int(11),
  `TEACHER_EXPOSED_CONTENTS_CLEARLY` int(11),
  `TEACHER_GLOBAL_CLASSIFICATION` int(11),
  `TEACHER_INTEREST_STIMULATION` double,
  `TEACHER_OPEN_TO_CLEAR_DOUBTS` int(11),
  `TEACHER_PUNCTUALITY` double,
  `TEACHER_REASONING_STIMULATION` double,
  `TEACHER_SHOWED_SECURITY` int(11),
  `TEACHER_STIMULATED_PARTICIPATION` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_INQUIRIES_COURSE),
  index (OID_INQUIRIES_COURSE),
  index (KEY_NON_AFFILIATED_TEACHER),
  index (OID_NON_AFFILIATED_TEACHER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `INQUIRY_RESPONSE_PERIOD` (
  `BEGIN` timestamp NULL default NULL,
  `END` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INTRODUCTION` longtext,
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `INSTALLMENT` (
  `AMOUNT` longtext,
  `ECTS_FOR_AMOUNT` longtext,
  `END_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSTALLMENT_ORDER` int(11),
  `KEY_PAYMENT_PLAN` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MAX_MONTHS_TO_APPLY_PENALTY` int(11),
  `OID` bigint(20),
  `OID_PAYMENT_PLAN` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PENALTY_APPLIABLE` tinyint(1),
  `PENALTY_PERCENTAGE` longtext,
  `START_DATE` longtext,
  `WHEN_CREATED` timestamp NULL default NULL,
  `WHEN_START_TO_APPLY_PENALTY` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PAYMENT_PLAN),
  index (OID_PAYMENT_PLAN),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `INSURANCE_VALUE` (
  `ANNUAL_VALUE_BIG_DECIMAL` longtext,
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `INTERNSHIP_CANDIDACY` (
  `AREA` longtext,
  `AREA_CODE` longtext,
  `BIRTHDAY` text,
  `CANDIDACY_CODE` int(11),
  `CANDIDACY_DATE` timestamp NULL default NULL,
  `DEGREE` longtext,
  `DOCUMENT_ID_NUMBER` longtext,
  `EMAIL` longtext,
  `EMISSION_DATE_OF_DOCUMENT_ID` text,
  `EMISSION_DATE_OF_PASSPORT` text,
  `EMISSION_LOCATION_OF_DOCUMENT_ID` longtext,
  `EMISSION_LOCATION_OF_PASSPORT` longtext,
  `ENGLISH` text,
  `EXPIRATION_DATE_OF_DOCUMENT_ID` text,
  `EXPIRATION_DATE_OF_PASSPORT` text,
  `FRENCH` text,
  `GENDER` text,
  `GERMAN` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COUNTRY_OF_BIRTH` int(11),
  `KEY_FIRST_DESTINATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SECOND_DESTINATION` int(11),
  `KEY_THIRD_DESTINATION` int(11),
  `KEY_UNIVERSITY` int(11),
  `MOBILE_PHONE` longtext,
  `NAME` longtext,
  `OID` bigint(20),
  `OID_COUNTRY_OF_BIRTH` bigint(20),
  `OID_FIRST_DESTINATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SECOND_DESTINATION` bigint(20),
  `OID_THIRD_DESTINATION` bigint(20),
  `OID_UNIVERSITY` bigint(20),
  `PARISH_OF_BIRTH` longtext,
  `PASSPORT_ID_NUMBER` longtext,
  `PREVIOUS_CANDIDACY` tinyint(1),
  `SPANISH` text,
  `STREET` longtext,
  `STUDENT_NUMBER` longtext,
  `STUDENT_YEAR` int(11),
  `TELEPHONE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COUNTRY_OF_BIRTH),
  index (OID_COUNTRY_OF_BIRTH),
  index (KEY_FIRST_DESTINATION),
  index (OID_FIRST_DESTINATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SECOND_DESTINATION),
  index (OID_SECOND_DESTINATION),
  index (KEY_THIRD_DESTINATION),
  index (OID_THIRD_DESTINATION),
  index (KEY_UNIVERSITY),
  index (OID_UNIVERSITY)
) type=InnoDB, character set utf8 ;

create table `JOB` (
  `BEGIN_DATE` text,
  `CITY` longtext,
  `CONTRACT_TYPE` text,
  `EMPLOYER_NAME` longtext,
  `END_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `JOB_APPLICATION_TYPE` text,
  `KEY_BUSINESS_AREA` int(11),
  `KEY_COUNTRY` int(11),
  `KEY_CREATOR` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_BUSINESS_AREA` bigint(20),
  `OID_COUNTRY` bigint(20),
  `OID_CREATOR` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `POSITION` longtext,
  `SALARY_TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BUSINESS_AREA),
  index (OID_BUSINESS_AREA),
  index (KEY_COUNTRY),
  index (OID_COUNTRY),
  index (KEY_CREATOR),
  index (OID_CREATOR),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `JOURNAL_ISSUE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SCIENTIFIC_JOURNAL` int(11),
  `MONTH` text,
  `NUMBER` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SCIENTIFIC_JOURNAL` bigint(20),
  `SPECIAL_ISSUE` tinyint(1),
  `SPECIAL_ISSUE_COMMENT` longtext,
  `URL` longtext,
  `VOLUME` longtext,
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SCIENTIFIC_JOURNAL),
  index (OID_SCIENTIFIC_JOURNAL)
) type=InnoDB, character set utf8 ;

create table `JUSTIFICATION_MOTIVE` (
  `ACCUMULATE` tinyint(1),
  `ACRONYM` longtext,
  `ACTIVE` tinyint(1),
  `ACTUAL_WORK_TIME` tinyint(1),
  `DAY_TYPE` text,
  `DESCRIPTION` longtext,
  `DISCOUNT_A17_VACATIONS` tinyint(1),
  `DISCOUNT_BONUS` tinyint(1),
  `GIAF_CODE_ADIST_STATUS` longtext,
  `GIAF_CODE_CONTRACTED_STATUS` longtext,
  `GIAF_CODE_OTHER_STATUS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IN_EXERCISE` tinyint(1),
  `JUSTIFICATION_GROUP` text,
  `JUSTIFICATION_TYPE` text,
  `KEY_MODIFIED_BY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `LESSON` (
  `BEGIN_HOUR_MINUTE_SECOND` time,
  `DIA_SEMANA` int(11),
  `END_HOUR_MINUTE_SECOND` time,
  `FREQUENCY` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_LESSON_SPACE_OCCUPATION` int(11),
  `KEY_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SHIFT` int(11),
  `OID` bigint(20),
  `OID_LESSON_SPACE_OCCUPATION` bigint(20),
  `OID_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SHIFT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_LESSON_SPACE_OCCUPATION),
  index (OID_LESSON_SPACE_OCCUPATION),
  index (KEY_PERIOD),
  index (OID_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SHIFT),
  index (OID_SHIFT)
) type=InnoDB, character set utf8 ;

create table `LESSON_INSTANCE` (
  `BEGIN_DATE_TIME` timestamp NULL default NULL,
  `END_DATE_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COURSE_LOAD` int(11),
  `KEY_LESSON` int(11),
  `KEY_LESSON_INSTANCE_SPACE_OCCUPATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SUMMARY` int(11),
  `OID` bigint(20),
  `OID_COURSE_LOAD` bigint(20),
  `OID_LESSON` bigint(20),
  `OID_LESSON_INSTANCE_SPACE_OCCUPATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SUMMARY` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COURSE_LOAD),
  index (OID_COURSE_LOAD),
  index (KEY_LESSON),
  index (OID_LESSON),
  index (KEY_LESSON_INSTANCE_SPACE_OCCUPATION),
  index (OID_LESSON_INSTANCE_SPACE_OCCUPATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SUMMARY),
  index (OID_SUMMARY)
) type=InnoDB, character set utf8 ;

create table `LESSON_PLANNING` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LESSON_TYPE` text,
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ORDER_OF_PLANNING` int(11),
  `PLANNING` longtext,
  `TITLE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `LIBRARY_CARD` (
  `CARD_EMITION_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LETTER_GENERATION_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PARTY_CLASSIFICATION` text,
  `PIN` int(11),
  `UNIT_NAME` longtext,
  `USER_NAME` longtext,
  `VALID_UNTIL` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `LOCALITY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `LOGIN_ALIAS` (
  `ALIAS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_LOGIN` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_LOGIN` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ROLE_TYPE` text,
  `TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_LOGIN),
  index (OID_LOGIN),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `LOGIN_PERIOD` (
  `BEGIN_DATE` longtext,
  `END_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_LOGIN` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_LOGIN` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_LOGIN),
  index (OID_LOGIN),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `LOGIN_REQUEST` (
  `HASH` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_USER` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_USER` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_USER),
  index (OID_USER)
) type=InnoDB, character set utf8 ;

create table `MANAGEMENT_GROUPS` (
  `ASSIDUOUSNESS_MANAGERS` longtext,
  `ASSIDUOUSNESS_SECTION_STAFF` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PAYROLL_SECTION_STAFF` longtext,
  `PROTOCOL_MANAGERS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `MARK` (
  `GRADE_LIST_VERSION` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ATTEND` int(11),
  `KEY_EVALUATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MARK` longtext,
  `OID` bigint(20),
  `OID_ATTEND` bigint(20),
  `OID_EVALUATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PUBLISHED_MARK` longtext,
  `SUBMITED_MARK` longtext,
  `SUBMIT_DATE_YEAR_MONTH_DAY` longtext,
  `WHEN_SUBMITED_YEAR_MONTH_DAY` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ATTEND),
  index (OID_ATTEND),
  index (KEY_EVALUATION),
  index (OID_EVALUATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `MARK_SHEET` (
  `ARCHIVE_INFORMATION` longtext,
  `CHECK_SUM` longtext,
  `CONFIRMATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `CREATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `EVALUATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CONFIRMATION_EMPLOYEE` int(11),
  `KEY_CREATION_EMPLOYEE` int(11),
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_RESPONSIBLE_TEACHER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MARK_SHEET_STATE` text,
  `MARK_SHEET_TYPE` text,
  `OID` bigint(20),
  `OID_CONFIRMATION_EMPLOYEE` bigint(20),
  `OID_CREATION_EMPLOYEE` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_RESPONSIBLE_TEACHER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PRINTED` tinyint(1),
  `REASON` longtext,
  `SUBMITTED_BY_TEACHER` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONFIRMATION_EMPLOYEE),
  index (OID_CONFIRMATION_EMPLOYEE),
  index (KEY_CREATION_EMPLOYEE),
  index (OID_CREATION_EMPLOYEE),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_RESPONSIBLE_TEACHER),
  index (OID_RESPONSIBLE_TEACHER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `MASTER_DEGREE_CANDIDATE` (
  `AVERAGE` double,
  `CANDIDATE_NUMBER` int(11),
  `COURSES_TO_ASSIST` longtext,
  `COURSE_ASSISTANT` tinyint(1),
  `GIVEN_CREDITS` double,
  `GIVEN_CREDITS_REMARKS` longtext,
  `HAS_GUIDER` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_GUIDER` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MAJOR_DEGREE` longtext,
  `MAJOR_DEGREE_SCHOOL` longtext,
  `MAJOR_DEGREE_YEAR` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_GUIDER` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SPECIALIZATION` text,
  `SPECIALIZATION_AREA` longtext,
  `SUBSTITUTE_ORDER` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_GUIDER),
  index (OID_GUIDER),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `MASTER_DEGREE_PROOF_VERSION` (
  `ATTACHED_COPIES_NUMBER` int(11),
  `CURRENT_STATE` int(11),
  `FINAL_RESULT` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_MASTER_DEGREE_THESIS` int(11),
  `KEY_RESPONSIBLE_EMPLOYEE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFICATION_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_MASTER_DEGREE_THESIS` bigint(20),
  `OID_RESPONSIBLE_EMPLOYEE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PROOF_DATE_YEAR_MONTH_DAY` longtext,
  `THESIS_DELIVERY_DATE_YEAR_MONTH_DAY` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_MASTER_DEGREE_THESIS),
  index (OID_MASTER_DEGREE_THESIS),
  index (KEY_RESPONSIBLE_EMPLOYEE),
  index (OID_RESPONSIBLE_EMPLOYEE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `MASTER_DEGREE_THESIS` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `MASTER_DEGREE_THESIS_DATA_VERSION` (
  `CURRENT_STATE` int(11),
  `DISSERTATION_TITLE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_MASTER_DEGREE_THESIS` int(11),
  `KEY_RESPONSIBLE_EMPLOYEE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFICATION_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_MASTER_DEGREE_THESIS` bigint(20),
  `OID_RESPONSIBLE_EMPLOYEE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_MASTER_DEGREE_THESIS),
  index (OID_MASTER_DEGREE_THESIS),
  index (KEY_RESPONSIBLE_EMPLOYEE),
  index (OID_RESPONSIBLE_EMPLOYEE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `MEAL` (
  `BEGIN_MEAL_BREAK` time,
  `END_MEAL_BREAK` time,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MANDATORY_MEAL_DISCOUNT` bigint(20),
  `MINIMUM_MEAL_BREAK_INTERVAL` bigint(20),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `MESSAGE` (
  `BCCS` longtext,
  `BODY` longtext,
  `CREATED` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FROM_PENDING_RELATION` int(11),
  `KEY_SENDER` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FROM_PENDING_RELATION` bigint(20),
  `OID_SENDER` bigint(20),
  `SENT` timestamp NULL default NULL,
  `SUBJECT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_ROOT_DOMAIN_OBJECT_FROM_PENDING_RELATION),
  index (OID_ROOT_DOMAIN_OBJECT_FROM_PENDING_RELATION),
  index (KEY_SENDER),
  index (OID_SENDER)
) type=InnoDB, character set utf8 ;

create table `METADATA` (
  `AUTHOR` longtext,
  `DESCRIPTION` longtext,
  `DIFFICULTY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LEARNING_TIME_DATE_HOUR_MINUTE_SECOND` time,
  `LEVEL` longtext,
  `MAIN_SUBJECT` longtext,
  `METADATA_FILE` longtext,
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SECONDARY_SUBJECT` longtext,
  `VISIBILITY` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `META_DOMAIN_OBJECT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TYPE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `MODALITY` (
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `NEW_ANSWER` (
  `CONCRETE_ANSWER` longblob,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ATOMIC_QUESTION` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ATOMIC_QUESTION` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERCENTAGE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ATOMIC_QUESTION),
  index (OID_ATOMIC_QUESTION),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `NEW_CORRECTOR` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ATOMIC_QUESTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ATOMIC_QUESTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERCENTAGE` int(11),
  `POSITION` int(11),
  `PREDICATE` longblob,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ATOMIC_QUESTION),
  index (OID_ATOMIC_QUESTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `NEW_GROUP_ELEMENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CHILD` int(11),
  `KEY_PARENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CHILD` bigint(20),
  `OID_PARENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `POSITION` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CHILD),
  index (OID_CHILD),
  index (KEY_PARENT),
  index (OID_PARENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `NEW_PARKING_DOCUMENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARKING_FILE` int(11),
  `KEY_PARKING_PARTY` int(11),
  `KEY_PARKING_REQUEST` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_VEHICLE` int(11),
  `OID` bigint(20),
  `OID_PARKING_FILE` bigint(20),
  `OID_PARKING_PARTY` bigint(20),
  `OID_PARKING_REQUEST` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_VEHICLE` bigint(20),
  `PARKING_DOCUMENT_TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARKING_FILE),
  index (OID_PARKING_FILE),
  index (KEY_PARKING_PARTY),
  index (OID_PARKING_PARTY),
  index (KEY_PARKING_REQUEST),
  index (OID_PARKING_REQUEST),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_VEHICLE),
  index (OID_VEHICLE)
) type=InnoDB, character set utf8 ;

create table `NEW_PERMISSION_UNIT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARTY` int(11),
  `KEY_QUESTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_QUESTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERMISSION` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_QUESTION),
  index (OID_QUESTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `NEW_PRESENTATION_MATERIAL` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INLINE` tinyint(1),
  `KEY_PICTURE_MATERIAL_FILE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEST_ELEMENT` int(11),
  `MATH_ML` longtext,
  `OID` bigint(20),
  `OID_PICTURE_MATERIAL_FILE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEST_ELEMENT` bigint(20),
  `POSITION` int(11),
  `TEXT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PICTURE_MATERIAL_FILE),
  index (OID_PICTURE_MATERIAL_FILE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEST_ELEMENT),
  index (OID_TEST_ELEMENT)
) type=InnoDB, character set utf8 ;

create table `NEW_TEST_ELEMENT` (
  `COUNT` int(11),
  `CREATED` timestamp NULL default NULL,
  `GRADE` longblob,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_BAG` int(11),
  `KEY_BAG_MODEL` int(11),
  `KEY_CREATOR` int(11),
  `KEY_MULTIPLE_CHOICE_QUESTION` int(11),
  `KEY_OWNER` int(11),
  `KEY_PARENT_GROUP` int(11),
  `KEY_QUESTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SECTION` int(11),
  `KEY_TEST_GROUP` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_BAG` bigint(20),
  `OID_BAG_MODEL` bigint(20),
  `OID_CREATOR` bigint(20),
  `OID_MULTIPLE_CHOICE_QUESTION` bigint(20),
  `OID_OWNER` bigint(20),
  `OID_PARENT_GROUP` bigint(20),
  `OID_QUESTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SECTION` bigint(20),
  `OID_TEST_GROUP` bigint(20),
  `POSITION` int(11),
  `PRE_CONDITION` longblob,
  `SCALE` double,
  `SECTION_POSITION` int(11),
  `SHUFFLE` tinyint(1),
  `TIMES_USED` int(11),
  `VALIDATOR` longblob,
  `VALUE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BAG),
  index (OID_BAG),
  index (KEY_BAG_MODEL),
  index (OID_BAG_MODEL),
  index (KEY_CREATOR),
  index (OID_CREATOR),
  index (KEY_MULTIPLE_CHOICE_QUESTION),
  index (OID_MULTIPLE_CHOICE_QUESTION),
  index (KEY_OWNER),
  index (OID_OWNER),
  index (KEY_PARENT_GROUP),
  index (OID_PARENT_GROUP),
  index (KEY_QUESTION),
  index (OID_QUESTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SECTION),
  index (OID_SECTION),
  index (KEY_TEST_GROUP),
  index (OID_TEST_GROUP)
) type=InnoDB, character set utf8 ;

create table `NEW_TEST_GROUP` (
  `BEGIN_DATE` timestamp NULL default NULL,
  `FINAL_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CREATOR` int(11),
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_CREATOR` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STATUS` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CREATOR),
  index (OID_CREATOR),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `NODE` (
  `ASCENDING` tinyint(1),
  `CONTENT_ID` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CHILD` int(11),
  `KEY_PARENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NODE_ORDER` int(11),
  `OID` bigint(20),
  `OID_CHILD` bigint(20),
  `OID_PARENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `VISIBLE` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CHILD),
  index (OID_CHILD),
  index (KEY_PARENT),
  index (OID_PARENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `NON_AFFILIATED_TEACHER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_INSTITUTION_UNIT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_INSTITUTION_UNIT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_INSTITUTION_UNIT),
  index (OID_INSTITUTION_UNIT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `OID` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN)
) type=InnoDB, character set utf8 ;

create table `OCCUPATION_PERIOD` (
  `END_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_NEXT_PERIOD` int(11),
  `KEY_PREVIOUS_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_NEXT_PERIOD` bigint(20),
  `OID_PREVIOUS_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `START_YEAR_MONTH_DAY` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_NEXT_PERIOD),
  index (OID_NEXT_PERIOD),
  index (KEY_PREVIOUS_PERIOD),
  index (OID_PREVIOUS_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `OLD_INQUIRIES_COURSES_RES` (
  `AVERAGE2_2` double,
  `AVERAGE2_3` double,
  `AVERAGE2_4` double,
  `AVERAGE2_5` double,
  `AVERAGE2_6` double,
  `AVERAGE2_7` longtext,
  `AVERAGE2_8` double,
  `COURSE_CODE` longtext,
  `CURRICULAR_YEAR` int(11),
  `DEVIATION2_2` double,
  `DEVIATION2_3` double,
  `DEVIATION2_4` double,
  `DEVIATION2_5` double,
  `DEVIATION2_6` double,
  `DEVIATION2_8` double,
  `FIRST_ENROLLMENT` int(11),
  `GEP_COURSE_ID` int(11),
  `GEP_COURSE_NAME` longtext,
  `GEP_EXECUTION_YEAR` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INQUIRY_ID` int(11),
  `KEY_DEGREE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER_ANSWERS` int(11),
  `NUMBER_APPROVED` double,
  `NUMBER_ENROLLMENTS` double,
  `NUMBER_EVALUATED` double,
  `NUM_ANSWERS2_2` int(11),
  `NUM_ANSWERS2_3` int(11),
  `NUM_ANSWERS2_4` int(11),
  `NUM_ANSWERS2_5_NUMBER` int(11),
  `NUM_ANSWERS2_5_TEXT` int(11),
  `NUM_ANSWERS2_6` int(11),
  `NUM_ANSWERS2_7` int(11),
  `NUM_ANSWERS2_8` int(11),
  `OID` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REPRESENTATION_QUOTA` double,
  `SEMESTER` int(11),
  `TOLERANCE2_2` double,
  `TOLERANCE2_3` double,
  `TOLERANCE2_4` double,
  `TOLERANCE2_5` double,
  `TOLERANCE2_6` double,
  `TOLERANCE2_8` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `OLD_INQUIRIES_SUMMARY` (
  `AVERAGE2_2` double,
  `AVERAGE2_3` double,
  `AVERAGE2_4` double,
  `AVERAGE2_5` double,
  `AVERAGE2_6` double,
  `AVERAGE2_7_INTERVAL` longtext,
  `AVERAGE2_7_NUMERICAL` double,
  `AVERAGE2_8` double,
  `AVERAGE3_10` double,
  `AVERAGE3_11` double,
  `AVERAGE3_3_INTERVAL` longtext,
  `AVERAGE3_3_NUMERICAL` double,
  `AVERAGE3_4_INTERVAL` longtext,
  `AVERAGE3_4_NUMERICAL` double,
  `AVERAGE3_5` double,
  `AVERAGE3_6` double,
  `AVERAGE3_7` double,
  `AVERAGE3_8` double,
  `AVERAGE3_9` double,
  `AVERAGE6_1` double,
  `AVERAGE6_2` double,
  `AVERAGE6_3` double,
  `AVERAGE_APPRECIATION_COURSE` double,
  `AVERAGE_APPRECIATION_TEACHERS` double,
  `COURSE_CODE` longtext,
  `CURRICULAR_YEAR` int(11),
  `FIRST_ENROLLMENT` double,
  `GEP_COURSE_ID` int(11),
  `GEP_COURSE_NAME` longtext,
  `GEP_DEGREE_NAME` longtext,
  `GEP_EXECUTION_YEAR` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INQUIRY_ID` int(11),
  `KEY_DEGREE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER_ANSWERS` int(11),
  `NUMBER_APPROVED` int(11),
  `NUMBER_ENROLLMENTS` int(11),
  `NUMBER_EVALUATED` int(11),
  `OID` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REPRESENTATION_QUOTA` double,
  `ROOM_AVERAGE` double,
  `SEMESTER` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `OLD_INQUIRIES_TEACHERS_RES` (
  `ACTIVE` longtext,
  `AVERAGE3_10` double,
  `AVERAGE3_11` double,
  `AVERAGE3_3` longtext,
  `AVERAGE3_4` longtext,
  `AVERAGE3_5` double,
  `AVERAGE3_6` double,
  `AVERAGE3_7` double,
  `AVERAGE3_8` double,
  `AVERAGE3_9` double,
  `CATEGORY` longtext,
  `CLASS_TYPE` longtext,
  `CLASS_TYPE_LONG` longtext,
  `COURSE_CODE` longtext,
  `CURRICULAR_YEAR` int(11),
  `DEPARTMENT_CODE` int(11),
  `DEVIATION3_10` double,
  `DEVIATION3_11` double,
  `DEVIATION3_3` double,
  `DEVIATION3_4` double,
  `DEVIATION3_5` double,
  `DEVIATION3_6` double,
  `DEVIATION3_7` double,
  `DEVIATION3_8` double,
  `DEVIATION3_9` double,
  `GEP_COURSE_ID` int(11),
  `GEP_COURSE_NAME` longtext,
  `GEP_EXECUTION_YEAR` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INQUIRY_ID` int(11),
  `KEY_DEGREE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `MAIL` int(11),
  `NUM_ANSWERS3_10` int(11),
  `NUM_ANSWERS3_11` int(11),
  `NUM_ANSWERS3_3` int(11),
  `NUM_ANSWERS3_4` int(11),
  `NUM_ANSWERS3_5` int(11),
  `NUM_ANSWERS3_6` int(11),
  `NUM_ANSWERS3_7` int(11),
  `NUM_ANSWERS3_8` int(11),
  `NUM_ANSWERS3_9` int(11),
  `OID` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `SEMESTER` int(11),
  `TEACHER_NAME` longtext,
  `TEACHER_NUMBER` int(11),
  `TOLERANCE3_10` double,
  `TOLERANCE3_11` double,
  `TOLERANCE3_3` double,
  `TOLERANCE3_4` double,
  `TOLERANCE3_5` double,
  `TOLERANCE3_6` double,
  `TOLERANCE3_7` double,
  `TOLERANCE3_8` double,
  `TOLERANCE3_9` double,
  `TOTAL_NUMBER_ANSWERS` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `OLD_PUBLICATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `OLD_PUBLICATION_TYPE` int(11),
  `PUBLICATION` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `ORIENTATION` (
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `NUMBER_OF_STUDENTS` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `ORIENTATION_TYPE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `OVER23_INDIVIDUAL_CANDIDACY_DEGREE_ENTRY` (
  `DEGREE_ORDER` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE` int(11),
  `KEY_OVER23_INDIVIDUAL_CANDIDACY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_OVER23_INDIVIDUAL_CANDIDACY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_OVER23_INDIVIDUAL_CANDIDACY),
  index (OID_OVER23_INDIVIDUAL_CANDIDACY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PARKING_GROUP` (
  `GROUP_DESCRIPTION` longtext,
  `GROUP_NAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PARKING_PARTY` (
  `ACCEPTED_REGULATION` tinyint(1),
  `AUTHORIZED` tinyint(1),
  `CARD_END_DATE` timestamp NULL default NULL,
  `CARD_NUMBER` bigint(20),
  `CARD_START_DATE` timestamp NULL default NULL,
  `DRIVER_LICENSE_DELIVERY_TYPE` text,
  `DRIVER_LICENSE_DOCUMENT_STATE` text,
  `FIRST_CAR_DECLARATION_DOCUMENT_STATE` text,
  `FIRST_CAR_INSURANCE_DOCUMENT_STATE` text,
  `FIRST_CAR_OWNER_ID_DOCUMENT_STATE` text,
  `FIRST_CAR_PROPERTY_REGISTRY_DOCUMENT_STATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DRIVER_LICENSE_DOCUMENT` int(11),
  `KEY_PARKING_GROUP` int(11),
  `KEY_PARTY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NOTES` longtext,
  `OID` bigint(20),
  `OID_DRIVER_LICENSE_DOCUMENT` bigint(20),
  `OID_PARKING_GROUP` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PHD_NUMBER` int(11),
  `REQUESTED_AS` text,
  `SECOND_CAR_DECLARATION_DOCUMENT_STATE` text,
  `SECOND_CAR_INSURANCE_DOCUMENT_STATE` text,
  `SECOND_CAR_OWNER_ID_DOCUMENT_STATE` text,
  `SECOND_CAR_PROPERTY_REGISTRY_DOCUMENT_STATE` text,
  `USED_NUMBER` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DRIVER_LICENSE_DOCUMENT),
  index (OID_DRIVER_LICENSE_DOCUMENT),
  index (KEY_PARKING_GROUP),
  index (OID_PARKING_GROUP),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PARKING_PARTY_HISTORY` (
  `CARD_END_DATE` timestamp NULL default NULL,
  `CARD_NUMBER` bigint(20),
  `CARD_START_DATE` timestamp NULL default NULL,
  `HISTORY_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARKING_GROUP` int(11),
  `KEY_PARTY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NOTES` longtext,
  `OID` bigint(20),
  `OID_PARKING_GROUP` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ONLINE_REQUEST` tinyint(1),
  `PHD_NUMBER` int(11),
  `REQUESTED_AS` text,
  `USED_NUMBER` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARKING_GROUP),
  index (OID_PARKING_GROUP),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PARKING_REQUEST` (
  `CREATION_DATE` timestamp NULL default NULL,
  `DRIVER_LICENSE_DELIVERY_TYPE` text,
  `DRIVER_LICENSE_DOCUMENT_STATE` text,
  `EMAIL` longtext,
  `FIRST_CAR_DECLARATION_DOCUMENT_STATE` text,
  `FIRST_CAR_INSURANCE_DOCUMENT_STATE` text,
  `FIRST_CAR_OWNER_ID_DOCUMENT_STATE` text,
  `FIRST_CAR_PROPERTY_REGISTRY_DOCUMENT_STATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DRIVER_LICENSE_DOCUMENT` int(11),
  `KEY_PARKING_PARTY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LIMITLESS_ACCESS_CARD` tinyint(1),
  `MOBILE` longtext,
  `NOTE` longtext,
  `OID` bigint(20),
  `OID_DRIVER_LICENSE_DOCUMENT` bigint(20),
  `OID_PARKING_PARTY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PARKING_REQUEST_STATE` text,
  `PARKING_REQUEST_TYPE` text,
  `PHONE` longtext,
  `REQUESTED_AS` text,
  `SECOND_CAR_DECLARATION_DOCUMENT_STATE` text,
  `SECOND_CAR_INSURANCE_DOCUMENT_STATE` text,
  `SECOND_CAR_OWNER_ID_DOCUMENT_STATE` text,
  `SECOND_CAR_PROPERTY_REGISTRY_DOCUMENT_STATE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DRIVER_LICENSE_DOCUMENT),
  index (OID_DRIVER_LICENSE_DOCUMENT),
  index (KEY_PARKING_PARTY),
  index (OID_PARKING_PARTY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PARKING_REQUEST_PERIOD` (
  `BEGIN_DATE` timestamp NULL default NULL,
  `END_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PARTICIPATION` (
  `BEGIN_DATE` longtext,
  `END_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COOPERATION` int(11),
  `KEY_EVENT` int(11),
  `KEY_EVENT_EDITION` int(11),
  `KEY_JOURNAL_ISSUE` int(11),
  `KEY_PARTY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SCIENTIFIC_JOURNAL` int(11),
  `OID` bigint(20),
  `OID_COOPERATION` bigint(20),
  `OID_EVENT` bigint(20),
  `OID_EVENT_EDITION` bigint(20),
  `OID_JOURNAL_ISSUE` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SCIENTIFIC_JOURNAL` bigint(20),
  `ROLE` text,
  `ROLE_MESSAGE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COOPERATION),
  index (OID_COOPERATION),
  index (KEY_EVENT),
  index (OID_EVENT),
  index (KEY_EVENT_EDITION),
  index (OID_EVENT_EDITION),
  index (KEY_JOURNAL_ISSUE),
  index (OID_JOURNAL_ISSUE),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SCIENTIFIC_JOURNAL),
  index (OID_SCIENTIFIC_JOURNAL)
) type=InnoDB, character set utf8 ;

create table `PARTY` (
  `ACRONYM` longtext,
  `AVAILABLE_PHOTO` tinyint(1),
  `BEGIN_DATE_YEAR_MONTH_DAY` longtext,
  `CAN_BE_RESPONSIBLE_OF_SPACES` tinyint(1),
  `CLASSIFICATION` text,
  `CODE` longtext,
  `DATE_OF_BIRTH_YEAR_MONTH_DAY` longtext,
  `DISTRICT_OF_BIRTH` longtext,
  `DISTRICT_SUBDIVISION_OF_BIRTH` longtext,
  `DOCUMENT_ID_NUMBER` longtext,
  `EMISSION_DATE_OF_DOCUMENT_ID_YEAR_MONTH_DAY` longtext,
  `EMISSION_LOCATION_OF_DOCUMENT_ID` longtext,
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `EXPIRATION_DATE_OF_DOCUMENT_ID_YEAR_MONTH_DAY` longtext,
  `FISCAL_CODE` longtext,
  `GENDER` text,
  `ID_DOCUMENT_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSTITUTION_TYPE` text,
  `KEY_ADMINISTRATIVE_OFFICE` int(11),
  `KEY_ASSOCIATED_PERSON_ACCOUNT` int(11),
  `KEY_CAMPUS` int(11),
  `KEY_COUNTRY_OF_BIRTH` int(11),
  `KEY_DEGREE` int(11),
  `KEY_DEPARTMENT` int(11),
  `KEY_EMPLOYEE` int(11),
  `KEY_GRANT_OWNER` int(11),
  `KEY_HOMEPAGE` int(11),
  `KEY_INCOMPATIBLE_PERSON` int(11),
  `KEY_INCOMPATIBLE_VIGILANT` int(11),
  `KEY_LIBRARY_CARD` int(11),
  `KEY_NATIONALITY` int(11),
  `KEY_PARKING_PARTY` int(11),
  `KEY_PARTY_SOCIAL_SECURITY_NUMBER` int(11),
  `KEY_PARTY_TYPE` int(11),
  `KEY_PERSONAL_PHOTO` int(11),
  `KEY_PERSON_NAME` int(11),
  `KEY_PHD_PROGRAM` int(11),
  `KEY_QUESTION_BANK` int(11),
  `KEY_REPLY_TO` int(11),
  `KEY_RESEARCHER` int(11),
  `KEY_RESIDENCE_PRICE_TABLE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FOR_EARTH_UNIT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FOR_EXTERNAL_INSTITUTION_UNIT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FOR_INSTITUTION_UNIT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FOR_RESIDENCE_UNIT` int(11),
  `KEY_SENDER` int(11),
  `KEY_SITE` int(11),
  `KEY_STUDENT` int(11),
  `KEY_TEACHER` int(11),
  `KEY_UNIT_ACRONYM` int(11),
  `KEY_UNIT_COST_CENTER_CODE` int(11),
  `KEY_UNIT_NAME` int(11),
  `KEY_UNIT_SERVICE_AGREEMENT_TEMPLATE` int(11),
  `KEY_USER` int(11),
  `MARITAL_STATUS` text,
  `NAME_OF_FATHER` longtext,
  `NAME_OF_MOTHER` longtext,
  `NICKNAME` longtext,
  `OFFICIAL` tinyint(1),
  `OID` bigint(20),
  `OID_ADMINISTRATIVE_OFFICE` bigint(20),
  `OID_ASSOCIATED_PERSON_ACCOUNT` bigint(20),
  `OID_CAMPUS` bigint(20),
  `OID_COUNTRY_OF_BIRTH` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_DEPARTMENT` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_GRANT_OWNER` bigint(20),
  `OID_HOMEPAGE` bigint(20),
  `OID_INCOMPATIBLE_PERSON` bigint(20),
  `OID_INCOMPATIBLE_VIGILANT` bigint(20),
  `OID_LIBRARY_CARD` bigint(20),
  `OID_NATIONALITY` bigint(20),
  `OID_PARKING_PARTY` bigint(20),
  `OID_PARTY_SOCIAL_SECURITY_NUMBER` bigint(20),
  `OID_PARTY_TYPE` bigint(20),
  `OID_PERSONAL_PHOTO` bigint(20),
  `OID_PERSON_NAME` bigint(20),
  `OID_PHD_PROGRAM` bigint(20),
  `OID_QUESTION_BANK` bigint(20),
  `OID_REPLY_TO` bigint(20),
  `OID_RESEARCHER` bigint(20),
  `OID_RESIDENCE_PRICE_TABLE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FOR_EARTH_UNIT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FOR_EXTERNAL_INSTITUTION_UNIT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FOR_INSTITUTION_UNIT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FOR_RESIDENCE_UNIT` bigint(20),
  `OID_SENDER` bigint(20),
  `OID_SITE` bigint(20),
  `OID_STUDENT` bigint(20),
  `OID_TEACHER` bigint(20),
  `OID_UNIT_ACRONYM` bigint(20),
  `OID_UNIT_COST_CENTER_CODE` bigint(20),
  `OID_UNIT_NAME` bigint(20),
  `OID_UNIT_SERVICE_AGREEMENT_TEMPLATE` bigint(20),
  `OID_USER` bigint(20),
  `PARISH_OF_BIRTH` longtext,
  `PARTY_NAME` longtext,
  `PROFESSION` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ADMINISTRATIVE_OFFICE),
  index (OID_ADMINISTRATIVE_OFFICE),
  index (KEY_ASSOCIATED_PERSON_ACCOUNT),
  index (OID_ASSOCIATED_PERSON_ACCOUNT),
  index (KEY_CAMPUS),
  index (OID_CAMPUS),
  index (KEY_COUNTRY_OF_BIRTH),
  index (OID_COUNTRY_OF_BIRTH),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_DEPARTMENT),
  index (OID_DEPARTMENT),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_GRANT_OWNER),
  index (OID_GRANT_OWNER),
  index (KEY_HOMEPAGE),
  index (OID_HOMEPAGE),
  index (KEY_INCOMPATIBLE_PERSON),
  index (OID_INCOMPATIBLE_PERSON),
  index (KEY_INCOMPATIBLE_VIGILANT),
  index (OID_INCOMPATIBLE_VIGILANT),
  index (KEY_LIBRARY_CARD),
  index (OID_LIBRARY_CARD),
  index (KEY_NATIONALITY),
  index (OID_NATIONALITY),
  index (KEY_PARKING_PARTY),
  index (OID_PARKING_PARTY),
  index (KEY_PARTY_SOCIAL_SECURITY_NUMBER),
  index (OID_PARTY_SOCIAL_SECURITY_NUMBER),
  index (KEY_PARTY_TYPE),
  index (OID_PARTY_TYPE),
  index (KEY_PERSONAL_PHOTO),
  index (OID_PERSONAL_PHOTO),
  index (KEY_PERSON_NAME),
  index (OID_PERSON_NAME),
  index (KEY_PHD_PROGRAM),
  index (OID_PHD_PROGRAM),
  index (KEY_QUESTION_BANK),
  index (OID_QUESTION_BANK),
  index (KEY_REPLY_TO),
  index (OID_REPLY_TO),
  index (KEY_RESEARCHER),
  index (OID_RESEARCHER),
  index (KEY_RESIDENCE_PRICE_TABLE),
  index (OID_RESIDENCE_PRICE_TABLE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_ROOT_DOMAIN_OBJECT_FOR_EARTH_UNIT),
  index (OID_ROOT_DOMAIN_OBJECT_FOR_EARTH_UNIT),
  index (KEY_ROOT_DOMAIN_OBJECT_FOR_EXTERNAL_INSTITUTION_UNIT),
  index (OID_ROOT_DOMAIN_OBJECT_FOR_EXTERNAL_INSTITUTION_UNIT),
  index (KEY_ROOT_DOMAIN_OBJECT_FOR_INSTITUTION_UNIT),
  index (OID_ROOT_DOMAIN_OBJECT_FOR_INSTITUTION_UNIT),
  index (KEY_ROOT_DOMAIN_OBJECT_FOR_RESIDENCE_UNIT),
  index (OID_ROOT_DOMAIN_OBJECT_FOR_RESIDENCE_UNIT),
  index (KEY_SENDER),
  index (OID_SENDER),
  index (KEY_SITE),
  index (OID_SITE)
) type=InnoDB, character set utf8 ;

create table `PARTY_CONTACT` (
  `ADDRESS` longtext,
  `AREA` longtext,
  `AREA_CODE` longtext,
  `AREA_OF_AREA_CODE` longtext,
  `DEFAULT_CONTACT` tinyint(1),
  `DISTRICT_OF_RESIDENCE` longtext,
  `DISTRICT_SUBDIVISION_OF_RESIDENCE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COUNTRY_OF_RESIDENCE` int(11),
  `KEY_PARTY` int(11),
  `KEY_RESEARCHER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` longtext,
  `OID` bigint(20),
  `OID_COUNTRY_OF_RESIDENCE` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_RESEARCHER` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PARISH_OF_RESIDENCE` longtext,
  `TYPE` text,
  `URL` longtext,
  `VALUE` longtext,
  `VISIBLE_TO_ALUMNI` tinyint(1),
  `VISIBLE_TO_EMPLOYEES` tinyint(1),
  `VISIBLE_TO_PUBLIC` tinyint(1),
  `VISIBLE_TO_STUDENTS` tinyint(1),
  `VISIBLE_TO_TEACHERS` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COUNTRY_OF_RESIDENCE),
  index (OID_COUNTRY_OF_RESIDENCE),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_RESEARCHER),
  index (OID_RESEARCHER),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PARTY_SOCIAL_SECURITY_NUMBER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARTY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SOCIAL_SECURITY_NUMBER` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PARTY_TYPE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PAYMENT_CODE` (
  `CODE` longtext,
  `END_DATE` longtext,
  `ENTITY_CODE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ACCOUNTING_EVENT` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_GRATUITY_SITUATION` int(11),
  `KEY_INSTALLMENT` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MAX_AMOUNT` longtext,
  `MIN_AMOUNT` longtext,
  `OID` bigint(20),
  `OID_ACCOUNTING_EVENT` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_GRATUITY_SITUATION` bigint(20),
  `OID_INSTALLMENT` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `START_DATE` longtext,
  `STATE` text,
  `TYPE` text,
  `WHEN_CREATED` timestamp NULL default NULL,
  `WHEN_UPDATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ACCOUNTING_EVENT),
  index (OID_ACCOUNTING_EVENT),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_GRATUITY_SITUATION),
  index (OID_GRATUITY_SITUATION),
  index (KEY_INSTALLMENT),
  index (OID_INSTALLMENT),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PAYMENT_CODE_MAPPING` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_INTERVAL` int(11),
  `KEY_NEW_PAYMENT_CODE` int(11),
  `KEY_OLD_PAYMENT_CODE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_INTERVAL` bigint(20),
  `OID_NEW_PAYMENT_CODE` bigint(20),
  `OID_OLD_PAYMENT_CODE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_INTERVAL),
  index (OID_EXECUTION_INTERVAL),
  index (KEY_NEW_PAYMENT_CODE),
  index (OID_NEW_PAYMENT_CODE),
  index (KEY_OLD_PAYMENT_CODE),
  index (OID_OLD_PAYMENT_CODE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PAYMENT_PHASE` (
  `DESCRIPTION` longtext,
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GRATUITY_VALUES` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_GRATUITY_VALUES` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `START_DATE_YEAR_MONTH_DAY` longtext,
  `VALUE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GRATUITY_VALUES),
  index (OID_GRATUITY_VALUES),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PAYMENT_PLAN` (
  `DEFAULT_PLAN` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SERVICE_AGREEMENT` int(11),
  `KEY_SERVICE_AGREEMENT_TEMPLATE` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SERVICE_AGREEMENT` bigint(20),
  `OID_SERVICE_AGREEMENT_TEMPLATE` bigint(20),
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SERVICE_AGREEMENT),
  index (OID_SERVICE_AGREEMENT),
  index (KEY_SERVICE_AGREEMENT_TEMPLATE),
  index (OID_SERVICE_AGREEMENT_TEMPLATE)
) type=InnoDB, character set utf8 ;

create table `PERIODICITY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `WORK_WEEK_NUMBER` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PERSISTENT_GROUP_MEMBERS` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  `TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `PERSONAL_GROUP` (
  `CONCRETE_GROUP` longtext,
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PERSON_ACCOUNT` (
  `BALANCE` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PERSON_EXTENSION` (
  `BEGIN` longtext,
  `END` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXTENSION` int(11),
  `KEY_PERSON` int(11),
  `OID` bigint(20),
  `OID_EXTENSION` bigint(20),
  `OID_PERSON` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXTENSION),
  index (OID_EXTENSION),
  index (KEY_PERSON),
  index (OID_PERSON)
) type=InnoDB, character set utf8 ;

create table `PERSON_NAME` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IS_EXTERNAL_PERSON` tinyint(1),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PERSON_NAME_PART` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME_PART` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PHD_ALERT` (
  `ACTIVE` tinyint(1),
  `BODY` longtext,
  `FIRE_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PROCESS` int(11),
  `KEY_REFEREE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_FOR_ACTIVE_PHD_ALERTS` int(11),
  `OID` bigint(20),
  `OID_PROCESS` bigint(20),
  `OID_REFEREE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_FOR_ACTIVE_PHD_ALERTS` bigint(20),
  `SEND_EMAIL` tinyint(1),
  `SUBJECT` longtext,
  `TARGET_GROUP` longtext,
  `WHEN_TO_FIRE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PROCESS),
  index (OID_PROCESS),
  index (KEY_REFEREE),
  index (OID_REFEREE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_ROOT_DOMAIN_OBJECT_FOR_ACTIVE_PHD_ALERTS),
  index (OID_ROOT_DOMAIN_OBJECT_FOR_ACTIVE_PHD_ALERTS)
) type=InnoDB, character set utf8 ;

create table `PHD_ALERT_MESSAGE` (
  `BODY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON_WHO_MARKED_AS_READED` int(11),
  `KEY_PROCESS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PERSON_WHO_MARKED_AS_READED` bigint(20),
  `OID_PROCESS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `READED` tinyint(1),
  `SUBJECT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON_WHO_MARKED_AS_READED),
  index (OID_PERSON_WHO_MARKED_AS_READED),
  index (KEY_PROCESS),
  index (OID_PROCESS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PHD_CANDIDACY_REFEREE_LETTER` (
  `ACADEMIC_PERFORMANCE` text,
  `CAPACITY` longtext,
  `COMMENTS` longtext,
  `COMPARISON_GROUP` longtext,
  `HOW_LONG_KNOWN_APPLICANT` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CANDIDACY_REFEREE` int(11),
  `KEY_FILE` int(11),
  `KEY_PHD_PROGRAM_CANDIDACY_PROCESS` int(11),
  `KEY_REFEREE_COUNTRY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CANDIDACY_REFEREE` bigint(20),
  `OID_FILE` bigint(20),
  `OID_PHD_PROGRAM_CANDIDACY_PROCESS` bigint(20),
  `OID_REFEREE_COUNTRY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `POTENCIAL_TO_EXCEL_PHD` text,
  `RANK_IN_CLASS` longtext,
  `REFEREE_ADDRESS` longtext,
  `REFEREE_CITY` longtext,
  `REFEREE_INSTITUTION` longtext,
  `REFEREE_NAME` longtext,
  `REFEREE_POSITION` longtext,
  `REFEREE_ZIP_CODE` longtext,
  `SOCIAL_AND_COMMUNICATION_SKILLS` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CANDIDACY_REFEREE),
  index (OID_CANDIDACY_REFEREE),
  index (KEY_FILE),
  index (OID_FILE),
  index (KEY_PHD_PROGRAM_CANDIDACY_PROCESS),
  index (OID_PHD_PROGRAM_CANDIDACY_PROCESS),
  index (KEY_REFEREE_COUNTRY),
  index (OID_REFEREE_COUNTRY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PHD_INDIVIDUAL_PROGRAM_PROCESS_NUMBER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PROCESS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` int(11),
  `OID` bigint(20),
  `OID_PROCESS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PROCESS),
  index (OID_PROCESS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PHD_PROCESS_STATE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_PROCESS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_PROCESS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REMARKS` longtext,
  `TYPE` text,
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_PROCESS),
  index (OID_PROCESS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PHD_PROGRAM` (
  `ACRONYM` longtext,
  `CREATOR` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE` int(11),
  `KEY_PHD_PROGRAM_UNIT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SERVICE_AGREEMENT_TEMPLATE` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_PHD_PROGRAM_UNIT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SERVICE_AGREEMENT_TEMPLATE` bigint(20),
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_PHD_PROGRAM_UNIT),
  index (OID_PHD_PROGRAM_UNIT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SERVICE_AGREEMENT_TEMPLATE),
  index (OID_SERVICE_AGREEMENT_TEMPLATE)
) type=InnoDB, character set utf8 ;

create table `PHD_PROGRAM_FOCUS_AREA` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PHD_PROGRAM_GUIDING` (
  `ADDRESS` longtext,
  `CATEGORY` longtext,
  `EMAIL` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSISTANT_PHD_INDIVIDUAL_PROGRAM_PROCESS` int(11),
  `KEY_PERSON` int(11),
  `KEY_PHD_INDIVIDUAL_PROGRAM_PROCESS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ASSISTANT_PHD_INDIVIDUAL_PROGRAM_PROCESS` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_PHD_INDIVIDUAL_PROGRAM_PROCESS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PHONE` longtext,
  `QUALIFICATION` longtext,
  `WORK_LOCATION` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSISTANT_PHD_INDIVIDUAL_PROGRAM_PROCESS),
  index (OID_ASSISTANT_PHD_INDIVIDUAL_PROGRAM_PROCESS),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_PHD_INDIVIDUAL_PROGRAM_PROCESS),
  index (OID_PHD_INDIVIDUAL_PROGRAM_PROCESS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PHD_STUDY_PLAN` (
  `CREATED_BY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEGREE` int(11),
  `KEY_PROCESS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_PROCESS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_PROCESS),
  index (OID_PROCESS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PHD_STUDY_PLAN_ENTRY` (
  `COURSE_NAME` longtext,
  `CREATED_BY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COMPETENCE_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDY_PLAN` int(11),
  `OID` bigint(20),
  `OID_COMPETENCE_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDY_PLAN` bigint(20),
  `TYPE` text,
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COMPETENCE_COURSE),
  index (OID_COMPETENCE_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDY_PLAN),
  index (OID_STUDY_PLAN)
) type=InnoDB, character set utf8 ;

create table `PHOTOGRAPH` (
  `CONTENT_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_NEXT` int(11),
  `KEY_PENDING_HOLDER` int(11),
  `KEY_PERSON` int(11),
  `KEY_PREVIOUS` int(11),
  `KEY_REJECTOR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_NEXT` bigint(20),
  `OID_PENDING_HOLDER` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_PREVIOUS` bigint(20),
  `OID_REJECTOR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PHOTO_TYPE` text,
  `STATE` text,
  `STATE_CHANGE` timestamp NULL default NULL,
  `SUBMISSION` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_NEXT),
  index (OID_NEXT),
  index (KEY_PENDING_HOLDER),
  index (OID_PENDING_HOLDER),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_PREVIOUS),
  index (OID_PREVIOUS),
  index (KEY_REJECTOR),
  index (OID_REJECTOR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PHOTOGRAPH_CONTENT` (
  `CONTENT` longblob,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PHOTOGRAPH` int(11),
  `OID` bigint(20),
  `OID_PHOTOGRAPH` bigint(20),
  `SIZE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PHOTOGRAPH),
  index (OID_PHOTOGRAPH)
) type=InnoDB, character set utf8 ;

create table `POSTING_RULE` (
  `AMOUNT_FIRST_PAGE` longtext,
  `AMOUNT_FOR_EXTERNAL_STUDENT` longtext,
  `AMOUNT_FOR_INSTITUTION_STUDENT` longtext,
  `AMOUNT_PER_DAY` longtext,
  `AMOUNT_PER_PAGE` longtext,
  `AMOUNT_PER_UNIT` longtext,
  `BASE_AMOUNT` longtext,
  `CREATION_DATE` timestamp NULL default NULL,
  `DFA_AMOUNT_PER_ECTS_CREDIT` longtext,
  `DFA_PARTIAL_ACCEPTED_PERCENTAGE` longtext,
  `DFA_TOTAL_AMOUNT` longtext,
  `ECTS_FOR_YEAR` longtext,
  `END_DATE` timestamp NULL default NULL,
  `ENTRY_TYPE` text,
  `EVENT_TYPE` text,
  `FIXED_AMOUNT` longtext,
  `FIXED_AMOUNT_PENALTY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SERVICE_AGREEMENT_TEMPLATE` int(11),
  `MAX_AMOUNT` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SERVICE_AGREEMENT_TEMPLATE` bigint(20),
  `PENALTY_PER_DAY` longtext,
  `START_DATE` timestamp NULL default NULL,
  `WHEN_TO_APPLY_FIXED_AMOUNT_PENALTY` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SERVICE_AGREEMENT_TEMPLATE),
  index (OID_SERVICE_AGREEMENT_TEMPLATE)
) type=InnoDB, character set utf8 ;

create table `PRECEDENCE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PRECEDENT_DEGREE_INFORMATION` (
  `CONCLUSION_GRADE` longtext,
  `CONCLUSION_YEAR` int(11),
  `DEGREE_DESIGNATION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COUNTRY` int(11),
  `KEY_INSTITUTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SOURCE_INSTITUTION` int(11),
  `KEY_STUDENT` int(11),
  `KEY_STUDENT_CANDIDACY` int(11),
  `OID` bigint(20),
  `OID_COUNTRY` bigint(20),
  `OID_INSTITUTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SOURCE_INSTITUTION` bigint(20),
  `OID_STUDENT` bigint(20),
  `OID_STUDENT_CANDIDACY` bigint(20),
  `OTHER_SCHOOL_LEVEL` longtext,
  `SCHOOL_LEVEL` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COUNTRY),
  index (OID_COUNTRY),
  index (KEY_INSTITUTION),
  index (OID_INSTITUTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SOURCE_INSTITUTION),
  index (OID_SOURCE_INSTITUTION),
  index (KEY_STUDENT),
  index (OID_STUDENT),
  index (KEY_STUDENT_CANDIDACY),
  index (OID_STUDENT_CANDIDACY)
) type=InnoDB, character set utf8 ;

create table `PRICE` (
  `DESCRIPTION` longtext,
  `DOCUMENT_TYPE` text,
  `GRADUATION_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PRICE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PRIZE` (
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_RESEARCH_RESULT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_RESEARCH_RESULT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_RESEARCH_RESULT),
  index (OID_RESEARCH_RESULT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROCESS` (
  `ACCESS_HASH` longtext,
  `CANDIDACY_DATE` text,
  `COLLABORATION_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CANDIDACY` int(11),
  `KEY_CANDIDACY_HASH_CODE` int(11),
  `KEY_CANDIDACY_PERIOD` int(11),
  `KEY_CANDIDACY_PROCESS` int(11),
  `KEY_EVENT` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_INDIVIDUAL_PROGRAM_PROCESS` int(11),
  `KEY_PERSON` int(11),
  `KEY_PHD_INDIVIDUAL_PROCESS_NUMBER` int(11),
  `KEY_PHD_PROGRAM` int(11),
  `KEY_PHD_PROGRAM_FOCUS_AREA` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDY_PLAN` int(11),
  `OID` bigint(20),
  `OID_CANDIDACY` bigint(20),
  `OID_CANDIDACY_HASH_CODE` bigint(20),
  `OID_CANDIDACY_PERIOD` bigint(20),
  `OID_CANDIDACY_PROCESS` bigint(20),
  `OID_EVENT` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_INDIVIDUAL_PROGRAM_PROCESS` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_PHD_INDIVIDUAL_PROCESS_NUMBER` bigint(20),
  `OID_PHD_PROGRAM` bigint(20),
  `OID_PHD_PROGRAM_FOCUS_AREA` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDY_PLAN` bigint(20),
  `OTHER_COLLABORATION_TYPE` longtext,
  `PROCESS_CHECKED` tinyint(1),
  `PROCESS_CODE` longtext,
  `QUALIFICATION_EXAMS_PERFORMED` tinyint(1),
  `QUALIFICATION_EXAMS_REQUIRED` tinyint(1),
  `STATE` text,
  `THESIS_TITLE` longtext,
  `VALIDATED_BY_CANDIDATE` tinyint(1),
  `WHEN_FORMALIZED_REGISTRATION` text,
  `WHEN_RATIFIED` text,
  `WHEN_STARTED_STUDIES` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CANDIDACY),
  index (OID_CANDIDACY),
  index (KEY_CANDIDACY_HASH_CODE),
  index (OID_CANDIDACY_HASH_CODE),
  index (KEY_CANDIDACY_PERIOD),
  index (OID_CANDIDACY_PERIOD),
  index (KEY_CANDIDACY_PROCESS),
  index (OID_CANDIDACY_PROCESS),
  index (KEY_EVENT),
  index (OID_EVENT),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_INDIVIDUAL_PROGRAM_PROCESS),
  index (OID_INDIVIDUAL_PROGRAM_PROCESS),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_PHD_INDIVIDUAL_PROCESS_NUMBER),
  index (OID_PHD_INDIVIDUAL_PROCESS_NUMBER),
  index (KEY_PHD_PROGRAM),
  index (OID_PHD_PROGRAM),
  index (KEY_PHD_PROGRAM_FOCUS_AREA),
  index (OID_PHD_PROGRAM_FOCUS_AREA),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDY_PLAN),
  index (OID_STUDY_PLAN)
) type=InnoDB, character set utf8 ;

create table `PROCESS_LOG` (
  `ACTIVITY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PROCESS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PROCESS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `USER_NAME` longtext,
  `WHEN_DATE_TIME` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PROCESS),
  index (OID_PROCESS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROFESSIONAL_CATEGORY` (
  `CATEGORY_TYPE` text,
  `GIAF_ID` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROFESSIONAL_REGIME` (
  `FULL_TIME_EQUIVALENT` longtext,
  `GIAF_ID` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `WEIGHTING` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROFESSIONAL_RELATION` (
  `FULL_TIME_EQUIVALENT` tinyint(1),
  `GIAF_ID` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROFESSIONAL_SITUATION` (
  `BEGIN_DATE_YEAR_MONTH_DAY` longtext,
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSTITUTION` longtext,
  `KEY_CATEGORY` int(11),
  `KEY_EMPLOYEE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_CATEGORY` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERCENTAGE` int(11),
  `REGIME_TYPE` text,
  `SITUATION_TYPE` text,
  `WEEKLY_LESSON_HOURS` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CATEGORY),
  index (OID_CATEGORY),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROFESSORSHIP` (
  `HOURS` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHING_INQUIRY` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHING_INQUIRY` bigint(20),
  `RESPONSIBLE_FOR` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHING_INQUIRY),
  index (OID_TEACHING_INQUIRY)
) type=InnoDB, character set utf8 ;

create table `PROFILE_REPORT` (
  `DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REPORT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROJECT` (
  `ACRONYM` longtext,
  `END_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PROJECT_ABSTRACT` longtext,
  `PROJECT_TYPE` text,
  `START_DATE` longtext,
  `TITLE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROJECT_ACCESS` (
  `BEGIN_DATE_TIME` timestamp NULL default NULL,
  `COST_CENTER` tinyint(1),
  `END_DATE_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IT_PROJECT` tinyint(1),
  `KEY_PERSON` int(11),
  `KEY_PROJECT` int(11),
  `KEY_PROJECT_COORDINATOR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROJECT_EVENT_ASSOCIATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EVENT_EDITION` int(11),
  `KEY_PROJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EVENT_EDITION` bigint(20),
  `OID_PROJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ROLE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EVENT_EDITION),
  index (OID_EVENT_EDITION),
  index (KEY_PROJECT),
  index (OID_PROJECT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROJECT_PARTICIPATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARTY` int(11),
  `KEY_PROJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_PROJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `ROLE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_PROJECT),
  index (OID_PROJECT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROJECT_SUBMISSION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ATTENDS` int(11),
  `KEY_PROJECT` int(11),
  `KEY_PROJECT_SUBMISSION_FILE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_GROUP` int(11),
  `OID` bigint(20),
  `OID_ATTENDS` bigint(20),
  `OID_PROJECT` bigint(20),
  `OID_PROJECT_SUBMISSION_FILE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_GROUP` bigint(20),
  `SUBMISSION_DATE_TIME` timestamp NULL default NULL,
  `TEACHER_OBSERVATION` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ATTENDS),
  index (OID_ATTENDS),
  index (KEY_PROJECT),
  index (OID_PROJECT),
  index (KEY_PROJECT_SUBMISSION_FILE),
  index (OID_PROJECT_SUBMISSION_FILE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_GROUP),
  index (OID_STUDENT_GROUP)
) type=InnoDB, character set utf8 ;

create table `PROJECT_SUBMISSION_LOG` (
  `FILENAME` longtext,
  `FILE_CHECKSUM` longtext,
  `FILE_CHECKSUM_ALGORITHM` longtext,
  `FILE_MIME_TYPE` longtext,
  `FILE_SIZE` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ATTENDS` int(11),
  `KEY_PROJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_GROUP` int(11),
  `OID` bigint(20),
  `OID_ATTENDS` bigint(20),
  `OID_PROJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_GROUP` bigint(20),
  `SUBMISSION_DATE_TIME` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ATTENDS),
  index (OID_ATTENDS),
  index (KEY_PROJECT),
  index (OID_PROJECT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_GROUP),
  index (OID_STUDENT_GROUP)
) type=InnoDB, character set utf8 ;

create table `PROPOSAL` (
  `COMPANION_MAIL` longtext,
  `COMPANION_NAME` longtext,
  `COMPANION_PHONE` int(11),
  `COMPANY_ADRESS` longtext,
  `COMPANY_NAME` longtext,
  `COORIENTATORS_CREDITS_PERCENTAGE` int(11),
  `DEGREE_TYPE` text,
  `DELIVERABLE` longtext,
  `DESCRIPTION` longtext,
  `FRAMING` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COORIENTATOR` int(11),
  `KEY_GROUP_ATTRIBUTED` int(11),
  `KEY_GROUP_ATTRIBUTED_BY_TEACHER` int(11),
  `KEY_ORIENTATOR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SCHEDULEING` int(11),
  `LOCATION` longtext,
  `MAXIMUM_NUMBER_OF_GROUP_ELEMENTS` int(11),
  `MINIMUM_NUMBER_OF_GROUP_ELEMENTS` int(11),
  `OBJECTIVES` longtext,
  `OBSERVATIONS` longtext,
  `OID` bigint(20),
  `OID_COORIENTATOR` bigint(20),
  `OID_GROUP_ATTRIBUTED` bigint(20),
  `OID_GROUP_ATTRIBUTED_BY_TEACHER` bigint(20),
  `OID_ORIENTATOR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SCHEDULEING` bigint(20),
  `ORIENTATORS_CREDITS_PERCENTAGE` int(11),
  `PROPOSAL_NUMBER` int(11),
  `REQUIREMENTS` longtext,
  `STATUS` int(11),
  `TITLE` longtext,
  `URL` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COORIENTATOR),
  index (OID_COORIENTATOR),
  index (KEY_GROUP_ATTRIBUTED),
  index (OID_GROUP_ATTRIBUTED),
  index (KEY_GROUP_ATTRIBUTED_BY_TEACHER),
  index (OID_GROUP_ATTRIBUTED_BY_TEACHER),
  index (KEY_ORIENTATOR),
  index (OID_ORIENTATOR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SCHEDULEING),
  index (OID_SCHEDULEING)
) type=InnoDB, character set utf8 ;

create table `PROTOCOL` (
  `ACTIVE` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OBSERVATIONS` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PROTOCOL_ACTION` longtext,
  `PROTOCOL_NUMBER` longtext,
  `RENEWABLE` tinyint(1),
  `SCIENTIFIC_AREAS` longtext,
  `SIGNED_DATE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PROTOCOL_HISTORY` (
  `BEGIN_DATE` longtext,
  `END_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PROTOCOL` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PROTOCOL` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PROTOCOL),
  index (OID_PROTOCOL),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PUBLICATIONS_NUMBER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INTERNATIONAL` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `NATIONAL` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `PUBLICATION_TYPE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `PUBLIC_CANDIDACY_HASH_CODE` (
  `EMAIL` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSTITUTION` longtext,
  `KEY_INDIVIDUAL_CANDIDACY_PROCESS` int(11),
  `KEY_LETTER` int(11),
  `KEY_PHD_PROGRAM_CANDIDACY_PROCESS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_INDIVIDUAL_CANDIDACY_PROCESS` bigint(20),
  `OID_LETTER` bigint(20),
  `OID_PHD_PROGRAM_CANDIDACY_PROCESS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `VALUE` longtext,
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_INDIVIDUAL_CANDIDACY_PROCESS),
  index (OID_INDIVIDUAL_CANDIDACY_PROCESS),
  index (KEY_LETTER),
  index (OID_LETTER),
  index (KEY_PHD_PROGRAM_CANDIDACY_PROCESS),
  index (OID_PHD_PROGRAM_CANDIDACY_PROCESS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PUNCTUAL_ROOMS_OCCUPATION_COMMENT` (
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSTANT` timestamp NULL default NULL,
  `KEY_OWNER` int(11),
  `KEY_REQUEST` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_OWNER` bigint(20),
  `OID_REQUEST` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SUBJECT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_OWNER),
  index (OID_OWNER),
  index (KEY_REQUEST),
  index (OID_REQUEST),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PUNCTUAL_ROOMS_OCCUPATION_REQUEST` (
  `EMPLOYEE_READ_COMMENTS` int(11),
  `IDENTIFICATION` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSTANT` timestamp NULL default NULL,
  `KEY_OWNER` int(11),
  `KEY_REQUESTOR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_OWNER` bigint(20),
  `OID_REQUESTOR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TEACHER_READ_COMMENTS` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_OWNER),
  index (OID_OWNER),
  index (KEY_REQUESTOR),
  index (OID_REQUESTOR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `PUNCTUAL_ROOMS_OCCUPATION_STATE_INSTANT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSTANT` timestamp NULL default NULL,
  `KEY_REQUEST` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_REQUEST` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REQUEST_STATE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_REQUEST),
  index (OID_REQUEST),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `QUALIFICATION` (
  `ATTENDED_BEGIN` longtext,
  `ATTENDED_END` longtext,
  `BEGIN_YEAR` longtext,
  `BRANCH` longtext,
  `CONCLUDED` tinyint(1),
  `CONCLUSION_GRADE` longtext,
  `DATE_YEAR_MONTH_DAY` longtext,
  `DEGREE` longtext,
  `DEGREE_RECOGNITION` longtext,
  `DESIGNATION` longtext,
  `ECTS_CREDITS` longtext,
  `EQUIVALENCE_DATE_YEAR_MONTH_DAY` longtext,
  `EQUIVALENCE_SCHOOL` longtext,
  `FORMATION_HOURS` int(11),
  `FORMATION_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CONCLUSION_EXECUTION_YEAR` int(11),
  `KEY_COUNTRY` int(11),
  `KEY_CREATOR` int(11),
  `KEY_EDUCATION_AREA` int(11),
  `KEY_INDIVIDUAL_CANDIDACY` int(11),
  `KEY_INSTITUTION` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `MARK` longtext,
  `OID` bigint(20),
  `OID_CONCLUSION_EXECUTION_YEAR` bigint(20),
  `OID_COUNTRY` bigint(20),
  `OID_CREATOR` bigint(20),
  `OID_EDUCATION_AREA` bigint(20),
  `OID_INDIVIDUAL_CANDIDACY` bigint(20),
  `OID_INSTITUTION` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SCHOOL` longtext,
  `SPECIALIZATION_AREA` longtext,
  `TITLE` longtext,
  `TYPE` text,
  `YEAR` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONCLUSION_EXECUTION_YEAR),
  index (OID_CONCLUSION_EXECUTION_YEAR),
  index (KEY_COUNTRY),
  index (OID_COUNTRY),
  index (KEY_CREATOR),
  index (OID_CREATOR),
  index (KEY_EDUCATION_AREA),
  index (OID_EDUCATION_AREA),
  index (KEY_INDIVIDUAL_CANDIDACY),
  index (OID_INDIVIDUAL_CANDIDACY),
  index (KEY_INSTITUTION),
  index (OID_INSTITUTION),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `QUESTION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_METADATA` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_METADATA` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `VISIBILITY` tinyint(1),
  `XML_FILE` longtext,
  `XML_FILE_NAME` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_METADATA),
  index (OID_METADATA),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `QUEUE_JOB` (
  `ACTIVE` tinyint(1),
  `CONCLUDED` tinyint(1),
  `CONTENT_TYPE` longtext,
  `DEGREE_TYPE` text,
  `DONE` tinyint(1),
  `FAILED_COUNTER` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `JOB_END_TIME` timestamp NULL default NULL,
  `JOB_START_TIME` timestamp NULL default NULL,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_FILE` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT_QUEUE_UNDONE` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_FILE` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT_QUEUE_UNDONE` bigint(20),
  `REQUEST_DATE` timestamp NULL default NULL,
  `TYPE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_FILE),
  index (OID_FILE),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_ROOT_DOMAIN_OBJECT_QUEUE_UNDONE),
  index (OID_ROOT_DOMAIN_OBJECT_QUEUE_UNDONE)
) type=InnoDB, character set utf8 ;

create table `RECEIPT` (
  `CONTRIBUTOR_NAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CONTRIBUTOR_PARTY` int(11),
  `KEY_CREATOR_UNIT` int(11),
  `KEY_EMPLOYEE` int(11),
  `KEY_OWNER_UNIT` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` int(11),
  `NUMBER_SERIES` longtext,
  `OID` bigint(20),
  `OID_CONTRIBUTOR_PARTY` bigint(20),
  `OID_CREATOR_UNIT` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_OWNER_UNIT` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `RECEIPT_DATE` longtext,
  `STATE` text,
  `WHEN_CREATED` timestamp NULL default NULL,
  `WHEN_UPDATED` timestamp NULL default NULL,
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CONTRIBUTOR_PARTY),
  index (OID_CONTRIBUTOR_PARTY),
  index (KEY_CREATOR_UNIT),
  index (OID_CREATOR_UNIT),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_OWNER_UNIT),
  index (OID_OWNER_UNIT),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RECEIPT_PRINT_VERSION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE` int(11),
  `KEY_RECEIPT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_RECEIPT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_RECEIPT),
  index (OID_RECEIPT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RECIPIENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MEMBERS` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `TO_NAME` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `REGISTRATION` (
  `AGREEMENT_INFORMATION` longtext,
  `APPROVATION_RATIO_CLASSIFICATION` char,
  `ARITHMETIC_MEAN_CLASSIFICATION` char,
  `ENTRY_GRADE_CLASSIFICATION` char,
  `ENTRY_PHASE` int(11),
  `HOMOLOGATION_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INGRESSION` text,
  `KEY_ASSOCIATED_GAUGING_TEST_RESULT` int(11),
  `KEY_CONCLUSION_PROCESS` int(11),
  `KEY_DEGREE` int(11),
  `KEY_DFA_REGISTRATION_EVENT` int(11),
  `KEY_EXTERNAL_REGISTRATION_DATA` int(11),
  `KEY_INDIVIDUAL_CANDIDACY` int(11),
  `KEY_PHD_INDIVIDUAL_PROGRAM_PROCESS` int(11),
  `KEY_PRECEDENT_DEGREE_INFORMATION` int(11),
  `KEY_REGISTRATION_NUMBER` int(11),
  `KEY_REGISTRATION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SENIOR` int(11),
  `KEY_SOURCE_REGISTRATION` int(11),
  `KEY_STUDENT` int(11),
  `KEY_STUDENT_CANDIDACY` int(11),
  `NUMBER` int(11),
  `OID` bigint(20),
  `OID_ASSOCIATED_GAUGING_TEST_RESULT` bigint(20),
  `OID_CONCLUSION_PROCESS` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_DFA_REGISTRATION_EVENT` bigint(20),
  `OID_EXTERNAL_REGISTRATION_DATA` bigint(20),
  `OID_INDIVIDUAL_CANDIDACY` bigint(20),
  `OID_PHD_INDIVIDUAL_PROGRAM_PROCESS` bigint(20),
  `OID_PRECEDENT_DEGREE_INFORMATION` bigint(20),
  `OID_REGISTRATION_NUMBER` bigint(20),
  `OID_REGISTRATION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SENIOR` bigint(20),
  `OID_SOURCE_REGISTRATION` bigint(20),
  `OID_STUDENT` bigint(20),
  `OID_STUDENT_CANDIDACY` bigint(20),
  `REGISTRATION_AGREEMENT` text,
  `REQUESTED_CHANGE_BRANCH` tinyint(1),
  `REQUESTED_CHANGE_DEGREE` tinyint(1),
  `START_DATE` longtext,
  `STUDIES_START_DATE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSOCIATED_GAUGING_TEST_RESULT),
  index (OID_ASSOCIATED_GAUGING_TEST_RESULT),
  index (KEY_CONCLUSION_PROCESS),
  index (OID_CONCLUSION_PROCESS),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_DFA_REGISTRATION_EVENT),
  index (OID_DFA_REGISTRATION_EVENT),
  index (KEY_EXTERNAL_REGISTRATION_DATA),
  index (OID_EXTERNAL_REGISTRATION_DATA),
  index (KEY_INDIVIDUAL_CANDIDACY),
  index (OID_INDIVIDUAL_CANDIDACY),
  index (KEY_PHD_INDIVIDUAL_PROGRAM_PROCESS),
  index (OID_PHD_INDIVIDUAL_PROGRAM_PROCESS),
  index (KEY_PRECEDENT_DEGREE_INFORMATION),
  index (OID_PRECEDENT_DEGREE_INFORMATION),
  index (KEY_REGISTRATION_NUMBER),
  index (OID_REGISTRATION_NUMBER),
  index (KEY_REGISTRATION_YEAR),
  index (OID_REGISTRATION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SENIOR),
  index (OID_SENIOR),
  index (KEY_SOURCE_REGISTRATION),
  index (OID_SOURCE_REGISTRATION),
  index (KEY_STUDENT),
  index (OID_STUDENT),
  index (KEY_STUDENT_CANDIDACY),
  index (OID_STUDENT_CANDIDACY)
) type=InnoDB, character set utf8 ;

create table `REGISTRATION_DATA_BY_EXECUTION_YEAR` (
  `ENROLMENT_MODEL` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `REGISTRATION_NUMBER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` int(11),
  `OID` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `REGISTRATION_REGIME` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REGIME_TYPE` text,
  `WHEN_CREATED` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `REGISTRATION_STATE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_REGISTRATION` int(11),
  `KEY_RESPONSIBLE_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_RESPONSIBLE_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REMARKS` longtext,
  `STATE_DATE` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_RESPONSIBLE_PERSON),
  index (OID_RESPONSIBLE_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `REIMBURSEMENT_GUIDE` (
  `CREATION_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GUIDE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` int(11),
  `OID` bigint(20),
  `OID_GUIDE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GUIDE),
  index (OID_GUIDE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `REIMBURSEMENT_GUIDE_ENTRY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `JUSTIFICATION` longtext,
  `KEY_GUIDE_ENTRY` int(11),
  `KEY_REIMBURSEMENT_GUIDE` int(11),
  `KEY_REIMBURSEMENT_TRANSACTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_GUIDE_ENTRY` bigint(20),
  `OID_REIMBURSEMENT_GUIDE` bigint(20),
  `OID_REIMBURSEMENT_TRANSACTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `VALUE_BIG_DECIMAL` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GUIDE_ENTRY),
  index (OID_GUIDE_ENTRY),
  index (KEY_REIMBURSEMENT_GUIDE),
  index (OID_REIMBURSEMENT_GUIDE),
  index (KEY_REIMBURSEMENT_TRANSACTION),
  index (OID_REIMBURSEMENT_TRANSACTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `REIMBURSEMENT_GUIDE_SITUATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EMPLOYEE` int(11),
  `KEY_REIMBURSEMENT_GUIDE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MODIFICATION_YEAR_MONTH_DAY` longtext,
  `OFFICIAL_YEAR_MONTH_DAY` longtext,
  `OID` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_REIMBURSEMENT_GUIDE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REIMBURSEMENT_GUIDE_STATE` text,
  `REMARKS` longtext,
  `STATE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_REIMBURSEMENT_GUIDE),
  index (OID_REIMBURSEMENT_GUIDE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `REPLY_TO` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SENDER` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SENDER` bigint(20),
  `REPLY_TO_ADDRESS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SENDER),
  index (OID_SENDER)
) type=InnoDB, character set utf8 ;

create table `REQUEST_LOG` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ERROR_LOG` int(11),
  `KEY_MAPPING` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ERROR_LOG` bigint(20),
  `OID_MAPPING` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `QUERY_STRING` longtext,
  `REFERER` longtext,
  `REQUESTER` longtext,
  `REQUEST_ATTRIBUTES` longtext,
  `REQUEST_TIME` timestamp NULL default NULL,
  `SESSION_ATTRIBUTES` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ERROR_LOG),
  index (OID_ERROR_LOG),
  index (KEY_MAPPING),
  index (OID_MAPPING),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `REQUEST_MAPPING` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PARAMETERS` longtext,
  `PATH` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RESEARCHER` (
  `ALLOWS_CONTACT_BY_MEDIA` tinyint(1),
  `ALLOWS_CONTACT_BY_OTHER_RESEARCHERS` tinyint(1),
  `ALLOWS_CONTACT_BY_STUDENTS` tinyint(1),
  `ALLOWS_TO_BE_SEARCHED` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEYWORDS_EN` longtext,
  `KEYWORDS_PT` longtext,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RESEARCH_EVENT` (
  `EVENT_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LOCATION_TYPE` text,
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STAGE` text,
  `URL` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RESEARCH_INTEREST` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INTEREST` longtext,
  `INTEREST_ORDER` int(11),
  `KEY_PARTY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RESEARCH_RESULT` (
  `ADDRESS` longtext,
  `APPROVAL_DATE` longtext,
  `BOOK_TITLE` longtext,
  `CHAPTER` longtext,
  `CONFERENCE` longtext,
  `EDITION` longtext,
  `FIRST_PAGE` int(11),
  `HOW_PUBLISHED` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `ISBN` int(11),
  `ISSN` int(11),
  `JOURNAL` longtext,
  `KEYWORDS` longtext,
  `KEY_ARTICLE_ASSOCIATION` int(11),
  `KEY_COUNTRY` int(11),
  `KEY_CREATOR` int(11),
  `KEY_EVENT_CONFERENCE_ARTICLES_ASSOCIATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_THESIS` int(11),
  `LANGUAGE` longtext,
  `LAST_MODIFICATION_DATE` timestamp NULL default NULL,
  `LAST_PAGE` int(11),
  `LOCAL` longtext,
  `MODIFIED_BY` longtext,
  `MONTH` text,
  `MONTH_BEGIN` text,
  `NOTE` longtext,
  `NUMBER` longtext,
  `NUMBER_PAGES` int(11),
  `OID` bigint(20),
  `OID_ARTICLE_ASSOCIATION` bigint(20),
  `OID_COUNTRY` bigint(20),
  `OID_CREATOR` bigint(20),
  `OID_EVENT_CONFERENCE_ARTICLES_ASSOCIATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_THESIS` bigint(20),
  `ORGANIZATION` longtext,
  `OTHER_PUBLICATION_TYPE` longtext,
  `PATENT_NUMBER` longtext,
  `PATENT_STATUS` text,
  `PATENT_TYPE` text,
  `PUBLISHER` longtext,
  `REGISTRATION_DATE` longtext,
  `SCIENTIFIC_AREA` longtext,
  `SCOPE` text,
  `SERIES` longtext,
  `TECHNICAL_REPORT_TYPE` longtext,
  `THESIS_TYPE` text,
  `TITLE` longtext,
  `UNIQUE_STORAGE_ID` longtext,
  `URL` longtext,
  `VOLUME` longtext,
  `YEAR` int(11),
  `YEAR_BEGIN` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ARTICLE_ASSOCIATION),
  index (OID_ARTICLE_ASSOCIATION),
  index (KEY_COUNTRY),
  index (OID_COUNTRY),
  index (KEY_CREATOR),
  index (OID_CREATOR),
  index (KEY_EVENT_CONFERENCE_ARTICLES_ASSOCIATION),
  index (OID_EVENT_CONFERENCE_ARTICLES_ASSOCIATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_THESIS),
  index (OID_THESIS)
) type=InnoDB, character set utf8 ;

create table `RESIDENCE_CANDIDACIES` (
  `CANDIDATE` tinyint(1),
  `CREATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_DATA_BY_EXECUTION_YEAR` int(11),
  `OBSERVATIONS` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_DATA_BY_EXECUTION_YEAR` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_DATA_BY_EXECUTION_YEAR),
  index (OID_STUDENT_DATA_BY_EXECUTION_YEAR)
) type=InnoDB, character set utf8 ;

create table `RESIDENCE_MONTH` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_YEAR` int(11),
  `MONTH` text,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_YEAR` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_YEAR),
  index (OID_YEAR)
) type=InnoDB, character set utf8 ;

create table `RESIDENCE_PRICE_TABLE` (
  `DOUBLE_ROOM_VALUE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PAYMENT_LIMIT_DAY` int(11),
  `SINGLE_ROOM_VALUE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RESIDENCE_YEAR` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `RESOURCE` (
  `ACQUISITION` longtext,
  `ALLOCATION_COST_MULTIPLIER` longtext,
  `BAR_CODE_NUMBER` longtext,
  `CEASE` longtext,
  `CREATED_ON` longtext,
  `DELIVERER_ENTERPRISE` longtext,
  `EXAM_CAPACITY` int(11),
  `EXTENSION_OCCUPATIONS_ACCESS_GROUP` longtext,
  `GENERIC_EVENT_OCCUPATIONS_ACCESS_GROUP` longtext,
  `IDENTIFICATION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SUROUNDING_SPACE` int(11),
  `LESSON_OCCUPATIONS_ACCESS_GROUP` longtext,
  `LOADED_DATE` longtext,
  `MAKE` longtext,
  `MODEL` longtext,
  `NORMAL_CAPACITY` int(11),
  `NUMBER_PLATE` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SUROUNDING_SPACE` bigint(20),
  `PERSON_OCCUPATIONS_ACCESS_GROUP` longtext,
  `SPACE_MANAGEMENT_ACCESS_GROUP` longtext,
  `TO_BE_INSPECTED_DATE` longtext,
  `UNIT_OCCUPATIONS_ACCESS_GROUP` longtext,
  `WRITTEN_EVALUATION_OCCUPATIONS_ACCESS_GROUP` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SUROUNDING_SPACE),
  index (OID_SUROUNDING_SPACE)
) type=InnoDB, character set utf8 ;

create table `RESOURCE_ALLOCATION` (
  `AMOUNT_CHARGED` longtext,
  `BEGIN` longtext,
  `BEGIN_DATE_TIME` timestamp NULL default NULL,
  `DISTANCE` longtext,
  `END` longtext,
  `END_DATE_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GENERIC_EVENT` int(11),
  `KEY_LESSON` int(11),
  `KEY_MATERIAL` int(11),
  `KEY_PERSON` int(11),
  `KEY_REQUESTOR` int(11),
  `KEY_RESOURCE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `OID` bigint(20),
  `OID_GENERIC_EVENT` bigint(20),
  `OID_LESSON` bigint(20),
  `OID_MATERIAL` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_REQUESTOR` bigint(20),
  `OID_RESOURCE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  `REASON` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GENERIC_EVENT),
  index (OID_GENERIC_EVENT),
  index (KEY_LESSON),
  index (OID_LESSON),
  index (KEY_MATERIAL),
  index (OID_MATERIAL),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_REQUESTOR),
  index (OID_REQUESTOR),
  index (KEY_RESOURCE),
  index (OID_RESOURCE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `RESOURCE_RESPONSIBILITY` (
  `BEGIN` longtext,
  `END` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARTY` int(11),
  `KEY_RESOURCE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARTY` bigint(20),
  `OID_RESOURCE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARTY),
  index (OID_PARTY),
  index (KEY_RESOURCE),
  index (OID_RESOURCE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RESTRICTION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PRECEDENCE` int(11),
  `KEY_PRECEDENT_CURRICULAR_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER_OF_CURRICULAR_COURSES` int(11),
  `OID` bigint(20),
  `OID_PRECEDENCE` bigint(20),
  `OID_PRECEDENT_CURRICULAR_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERIOD_TO_APPLY_RESTRICTION` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PRECEDENCE),
  index (OID_PRECEDENCE),
  index (KEY_PRECEDENT_CURRICULAR_COURSE),
  index (OID_PRECEDENT_CURRICULAR_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RESULT_PARTICIPATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_RESULT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_RESULT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERSON_ORDER` int(11),
  `ROLE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_RESULT),
  index (OID_RESULT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `RESULT_TEACHER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_RESULT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `OID` bigint(20),
  `OID_RESULT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `PUBLICATION_AREA` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_RESULT),
  index (OID_RESULT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `RESULT_UNIT_ASSOCIATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_RESULT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `OID` bigint(20),
  `OID_RESULT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  `ROLE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_RESULT),
  index (OID_RESULT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `ROLE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MATERIALS_ACCESS_GROUP` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PAGE` longtext,
  `PAGE_NAME_PROPERTY` longtext,
  `PORTAL_SUB_APPLICATION` longtext,
  `ROLE_TYPE` text,
  `SCHEDULES_ACCESS_GROUP` longtext,
  `SPACES_ACCESS_GROUP` longtext,
  `VEHICLES_ACCESS_GROUP` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ROOM_CLASSIFICATION` (
  `CODE` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARENT_ROOM_CLASSIFICATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_PARENT_ROOM_CLASSIFICATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARENT_ROOM_CLASSIFICATION),
  index (OID_PARENT_ROOM_CLASSIFICATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `ROOT_DOMAIN_OBJECT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEFAULT_ACADEMIC_CALENDAR` int(11),
  `KEY_DEPLOY_NOTIFIER` int(11),
  `KEY_EARTH_UNIT` int(11),
  `KEY_EXTERNAL_INSTITUTION_UNIT` int(11),
  `KEY_INSTITUTION_UNIT` int(11),
  `KEY_RESIDENCE_MANAGEMENT_UNIT` int(11),
  `KEY_ROOT_MODULE` int(11),
  `KEY_ROOT_PORTAL` int(11),
  `KEY_SYSTEM_SENDER` int(11),
  `KEY_USERNAME_COUNTER` int(11),
  `OID` bigint(20),
  `OID_DEFAULT_ACADEMIC_CALENDAR` bigint(20),
  `OID_DEPLOY_NOTIFIER` bigint(20),
  `OID_EARTH_UNIT` bigint(20),
  `OID_EXTERNAL_INSTITUTION_UNIT` bigint(20),
  `OID_INSTITUTION_UNIT` bigint(20),
  `OID_RESIDENCE_MANAGEMENT_UNIT` bigint(20),
  `OID_ROOT_MODULE` bigint(20),
  `OID_ROOT_PORTAL` bigint(20),
  `OID_SYSTEM_SENDER` bigint(20),
  `OID_USERNAME_COUNTER` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEFAULT_ACADEMIC_CALENDAR),
  index (OID_DEFAULT_ACADEMIC_CALENDAR),
  index (KEY_DEPLOY_NOTIFIER),
  index (OID_DEPLOY_NOTIFIER),
  index (KEY_EARTH_UNIT),
  index (OID_EARTH_UNIT),
  index (KEY_EXTERNAL_INSTITUTION_UNIT),
  index (OID_EXTERNAL_INSTITUTION_UNIT),
  index (KEY_INSTITUTION_UNIT),
  index (OID_INSTITUTION_UNIT),
  index (KEY_RESIDENCE_MANAGEMENT_UNIT),
  index (OID_RESIDENCE_MANAGEMENT_UNIT),
  index (KEY_ROOT_MODULE),
  index (OID_ROOT_MODULE),
  index (KEY_ROOT_PORTAL),
  index (OID_ROOT_PORTAL),
  index (KEY_SYSTEM_SENDER),
  index (OID_SYSTEM_SENDER),
  index (KEY_USERNAME_COUNTER),
  index (OID_USERNAME_COUNTER)
) type=InnoDB, character set utf8 ;

create table `SCHEDULE` (
  `BEGIN_DATE` text,
  `END_DATE` text,
  `EXCEPTION` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ASSIDUOUSNESS` int(11),
  `KEY_MODIFIED_BY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_ASSIDUOUSNESS` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ASSIDUOUSNESS),
  index (OID_ASSIDUOUSNESS),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SCHEDULEING` (
  `ALLOW_SIMULTANEOUS_COORIENTATION_AND_COMPANION` tinyint(1),
  `ATTRIBUTION_BY_TEACHERS` tinyint(1),
  `CURRENT_PROPOSAL_NUMBER` int(11),
  `END_OF_CANDIDACY_PERIOD_DATE_YEAR_MONTH_DAY` longtext,
  `END_OF_CANDIDACY_PERIOD_TIME_HOUR_MINUTE_SECOND` time,
  `END_OF_PROPOSAL_PERIOD_DATE_YEAR_MONTH_DAY` longtext,
  `END_OF_PROPOSAL_PERIOD_TIME_HOUR_MINUTE_SECOND` time,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MAXIMUM_CURRICULAR_YEAR_TO_COUNT_COMPLETED_COURSES` int(11),
  `MAXIMUM_NUMBER_OF_PROPOSAL_CANDIDACIES_PER_GROUP` int(11),
  `MAXIMUM_NUMBER_OF_STUDENTS` int(11),
  `MINIMUM_COMPLETED_CREDITS_FIRST_CYCLE` int(11),
  `MINIMUM_COMPLETED_CREDITS_SECOND_CYCLE` int(11),
  `MINIMUM_COMPLETED_CURRICULAR_YEAR` int(11),
  `MINIMUM_NUMBER_OF_COMPLETED_COURSES` int(11),
  `MINIMUM_NUMBER_OF_STUDENTS` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `START_OF_CANDIDACY_PERIOD_DATE_YEAR_MONTH_DAY` longtext,
  `START_OF_CANDIDACY_PERIOD_TIME_HOUR_MINUTE_SECOND` time,
  `START_OF_PROPOSAL_PERIOD_DATE_YEAR_MONTH_DAY` longtext,
  `START_OF_PROPOSAL_PERIOD_TIME_HOUR_MINUTE_SECOND` time,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SCHOOL_CLASS` (
  `ANO_CURRICULAR` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NOME` longtext,
  `OID` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SCIENTIFIC_AREA` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SCIENTIFIC_COMMISSION` (
  `CONTACT` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SCIENTIFIC_JOURNAL` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `ISSN` longtext,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LOCATION_TYPE` text,
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PUBLISHER` longtext,
  `STAGE` text,
  `URL` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SECRETARY_ENROLMENT_STUDENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `REASON_DESCRIPTION` longtext,
  `REASON_TYPE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `SEMINARY` (
  `ALLOWED_CANDIDACIES_PER_STUDENT` int(11),
  `DESCRIPTION` longtext,
  `ENROLLMENT_BEGIN_YEAR_MONTH_DAY` longtext,
  `ENROLLMENT_END_YEAR_MONTH_DAY` longtext,
  `ENROLLMENT_TIME_BEGIN_HOUR_MINUTE_SECOND` time,
  `ENROLLMENT_TIME_END_HOUR_MINUTE_SECOND` time,
  `HAS_CASE_STUDY` tinyint(1),
  `HAS_THEME` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SEMINARY_CANDIDACY` (
  `APPROVED` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_MODALITY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SEMINARY` int(11),
  `KEY_STUDENT` int(11),
  `KEY_THEME` int(11),
  `MOTIVATION` longtext,
  `OID` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_MODALITY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SEMINARY` bigint(20),
  `OID_STUDENT` bigint(20),
  `OID_THEME` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_MODALITY),
  index (OID_MODALITY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SEMINARY),
  index (OID_SEMINARY),
  index (KEY_STUDENT),
  index (OID_STUDENT),
  index (KEY_THEME),
  index (OID_THEME)
) type=InnoDB, character set utf8 ;

create table `SENDER` (
  `FROM_ADDRESS` longtext,
  `FROM_NAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_COURSE` int(11),
  `KEY_DEGREE` int(11),
  `KEY_PERSON` int(11),
  `KEY_PERSON_FUNCTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SYSTEM_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `MEMBERS` longtext,
  `OID` bigint(20),
  `OID_COURSE` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_PERSON_FUNCTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SYSTEM_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COURSE),
  index (OID_COURSE),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_PERSON_FUNCTION),
  index (OID_PERSON_FUNCTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SYSTEM_ROOT_DOMAIN_OBJECT),
  index (OID_SYSTEM_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `SENIOR` (
  `EXPECTED_DEGREE_AVERAGE_GRADE` int(11),
  `EXPECTED_DEGREE_TERMINATION_DATE_TIME` timestamp NULL default NULL,
  `EXTRACURRICULAR_ACTIVITIES` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INFORMATICS_SKILLS` longtext,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `LANGUAGE_SKILLS` longtext,
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `PROFESSIONAL_EXPERIENCE` longtext,
  `PROFESSIONAL_INTERESTS` longtext,
  `SPECIALTY_FIELD` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `SERVICE_AGREEMENT` (
  `CREATION_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SERVICE_AGREEMENT_TEMPLATE` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SERVICE_AGREEMENT_TEMPLATE` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SERVICE_AGREEMENT_TEMPLATE),
  index (OID_SERVICE_AGREEMENT_TEMPLATE)
) type=InnoDB, character set utf8 ;

create table `SERVICE_AGREEMENT_TEMPLATE` (
  `CREATION_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ADMINISTRATIVE_OFFICE` int(11),
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_PHD_PROGRAM` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `OID` bigint(20),
  `OID_ADMINISTRATIVE_OFFICE` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_PHD_PROGRAM` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ADMINISTRATIVE_OFFICE),
  index (OID_ADMINISTRATIVE_OFFICE),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_PHD_PROGRAM),
  index (OID_PHD_PROGRAM),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `SERVICE_EXEMPTION` (
  `GIAF_ID` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SERVICE_PROVIDER_REGIME` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `PROVIDER_REGIME_TYPE` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `SHIFT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LOTACAO` int(11),
  `NOME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SHIFT_DISTRIBUTION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SHIFT_DISTRIBUTION_ENTRY` (
  `ABSTRACT_STUDENT_NUMBER` int(11),
  `DISTRIBUTED` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SHIFT` int(11),
  `KEY_SHIFT_DISTRIBUTION` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SHIFT` bigint(20),
  `OID_SHIFT_DISTRIBUTION` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SHIFT),
  index (OID_SHIFT),
  index (KEY_SHIFT_DISTRIBUTION),
  index (OID_SHIFT_DISTRIBUTION)
) type=InnoDB, character set utf8 ;

create table `SHIFT_ENROLMENT` (
  `CREATED_ON` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_REGISTRATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SHIFT` int(11),
  `OID` bigint(20),
  `OID_REGISTRATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SHIFT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_REGISTRATION),
  index (OID_REGISTRATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SHIFT),
  index (OID_SHIFT)
) type=InnoDB, character set utf8 ;

create table `SHIFT_PROFESSORSHIP` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PROFESSORSHIP` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SHIFT` int(11),
  `OID` bigint(20),
  `OID_PROFESSORSHIP` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SHIFT` bigint(20),
  `PERCENTAGE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PROFESSORSHIP),
  index (OID_PROFESSORSHIP),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SHIFT),
  index (OID_SHIFT)
) type=InnoDB, character set utf8 ;

create table `SIBS_PAYMENT_FILE` (
  `FILENAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SIBS_PAYMENT_FILE_ENTRY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SIBS_PAYMENT_FILE` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SIBS_PAYMENT_FILE` bigint(20),
  `PAYED_VALUE` double,
  `PAYMENT_STATUS` text,
  `PAYMENT_TYPE` text,
  `STUDENT_NUMBER` int(11),
  `TRANSACTION_DATE_DATE_TIME` timestamp NULL default NULL,
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SIBS_PAYMENT_FILE),
  index (OID_SIBS_PAYMENT_FILE)
) type=InnoDB, character set utf8 ;

create table `SIBS_PAYMENT_FILE_PROCESS_REPORT` (
  `ADMINISTRATIVE_OFFICE_TAX_TOTAL_AMOUNT` longtext,
  `AFTER_GRADUATION_INSURANCE_TOTAL_AMOUNT` longtext,
  `BOLONHA_DEGREE_GRATUITY_TOTAL_AMOUNT` longtext,
  `BOLONHA_MASTER_DEGREE_GRATUITY_TOTAL_AMOUNT` longtext,
  `DEGREE_CANDIDACY_FOR_GRADUATED_PERSON_AMOUNT` longtext,
  `DEGREE_CHANGE_INDIVIDUAL_CANDIDACY_AMOUNT` longtext,
  `DEGREE_GRATUITY_TOTAL_AMOUNT` longtext,
  `DEGREE_TRANSFER_INDIVIDUAL_CANDIDACY_AMOUNT` longtext,
  `DFA_GRATUITY_TOTAL_AMOUNT` longtext,
  `FILENAME` longtext,
  `FILE_VERSION` int(11),
  `GRADUATION_INSURANCE_TOTAL_AMOUNT` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INTEGRATED_BOLONHA_MASTER_DEGREE_GRATUITY_TOTAL_AMOUNT` longtext,
  `INTEGRATED_MASTER_DEGREE_GRATUITY_TOTAL_AMOUNT` longtext,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MASTER_DEGREE_GRATUITY_TOTAL_AMOUNT` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PHD_GRATUITY_TOTAL_AMOUNT` longtext,
  `RESIDENCE_PAYMENT` longtext,
  `SECOND_CYCLE_INDIVIDUAL_CANDIDACY_AMOUNT` longtext,
  `SPECIALIZATION_GRATUITY_TOTAL_AMOUNT` longtext,
  `TOTAL_COST` longtext,
  `TRANSACTIONS_TOTAL_AMOUNT` longtext,
  `WHEN_PROCESSED` timestamp NULL default NULL,
  `WHEN_PROCESSED_BY_SIBS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SPACE_INFORMATION` (
  `AGE_QUALITY` tinyint(1),
  `AREA` longtext,
  `BLUEPRINT_NUMBER` longtext,
  `DESCRIPTION` longtext,
  `DISTANCE_FROM_SANITARY_INSTALATIONS_QUALITY` tinyint(1),
  `DOOR_NUMBER` longtext,
  `HEIGHT_QUALITY` tinyint(1),
  `IDENTIFICATION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `ILLUMINATION_QUALITY` tinyint(1),
  `KEY_LOCALITY` int(11),
  `KEY_ROOM_CLASSIFICATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SPACE` int(11),
  `LEVEL` int(11),
  `NAME` longtext,
  `OBSERVATIONS` longtext,
  `OID` bigint(20),
  `OID_LOCALITY` bigint(20),
  `OID_ROOM_CLASSIFICATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SPACE` bigint(20),
  `SECURITY_QUALITY` tinyint(1),
  `VALID_FROM` longtext,
  `VALID_UNTIL` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_LOCALITY),
  index (OID_LOCALITY),
  index (KEY_ROOM_CLASSIFICATION),
  index (OID_ROOM_CLASSIFICATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SPACE),
  index (OID_SPACE)
) type=InnoDB, character set utf8 ;

create table `SPECIAL_SEASON_CODE` (
  `CODE` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MAX_ECTS` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SITUATION` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `STUDENT` (
  `EXPORT_INFORMATION_PASSWORD` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ALUMNI` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER` int(11),
  `OID` bigint(20),
  `OID_ALUMNI` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ALUMNI),
  index (OID_ALUMNI),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `STUDENT_COURSE_REPORT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `STRONG_POINTS` longtext,
  `STUDENT_REPORT` longtext,
  `WEAK_POINTS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `STUDENT_CURRICULAR_PLAN` (
  `CLASSIFICATION` double,
  `COMPLETED_COURSES` int(11),
  `CURRENT_STATE` text,
  `ENROLLED_COURSES` int(11),
  `GIVEN_CREDITS` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_BRANCH` int(11),
  `KEY_DEGREE_CURRICULAR_PLAN` int(11),
  `KEY_EMPLOYEE` int(11),
  `KEY_EQUIVALENCE_PLAN` int(11),
  `KEY_MASTER_DEGREE_THESIS` int(11),
  `KEY_ROOT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OBSERVATIONS` longtext,
  `OID` bigint(20),
  `OID_BRANCH` bigint(20),
  `OID_DEGREE_CURRICULAR_PLAN` bigint(20),
  `OID_EMPLOYEE` bigint(20),
  `OID_EQUIVALENCE_PLAN` bigint(20),
  `OID_MASTER_DEGREE_THESIS` bigint(20),
  `OID_ROOT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `SPECIALIZATION` text,
  `START_DATE_YEAR_MONTH_DAY` longtext,
  `WHEN_DATE_TIME` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BRANCH),
  index (OID_BRANCH),
  index (KEY_DEGREE_CURRICULAR_PLAN),
  index (OID_DEGREE_CURRICULAR_PLAN),
  index (KEY_EMPLOYEE),
  index (OID_EMPLOYEE),
  index (KEY_EQUIVALENCE_PLAN),
  index (OID_EQUIVALENCE_PLAN),
  index (KEY_MASTER_DEGREE_THESIS),
  index (OID_MASTER_DEGREE_THESIS),
  index (KEY_ROOT),
  index (OID_ROOT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `STUDENT_DATA_BY_EXECUTION_YEAR` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_RESIDENCE_CANDIDACY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_RESIDENCE_CANDIDACY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `PERSONAL_DATA_AUTHORIZATION` text,
  `WORKING_STUDENT` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_RESIDENCE_CANDIDACY),
  index (OID_RESIDENCE_CANDIDACY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `STUDENT_GROUP` (
  `GROUP_NUMBER` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_GROUPING` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SHIFT` int(11),
  `OID` bigint(20),
  `OID_GROUPING` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SHIFT` bigint(20),
  `VALID` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_GROUPING),
  index (OID_GROUPING),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SHIFT),
  index (OID_SHIFT)
) type=InnoDB, character set utf8 ;

create table `STUDENT_INQUIRIES_COURSE_RESULT` (
  `APPROVED_RATIO` double,
  `AUDIT_C_U` tinyint(1),
  `AVAILABLE_TO_INQUIRY` tinyint(1),
  `AVERAGE_PERC_WEEKLY_HOURS` double,
  `AVERAGE__N_D_E` double,
  `AVERAGE__N_H_T_A` double,
  `AVERAGE__P1_3` double,
  `AVERAGE__P1_4` double,
  `AVERAGE__P2_1` double,
  `AVERAGE__P2_2` double,
  `AVERAGE__P2_3` double,
  `AVERAGE__P2_4` double,
  `AVERAGE__P3_1` double,
  `AVERAGE__P3_2` double,
  `AVERAGE__P3_3` double,
  `AVERAGE__P3_4` double,
  `AVERAGE__P4` double,
  `AVERAGE__P5` double,
  `COURSE_RESULTS_COORDINATOR_COMMENT` longtext,
  `COURSE_RESULTS_COORDINATOR_COMMENT_DATE` timestamp NULL default NULL,
  `ECTS` double,
  `ESTIMATED_ECTS_AVERAGE` double,
  `ESTIMATED_ECTS_NUMBER` int(11),
  `ESTIMATED_ECTS_STANDARD_DEVIATION` double,
  `EVALUATED_RATIO` double,
  `GRADE_AVERAGE` double,
  `HEADERS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INTERNAL_DISCLOSURE` tinyint(1),
  `INVALID_INQUIRY_ANSWERS_NUMBER` double,
  `INVALID_INQUIRY_ANSWERS_RATIO` double,
  `KEY_COORDINATOR_COMMENT` int(11),
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NO_INQUIRY_ANSWERS_NUMBER` double,
  `NO_INQUIRY_ANSWERS_RATIO` double,
  `NUMBER_OF_ENROLLED` int(11),
  `NUMBER_PERC__N_H_T_A` int(11),
  `NUMBER__N_D_E` int(11),
  `NUMBER__N_H_T_A` int(11),
  `NUMBER__P1_1` double,
  `NUMBER__P1_2_A` double,
  `NUMBER__P1_2_B` double,
  `NUMBER__P1_2_C` double,
  `NUMBER__P1_2_D` double,
  `NUMBER__P1_2_E` double,
  `NUMBER__P1_2_G` double,
  `NUMBER__P1_3` int(11),
  `NUMBER__P1_4` int(11),
  `NUMBER__P2_1` int(11),
  `NUMBER__P2_2` int(11),
  `NUMBER__P2_3` int(11),
  `NUMBER__P2_4` int(11),
  `NUMBER__P3_1` int(11),
  `NUMBER__P3_2` int(11),
  `NUMBER__P3_3` int(11),
  `NUMBER__P3_4` int(11),
  `NUMBER__P4` int(11),
  `NUMBER__P5` int(11),
  `NUMBER__P_1_2_F` double,
  `OID` bigint(20),
  `OID_COORDINATOR_COMMENT` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PERC_10_12` double,
  `PERC_13_14` double,
  `PERC_15_16` double,
  `PERC_17_18` double,
  `PERC_19_20` double,
  `PERC_FLUNKED` double,
  `PERC_NON_EVALUATED` double,
  `PERC__P1_3_1` double,
  `PERC__P1_3_2` double,
  `PERC__P1_3_3` double,
  `PERC__P1_3_4` double,
  `PERC__P1_3_5` double,
  `PERC__P1_3_6` double,
  `PERC__P1_3_7` double,
  `PERC__P1_3_8` double,
  `PERC__P1_3_9` double,
  `PERC__P1_4_1` double,
  `PERC__P1_4_2` double,
  `PERC__P1_4_3` double,
  `PERC__P2_1_0` double,
  `PERC__P2_1_1` double,
  `PERC__P2_1_2` double,
  `PERC__P2_1_3` double,
  `PERC__P2_2_0` double,
  `PERC__P2_2_1` double,
  `PERC__P2_2_2` double,
  `PERC__P2_2_3` double,
  `PERC__P2_3_0` double,
  `PERC__P2_3_1` double,
  `PERC__P2_3_2` double,
  `PERC__P2_3_3` double,
  `PERC__P2_4_0` double,
  `PERC__P2_4_1` double,
  `PERC__P2_4_2` double,
  `PERC__P2_4_3` double,
  `PERC__P3_1_1` double,
  `PERC__P3_1_2` double,
  `PERC__P3_1_3` double,
  `PERC__P3_1_4` double,
  `PERC__P3_1_5` double,
  `PERC__P3_1_6` double,
  `PERC__P3_1_7` double,
  `PERC__P3_1_8` double,
  `PERC__P3_1_9` double,
  `PERC__P3_2_1` double,
  `PERC__P3_2_2` double,
  `PERC__P3_2_3` double,
  `PERC__P3_2_4` double,
  `PERC__P3_2_5` double,
  `PERC__P3_2_6` double,
  `PERC__P3_2_7` double,
  `PERC__P3_2_8` double,
  `PERC__P3_2_9` double,
  `PERC__P3_3_1` double,
  `PERC__P3_3_2` double,
  `PERC__P3_3_3` double,
  `PERC__P3_3_4` double,
  `PERC__P3_3_5` double,
  `PERC__P3_3_6` double,
  `PERC__P3_3_7` double,
  `PERC__P3_3_8` double,
  `PERC__P3_3_9` double,
  `PERC__P3_4_1` double,
  `PERC__P3_4_2` double,
  `PERC__P3_4_3` double,
  `PERC__P3_4_4` double,
  `PERC__P3_4_5` double,
  `PERC__P3_4_6` double,
  `PERC__P3_4_7` double,
  `PERC__P3_4_8` double,
  `PERC__P3_4_9` double,
  `PERC__P4_1` double,
  `PERC__P4_2` double,
  `PERC__P4_3` double,
  `PERC__P4_4` double,
  `PERC__P4_5` double,
  `PERC__P4_6` double,
  `PERC__P4_7` double,
  `PERC__P4_8` double,
  `PERC__P4_9` double,
  `PERC__P5_1` double,
  `PERC__P5_2` double,
  `PERC__P5_3` double,
  `PERC__P5_4` double,
  `PERC__P5_5` double,
  `PERC__P5_6` double,
  `PERC__P5_7` double,
  `PERC__P5_8` double,
  `PERC__P5_9` double,
  `PERC___P1_2_A` double,
  `PERC___P1_2_B` double,
  `PERC___P1_2_C` double,
  `PERC___P1_2_D` double,
  `PERC___P1_2_E` double,
  `PERC___P1_2_F` double,
  `PERC___P1_2_G` double,
  `PUBLIC_DISCLOSURE` tinyint(1),
  `RAW_VALUES` longtext,
  `RESULTS_DATE` text,
  `SCHEDULE_LOAD` double,
  `STANDARD_DEVIATION_PERC__N_H_T_A` double,
  `STANDARD_DEVIATION__N_D_E` double,
  `STANDARD_DEVIATION__N_H_T_A` double,
  `STANDARD_DEVIATION__P1_3` double,
  `STANDARD_DEVIATION__P1_4` double,
  `STANDARD_DEVIATION__P2_1` double,
  `STANDARD_DEVIATION__P2_2` double,
  `STANDARD_DEVIATION__P2_3` double,
  `STANDARD_DEVIATION__P2_4` double,
  `STANDARD_DEVIATION__P3_1` double,
  `STANDARD_DEVIATION__P3_2` double,
  `STANDARD_DEVIATION__P3_3` double,
  `STANDARD_DEVIATION__P3_4` double,
  `STANDARD_DEVIATION__P4` double,
  `STANDARD_DEVIATION__P5` double,
  `UNSATISFACTORY_RESULTS_C_U_EVALUATION` tinyint(1),
  `UNSATISFACTORY_RESULTS_C_U_ORGANIZATION` tinyint(1),
  `UNSATISFACTORY_RESULTS_ESF_E_C_T_S_C_U` tinyint(1),
  `UPLOAD_DATE_TIME` timestamp NULL default NULL,
  `VALID_INITIAL_FORM_ANSWERS_NUMBER` double,
  `VALID_INITIAL_FORM_ANSWERS_RATIO` double,
  `VALID_INQUIRY_ANSWERS_NUMBER` double,
  `VALID_INQUIRY_ANSWERS_RATIO` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COORDINATOR_COMMENT),
  index (OID_COORDINATOR_COMMENT),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `STUDENT_INQUIRIES_TEACHING_RESULT` (
  `AVERAGE__P6_1` double,
  `AVERAGE__P6_2` double,
  `AVERAGE__P6_3` double,
  `AVERAGE__P7_1` double,
  `AVERAGE__P7_2` double,
  `AVERAGE__P7_3` double,
  `AVERAGE__P7_4` double,
  `AVERAGE__P8_1` double,
  `AVERAGE__P8_2` double,
  `AVERAGE__P9` double,
  `HEADERS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INTERNAL_DEGREE_DISCLOSURE` tinyint(1),
  `INTERNAL_DISCLOSURE` tinyint(1),
  `KEY_EXECUTION_DEGREE` int(11),
  `KEY_PROFESSORSHIP` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NUMBER_OF_ANSWERS` int(11),
  `NUMBER__P6_1` int(11),
  `NUMBER__P6_1_VALUES` int(11),
  `NUMBER__P6_2` int(11),
  `NUMBER__P6_3` int(11),
  `NUMBER__P7_1` int(11),
  `NUMBER__P7_2` int(11),
  `NUMBER__P7_3` int(11),
  `NUMBER__P7_4` int(11),
  `NUMBER__P8_1` int(11),
  `NUMBER__P8_2` int(11),
  `NUMBER__P9` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_DEGREE` bigint(20),
  `OID_PROFESSORSHIP` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `P6_1_1_A` double,
  `P6_1_1_B` double,
  `P6_1_1_C` double,
  `P6_1_1_D` double,
  `P6_1_1_E` double,
  `P6_1_GREATER_3` double,
  `PERC__P6_1_1` double,
  `PERC__P6_1_2` double,
  `PERC__P6_1_3` double,
  `PERC__P6_1_4` double,
  `PERC__P6_1_5` double,
  `PERC__P6_1_6` double,
  `PERC__P6_1_7` double,
  `PERC__P6_1_A` double,
  `PERC__P6_1_B` double,
  `PERC__P6_1_C` double,
  `PERC__P6_1_D` double,
  `PERC__P6_1_E` double,
  `PERC__P6_2_1` double,
  `PERC__P6_2_2` double,
  `PERC__P6_2_3` double,
  `PERC__P6_2_4` double,
  `PERC__P6_2_5` double,
  `PERC__P6_2_6` double,
  `PERC__P6_2_7` double,
  `PERC__P6_2_8` double,
  `PERC__P6_2_9` double,
  `PERC__P6_3_1` double,
  `PERC__P6_3_2` double,
  `PERC__P6_3_3` double,
  `PERC__P6_3_4` double,
  `PERC__P6_3_5` double,
  `PERC__P6_3_6` double,
  `PERC__P6_3_7` double,
  `PERC__P6_3_8` double,
  `PERC__P6_3_9` double,
  `PERC__P7_1_1` double,
  `PERC__P7_1_2` double,
  `PERC__P7_1_3` double,
  `PERC__P7_1_4` double,
  `PERC__P7_1_5` double,
  `PERC__P7_1_6` double,
  `PERC__P7_1_7` double,
  `PERC__P7_1_8` double,
  `PERC__P7_1_9` double,
  `PERC__P7_2_1` double,
  `PERC__P7_2_2` double,
  `PERC__P7_2_3` double,
  `PERC__P7_2_4` double,
  `PERC__P7_2_5` double,
  `PERC__P7_2_6` double,
  `PERC__P7_2_7` double,
  `PERC__P7_2_8` double,
  `PERC__P7_2_9` double,
  `PERC__P7_3_1` double,
  `PERC__P7_3_2` double,
  `PERC__P7_3_3` double,
  `PERC__P7_3_4` double,
  `PERC__P7_3_5` double,
  `PERC__P7_3_6` double,
  `PERC__P7_3_7` double,
  `PERC__P7_3_8` double,
  `PERC__P7_3_9` double,
  `PERC__P7_4_1` double,
  `PERC__P7_4_2` double,
  `PERC__P7_4_3` double,
  `PERC__P7_4_4` double,
  `PERC__P7_4_5` double,
  `PERC__P7_4_6` double,
  `PERC__P7_4_7` double,
  `PERC__P7_4_8` double,
  `PERC__P7_4_9` double,
  `PERC__P8_1_1` double,
  `PERC__P8_1_2` double,
  `PERC__P8_1_3` double,
  `PERC__P8_1_4` double,
  `PERC__P8_1_5` double,
  `PERC__P8_1_6` double,
  `PERC__P8_1_7` double,
  `PERC__P8_1_8` double,
  `PERC__P8_1_9` double,
  `PERC__P8_2_1` double,
  `PERC__P8_2_2` double,
  `PERC__P8_2_3` double,
  `PERC__P8_2_4` double,
  `PERC__P8_2_5` double,
  `PERC__P8_2_6` double,
  `PERC__P8_2_7` double,
  `PERC__P8_2_8` double,
  `PERC__P8_2_9` double,
  `PERC__P9_1` double,
  `PERC__P9_2` double,
  `PERC__P9_3` double,
  `PUBLIC_DEGREE_DISCLOSURE` tinyint(1),
  `PUBLIC_DISCLOSURE` tinyint(1),
  `RAW_VALUES` longtext,
  `RESULTS_DATE` text,
  `SHIFT_TYPE` text,
  `STANDARD_DEVIATION__P6_1` double,
  `STANDARD_DEVIATION__P6_2` double,
  `STANDARD_DEVIATION__P6_3` double,
  `STANDARD_DEVIATION__P7_1` double,
  `STANDARD_DEVIATION__P7_2` double,
  `STANDARD_DEVIATION__P7_3` double,
  `STANDARD_DEVIATION__P7_4` double,
  `STANDARD_DEVIATION__P8_1` double,
  `STANDARD_DEVIATION__P8_2` double,
  `STANDARD_DEVIATION__P9` double,
  `UNSATISFACTORY_RESULTS_ASSIDUITY` tinyint(1),
  `UNSATISFACTORY_RESULTS_AUDITABLE` tinyint(1),
  `UNSATISFACTORY_RESULTS_PEDAGOGICAL_CAPACITY` tinyint(1),
  `UNSATISFACTORY_RESULTS_PRESENCIAL_LEARNING` tinyint(1),
  `UNSATISFACTORY_RESULTS_STUDENT_INTERACTION` tinyint(1),
  `UPLOAD_DATE_TIME` timestamp NULL default NULL,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_DEGREE),
  index (OID_EXECUTION_DEGREE),
  index (KEY_PROFESSORSHIP),
  index (OID_PROFESSORSHIP),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `STUDENT_STATUTE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_BEGIN_EXECUTION_PERIOD` int(11),
  `KEY_END_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_BEGIN_EXECUTION_PERIOD` bigint(20),
  `OID_END_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `STATUTE_TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BEGIN_EXECUTION_PERIOD),
  index (OID_BEGIN_EXECUTION_PERIOD),
  index (KEY_END_EXECUTION_PERIOD),
  index (OID_END_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `STUDENT_TEST_LOG` (
  `CHECKSUM` longtext,
  `DATE_DATE_TIME` timestamp NULL default NULL,
  `EVENT` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DISTRIBUTED_TEST` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_DISTRIBUTED_TEST` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DISTRIBUTED_TEST),
  index (OID_DISTRIBUTED_TEST),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `STUDENT_TEST_QUESTION` (
  `CORRECTION_FORMULA` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `ITEM_ID` longtext,
  `KEY_DISTRIBUTED_TEST` int(11),
  `KEY_QUESTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_DISTRIBUTED_TEST` bigint(20),
  `OID_QUESTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `OPTION_SHUFFLE` longtext,
  `RESPONSE` longtext,
  `TEST_QUESTION_MARK` double,
  `TEST_QUESTION_ORDER` int(11),
  `TEST_QUESTION_VALUE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DISTRIBUTED_TEST),
  index (OID_DISTRIBUTED_TEST),
  index (KEY_QUESTION),
  index (OID_QUESTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `SUMMARY` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IS_EXTRA_LESSON` tinyint(1),
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_LESSON_INSTANCE` int(11),
  `KEY_PROFESSORSHIP` int(11),
  `KEY_ROOM` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SHIFT` int(11),
  `KEY_TEACHER` int(11),
  `LAST_MODIFIED_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_LESSON_INSTANCE` bigint(20),
  `OID_PROFESSORSHIP` bigint(20),
  `OID_ROOM` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SHIFT` bigint(20),
  `OID_TEACHER` bigint(20),
  `STUDENTS_NUMBER` int(11),
  `SUMMARY_DATE_YEAR_MONTH_DAY` longtext,
  `SUMMARY_HOUR_HOUR_MINUTE_SECOND` time,
  `SUMMARY_TEXT` longtext,
  `SUMMARY_TYPE` text,
  `TEACHER_NAME` longtext,
  `TITLE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_LESSON_INSTANCE),
  index (OID_LESSON_INSTANCE),
  index (KEY_PROFESSORSHIP),
  index (OID_PROFESSORSHIP),
  index (KEY_ROOM),
  index (OID_ROOM),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SHIFT),
  index (OID_SHIFT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `SUPPORT_LESSON` (
  `END_TIME_HOUR_MINUTE_SECOND` time,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PROFESSORSHIP` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PROFESSORSHIP` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PLACE` longtext,
  `START_TIME_HOUR_MINUTE_SECOND` time,
  `WEEK_DAY` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PROFESSORSHIP),
  index (OID_PROFESSORSHIP),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `SUPPORT_REQUEST` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ERROR_LOG` int(11),
  `KEY_REQUESTER` int(11),
  `KEY_REQUEST_CONTEXT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `MESSAGE` longtext,
  `OID` bigint(20),
  `OID_ERROR_LOG` bigint(20),
  `OID_REQUESTER` bigint(20),
  `OID_REQUEST_CONTEXT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `REQUEST_PRIORITY` text,
  `REQUEST_TIME` timestamp NULL default NULL,
  `RESPONSE_EMAIL` longtext,
  `SUBJECT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ERROR_LOG),
  index (OID_ERROR_LOG),
  index (KEY_REQUESTER),
  index (OID_REQUESTER),
  index (KEY_REQUEST_CONTEXT),
  index (OID_REQUEST_CONTEXT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `TEACHER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SERVICE_PROVIDER_REGIME` int(11),
  `KEY_WEEKLY_OCUPATION` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SERVICE_PROVIDER_REGIME` bigint(20),
  `OID_WEEKLY_OCUPATION` bigint(20),
  `TEACHER_NUMBER` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SERVICE_PROVIDER_REGIME),
  index (OID_SERVICE_PROVIDER_REGIME),
  index (KEY_WEEKLY_OCUPATION),
  index (OID_WEEKLY_OCUPATION)
) type=InnoDB, character set utf8 ;

create table `TEACHER_DEGREE_FINAL_PROJECT_STUDENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `KEY_TEACHER` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `OID_TEACHER` bigint(20),
  `PERCENTAGE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `TEACHER_INSTITUTION_WORK_TIME` (
  `END_TIME_HOUR_MINUTE_SECOND` time,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `START_TIME_HOUR_MINUTE_SECOND` time,
  `WEEK_DAY` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `TEACHER_PERSONAL_EXPECTATION` (
  `AUTO_EVALUATION` longtext,
  `BOOK_PUBLICATIONS` int(11),
  `CIENTIFIC_COMUNITY_SERVICE` longtext,
  `CIENTIFIC_POS_GRADUATIONS` int(11),
  `CIENTIFIC_POS_GRADUATIONS_DESCRIPTION` longtext,
  `COMPANY_POSITIONS` longtext,
  `COMPANY_SOCIAL_ORGANS` longtext,
  `CONFERENCE_PUBLICATIONS` int(11),
  `CONSULTING` longtext,
  `DEPARTMENT_ORGANS` longtext,
  `EDUCATION_MAIN_FOCUS` longtext,
  `FINAL_DEGREE_WORK_ORIENTATIONS` int(11),
  `GRADUATIONS` int(11),
  `GRADUATIONS_DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSTITUTION_ORGANS` longtext,
  `JORNAL_ARTICLE_PUBLICATIONS` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `MASTER_DEGREE_ORIENTATIONS` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `ORIENTATIONS_MAIN_FOCUS` longtext,
  `OTHER_PUBLICATIONS` int(11),
  `OTHER_PUBLICATIONS_DESCRIPTION` longtext,
  `PATENT_PUBLICATIONS` int(11),
  `PHD_ORIENTATIONS` int(11),
  `PROFESSIONAL_ACTIVITY_MAIN_FOCUS` longtext,
  `PROFESSIONAL_POS_GRADUATIONS` int(11),
  `PROFESSIONAL_POS_GRADUATIONS_DESCRIPTION` longtext,
  `RESEARCH_AND_DEV_MAIN_FOCUS` longtext,
  `RESEARCH_AND_DEV_PROJECTS` int(11),
  `SEMINARIES` int(11),
  `SEMINARIES_DESCRIPTION` longtext,
  `SOCIETY_SERVICE` longtext,
  `TECHNICAL_REPORT_PUBLICATIONS` int(11),
  `TUTOR_COMMENT` longtext,
  `UNIVERSITY_ORGANS` longtext,
  `UNIVERSITY_SERVICE_MAIN_FOCUS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `TEACHER_PERSONAL_EXPECTATION_PERIOD` (
  `END_DATE_YEAR_MONTH_DAY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DEPARTMENT` int(11),
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DEPARTMENT` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `START_DATE_YEAR_MONTH_DAY` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEPARTMENT),
  index (OID_DEPARTMENT),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `TEACHER_SERVICE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `TEACHER_SERVICE_DISTRIBUTION` (
  `COURSES_MANAGEMENT_GROUP` longtext,
  `COURSES_VALUATION_MANAGERS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PARENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_T_S_D_PROCESS_PHASE` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_PARENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_T_S_D_PROCESS_PHASE` bigint(20),
  `TEACHERS_MANAGEMENT_GROUP` longtext,
  `TEACHERS_VALUATION_MANAGERS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARENT),
  index (OID_PARENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_T_S_D_PROCESS_PHASE),
  index (OID_T_S_D_PROCESS_PHASE)
) type=InnoDB, character set utf8 ;

create table `TEACHER_SERVICE_ITEM` (
  `CREDITS` double,
  `END_TIME_HOUR_MINUTE_SECOND` time,
  `FUNCTIONS_ACCUMULATION` longtext,
  `HOURS` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ADVISE` int(11),
  `KEY_PROFESSORSHIP` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SHIFT` int(11),
  `KEY_TEACHER_SERVICE` int(11),
  `MANAGEMENT_FUNCTION_NOTES` longtext,
  `MASTER_DEGREE_TEACHING_NOTES` longtext,
  `OID` bigint(20),
  `OID_ADVISE` bigint(20),
  `OID_PROFESSORSHIP` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SHIFT` bigint(20),
  `OID_TEACHER_SERVICE` bigint(20),
  `OTHERS_NOTES` longtext,
  `PERCENTAGE` double,
  `REASON` longtext,
  `SERVICE_EXEMPTION_NOTES` longtext,
  `START_TIME_HOUR_MINUTE_SECOND` time,
  `THESIS_NOTE` longtext,
  `WEEK_DAY` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ADVISE),
  index (OID_ADVISE),
  index (KEY_PROFESSORSHIP),
  index (OID_PROFESSORSHIP),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SHIFT),
  index (OID_SHIFT),
  index (KEY_TEACHER_SERVICE),
  index (OID_TEACHER_SERVICE)
) type=InnoDB, character set utf8 ;

create table `TEACHING_INQUIRY` (
  `ACTIVE_AND_INTERESSED_STUDENTS_RATIO` longtext,
  `ANSWER_DURATION` bigint(20),
  `AUTONOMOUS_WORK` int(11),
  `AVAILABLE_INFRASTRUCTURE_SUITABLE` int(11),
  `AVAILABLE_INFRASTRUCTURE_SUITABLE_REASON` longtext,
  `CLARIFICATION_OF_DOUBTS_OUTSIDE_CLASSES` int(11),
  `CLASSES_AND_OTHER_ACTIVITIES_FREQUENCY` int(11),
  `CLASSES_AND_OTHER_ACTIVITIES_PONCTUALITY` int(11),
  `COMPREHENSION_AND_KNOWLEDGE_OF_C_U` int(11),
  `COMPREHENSION_APPLICATION_OF_C_U` int(11),
  `COOPERATION_AND_COMMUNICATION_CAPACITY` int(11),
  `CRITICAL_SENSE_AND_REFLEXIVE_SPIRIT` int(11),
  `DISTURBING_EVENTS_IN_CLASSES` int(11),
  `DISTURBING_EVENTS_IN_CLASSES_DESCRIPTION` longtext,
  `DISTURBING_EVENTS_IN_CLASSES_REASON_INDISCIPLINE` tinyint(1),
  `DISTURBING_EVENTS_IN_CLASSES_REASON_INFRASTRUCTURE` tinyint(1),
  `DISTURBING_EVENTS_IN_CLASSES_REASON_INTERMEDIATE_EVALUATIONS` tinyint(1),
  `DISTURBING_EVENTS_IN_CLASSES_REASON_LOW_ASSIDUITY` tinyint(1),
  `ESTABLISHED_SCHEDULE_NOT_SUITABLE_REASON` longtext,
  `ESTABLISHED_SCHEDULE_SUITABLE` int(11),
  `EVALUATION_METHOD_SUITABLE_FOR_C_U_TEACHING_TYPE_AND_OBJECTIVE` int(11),
  `FINAL_COMMENTS_AND_IMPROOVEMENTS` longtext,
  `GENERAL_COMMENT_TO_C_U_OPERATION` longtext,
  `GLOBAL_CLASSIFICATION_OF_THIS_C_U` int(11),
  `GLOBAL_QUALITY_OF_TEACHING_IN_C_U` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INCREASE_AUTONOUMOUS_LEARNING_CAPACITY` int(11),
  `KEY_PROFESSORSHIP` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LOAD_AND_CLASS_TYPE_CONTRIBUTION_TO_FULLFILMENT_OF_C_U_PROGRAM` int(11),
  `NEGATIVE_RESULTS_RESOLUTION_AND_IMPROOVEMENT_PLAN_OF_ACTION` longtext,
  `NUMBER_OF_ELECTRONIC_QUIZZES` int(11),
  `NUMBER_OF_EXAMS` int(11),
  `NUMBER_OF_QUIZZES_AND_MINI_TESTS` int(11),
  `NUMBER_OF_STUDY_VISITS_OR_OTHER_ACTIVITIES_REPORTS` int(11),
  `NUMBER_OF_TESTS` int(11),
  `NUMBER_OF_WORKS_OR_PROJECTS` int(11),
  `OID` bigint(20),
  `OID_PROFESSORSHIP` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OTHER_TEACHING_LANGUAGE` longtext,
  `PEDAGOGICAL_ACTIVITIES_DEVELOPED` int(11),
  `POSITION_OF_C_U_IN_STUDENT_CURRICULAR_PLAN` int(11),
  `RELATIVE_PEDAGOGICAL_INITIATIVES` longtext,
  `REPORT_DISCLOSURE_TO_ACADEMIC_COMUNITY` tinyint(1),
  `RESPONSE_DATE_TIME` timestamp NULL default NULL,
  `RESPONSIBLE_TEACHER_REPORT_DISCLOSURE_TO_ACADEMIC_COMUNITY` tinyint(1),
  `RESULTS_DISCLOSURE_TO_ACADEMIC_COMUNITY` tinyint(1),
  `SEMESTER_END_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_LABS` longtext,
  `SEMESTER_END_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_PROBLEMS` longtext,
  `SEMESTER_END_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_PROJECT` longtext,
  `SEMESTER_END_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_SEMINARY` longtext,
  `SEMESTER_END_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_THEORICAL` longtext,
  `SEMESTER_END_AVERAGE_STUDENT_NUMBER_IN_LABS` longtext,
  `SEMESTER_END_AVERAGE_STUDENT_NUMBER_IN_PROBLEMS` longtext,
  `SEMESTER_END_AVERAGE_STUDENT_NUMBER_IN_PROJECT` longtext,
  `SEMESTER_END_AVERAGE_STUDENT_NUMBER_IN_SEMINARY` longtext,
  `SEMESTER_END_AVERAGE_STUDENT_NUMBER_IN_THEORICAL` longtext,
  `SEMESTER_MIDDLE_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_LABS` longtext,
  `SEMESTER_MIDDLE_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_PROBLEMS` longtext,
  `SEMESTER_MIDDLE_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_PROJECT` longtext,
  `SEMESTER_MIDDLE_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_SEMINARY` longtext,
  `SEMESTER_MIDDLE_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_THEORICA` longtext,
  `SEMESTER_MIDDLE_AVERAGE_STUDENT_NUMBER_IN_LABS` longtext,
  `SEMESTER_MIDDLE_AVERAGE_STUDENT_NUMBER_IN_PROBLEMS` longtext,
  `SEMESTER_MIDDLE_AVERAGE_STUDENT_NUMBER_IN_PROJECT` longtext,
  `SEMESTER_MIDDLE_AVERAGE_STUDENT_NUMBER_IN_SEMINARY` longtext,
  `SEMESTER_MIDDLE_AVERAGE_STUDENT_NUMBER_IN_THEORICAL` longtext,
  `SEMESTER_START_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_LABS` longtext,
  `SEMESTER_START_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_PROBLEMS` longtext,
  `SEMESTER_START_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_PROJECT` longtext,
  `SEMESTER_START_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_SEMINARY` longtext,
  `SEMESTER_START_ACTIVE_AND_INTERESSED_STUDENTS_RATIO_IN_THEORICAL` longtext,
  `SEMESTER_START_AVERAGE_STUDENT_NUMBER_IN_LABS` longtext,
  `SEMESTER_START_AVERAGE_STUDENT_NUMBER_IN_PROBLEMS` longtext,
  `SEMESTER_START_AVERAGE_STUDENT_NUMBER_IN_PROJECT` longtext,
  `SEMESTER_START_AVERAGE_STUDENT_NUMBER_IN_SEMINARY` longtext,
  `SEMESTER_START_AVERAGE_STUDENT_NUMBER_IN_THEORICAL` longtext,
  `SOCIAL_AND_PROFESSIONAL_CONTEXT_ANALYSIS` int(11),
  `STRONG_POINTS_OF_C_U_TEACHING_PROCESS` longtext,
  `STUDENTS_PERFORMANCE` int(11),
  `STUDENTS_READY_FOR_FOLLOWING_C_U` int(11),
  `TEACHER_NUMBER_SUITABLE_FOR_C_U_OPERATION` int(11),
  `TEACHING_LANGUAGE` longtext,
  `WEAK_POINTS_OF_C_U_TEACHING_PROCESS` longtext,
  `WORK_LOAD_CLASSIFICATION` int(11),
  `WORK_LOAD_CLASSIFICATION_REASONS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PROFESSORSHIP),
  index (OID_PROFESSORSHIP),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `TEST` (
  `CREATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INFORMATION` longtext,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEST_SCOPE` int(11),
  `LAST_MODIFIED_DATE_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEST_SCOPE` bigint(20),
  `TITLE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEST_SCOPE),
  index (OID_TEST_SCOPE)
) type=InnoDB, character set utf8 ;

create table `TEST_CHECKSUM` (
  `CHECKSUM_CODE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `TEST_QUESTION` (
  `CORRECTION_FORMULA` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_QUESTION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEST` int(11),
  `OID` bigint(20),
  `OID_QUESTION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEST` bigint(20),
  `TEST_QUESTION_ORDER` int(11),
  `TEST_QUESTION_VALUE` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_QUESTION),
  index (OID_QUESTION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEST),
  index (OID_TEST)
) type=InnoDB, character set utf8 ;

create table `TEST_SCOPE` (
  `CLASS_NAME` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CLASS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `THEME` (
  `DESCRIPTION` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SHORT_NAME` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `THESIS` (
  `APPROVAL` timestamp NULL default NULL,
  `COMMENT` longtext,
  `CONFIRMATION` timestamp NULL default NULL,
  `CONFIRMMED_DOCUMENTS` timestamp NULL default NULL,
  `CREATION` timestamp NULL default NULL,
  `DECLARATION_ACCEPTED` tinyint(1),
  `DECLARATION_ACCEPTED_TIME` timestamp NULL default NULL,
  `DISCUSSED` timestamp NULL default NULL,
  `DOCUMENTS_AVAILABLE_AFTER` timestamp NULL default NULL,
  `EVALUATION` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEYWORDS` longtext,
  `KEY_DEGREE` int(11),
  `KEY_DISSERTATION` int(11),
  `KEY_ENROLMENT` int(11),
  `KEY_EXTENDED_ABSTRACT` int(11),
  `KEY_LAST_LIBRARY_OPERATION` int(11),
  `KEY_PUBLICATION` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SITE` int(11),
  `MARK` int(11),
  `OID` bigint(20),
  `OID_DEGREE` bigint(20),
  `OID_DISSERTATION` bigint(20),
  `OID_ENROLMENT` bigint(20),
  `OID_EXTENDED_ABSTRACT` bigint(20),
  `OID_LAST_LIBRARY_OPERATION` bigint(20),
  `OID_PUBLICATION` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SITE` bigint(20),
  `ORIENTATOR_CREDITS_DISTRIBUTION` int(11),
  `PROPOSED_DISCUSSED` timestamp NULL default NULL,
  `PROPOSED_PLACE` longtext,
  `REJECTION_COMMENT` longtext,
  `STATE` text,
  `SUBMISSION` timestamp NULL default NULL,
  `THESIS_ABSTRACT` longtext,
  `TITLE` longtext,
  `VISIBILITY` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DEGREE),
  index (OID_DEGREE),
  index (KEY_DISSERTATION),
  index (OID_DISSERTATION),
  index (KEY_ENROLMENT),
  index (OID_ENROLMENT),
  index (KEY_EXTENDED_ABSTRACT),
  index (OID_EXTENDED_ABSTRACT),
  index (KEY_LAST_LIBRARY_OPERATION),
  index (OID_LAST_LIBRARY_OPERATION),
  index (KEY_PUBLICATION),
  index (OID_PUBLICATION),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SITE),
  index (OID_SITE)
) type=InnoDB, character set utf8 ;

create table `THESIS_EVALUATION_PARTICIPANT` (
  `AFFILIATION` longtext,
  `CATEGORY` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_THESIS` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_THESIS` bigint(20),
  `PERSON_NAME` longtext,
  `TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_THESIS),
  index (OID_THESIS)
) type=InnoDB, character set utf8 ;

create table `THESIS_LIBRARY_OPERATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_NEXT` int(11),
  `KEY_PERFORMER` int(11),
  `KEY_PREVIOUS` int(11),
  `KEY_THESIS` int(11),
  `LIBRARY_REFERENCE` longtext,
  `OID` bigint(20),
  `OID_NEXT` bigint(20),
  `OID_PERFORMER` bigint(20),
  `OID_PREVIOUS` bigint(20),
  `OID_THESIS` bigint(20),
  `OPERATION` timestamp NULL default NULL,
  `PENDING_COMMENT` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_NEXT),
  index (OID_NEXT),
  index (KEY_PERFORMER),
  index (OID_PERFORMER),
  index (KEY_PREVIOUS),
  index (OID_PREVIOUS),
  index (KEY_THESIS),
  index (OID_THESIS)
) type=InnoDB, character set utf8 ;

create table `TRANSACTION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_GRATUITY_SITUATION` int(11),
  `KEY_GUIDE_ENTRY` int(11),
  `KEY_PERSON_ACCOUNT` int(11),
  `KEY_REIMBURSEMENT_GUIDE_ENTRY` int(11),
  `KEY_RESPONSIBLE_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_GRATUITY_SITUATION` bigint(20),
  `OID_GUIDE_ENTRY` bigint(20),
  `OID_PERSON_ACCOUNT` bigint(20),
  `OID_REIMBURSEMENT_GUIDE_ENTRY` bigint(20),
  `OID_RESPONSIBLE_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `PAYMENT_TYPE` text,
  `REMARKS` longtext,
  `TRANSACTION_DATE_DATE_TIME` timestamp NULL default NULL,
  `TRANSACTION_TYPE` text,
  `VALUE_BIG_DECIMAL` longtext,
  `WAS_INTERNAL_BALANCE` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_GRATUITY_SITUATION),
  index (OID_GRATUITY_SITUATION),
  index (KEY_GUIDE_ENTRY),
  index (OID_GUIDE_ENTRY),
  index (KEY_PERSON_ACCOUNT),
  index (OID_PERSON_ACCOUNT),
  index (KEY_REIMBURSEMENT_GUIDE_ENTRY),
  index (OID_REIMBURSEMENT_GUIDE_ENTRY),
  index (KEY_RESPONSIBLE_PERSON),
  index (OID_RESPONSIBLE_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

create table `TUTORSHIP` (
  `END_DATE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT_CURRICULAR_PLAN` int(11),
  `KEY_TEACHER` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT_CURRICULAR_PLAN` bigint(20),
  `OID_TEACHER` bigint(20),
  `START_DATE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT_CURRICULAR_PLAN),
  index (OID_STUDENT_CURRICULAR_PLAN),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `T_S_D_COURSE` (
  `FIRST_TIME_ENROLLED_STUDENTS_MANUAL` int(11),
  `FIRST_TIME_ENROLLED_STUDENTS_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IS_ACTIVE` tinyint(1),
  `KEY_COMPETENCE_COURSE` int(11),
  `KEY_CURRICULAR_COURSE` int(11),
  `KEY_EXECUTION_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_T_S_D_CURRICULAR_COURSE_GROUP` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_COMPETENCE_COURSE` bigint(20),
  `OID_CURRICULAR_COURSE` bigint(20),
  `OID_EXECUTION_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_T_S_D_CURRICULAR_COURSE_GROUP` bigint(20),
  `SECOND_TIME_ENROLLED_STUDENTS_MANUAL` int(11),
  `SECOND_TIME_ENROLLED_STUDENTS_TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_COMPETENCE_COURSE),
  index (OID_COMPETENCE_COURSE),
  index (KEY_CURRICULAR_COURSE),
  index (OID_CURRICULAR_COURSE),
  index (KEY_EXECUTION_PERIOD),
  index (OID_EXECUTION_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_T_S_D_CURRICULAR_COURSE_GROUP),
  index (OID_T_S_D_CURRICULAR_COURSE_GROUP)
) type=InnoDB, character set utf8 ;

create table `T_S_D_CURRICULAR_LOAD` (
  `FREQUENCY` double,
  `HOURS_MANUAL` double,
  `HOURS_PER_SHIFT_MANUAL` double,
  `HOURS_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_T_S_D_COURSE` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_T_S_D_COURSE` bigint(20),
  `SCHOOL_CLASS_CALCULATION_METHOD` text,
  `STUDENTS_PER_SHIFT_MANUAL` int(11),
  `STUDENTS_PER_SHIFT_TYPE` text,
  `TIME_TABLE_SLOTS` int(11),
  `TYPE` text,
  `WEIGHT_FIRST_TIME_ENROLLED_STUDENTS_PER_SHIFT_MANUAL` double,
  `WEIGHT_FIRST_TIME_ENROLLED_STUDENTS_PER_SHIFT_TYPE` text,
  `WEIGHT_SECOND_TIME_ENROLLED_STUDENTS_PER_SHIFT_MANUAL` double,
  `WEIGHT_SECOND_TIME_ENROLLED_STUDENTS_PER_SHIFT_TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_T_S_D_COURSE),
  index (OID_T_S_D_COURSE)
) type=InnoDB, character set utf8 ;

create table `T_S_D_PROCESS` (
  `AUTOMATIC_VALUATION_GROUP` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CREATOR` int(11),
  `KEY_DEPARTMENT` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_CREATOR` bigint(20),
  `OID_DEPARTMENT` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OMISSION_CONFIGURATION_GROUP` longtext,
  `PHASES_MANAGEMENT_GROUP` longtext,
  `TSD_COURSES_AND_TEACHERS_MANAGEMENT_GROUP` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CREATOR),
  index (OID_CREATOR),
  index (KEY_DEPARTMENT),
  index (OID_DEPARTMENT),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `T_S_D_PROCESS_PHASE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IS_PUBLISHED` tinyint(1),
  `KEY_NEXT_T_S_D_PROCESS_PHASE` int(11),
  `KEY_PREVIOUS_T_S_D_PROCESS_PHASE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_T_S_D_PROCESS` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_NEXT_T_S_D_PROCESS_PHASE` bigint(20),
  `OID_PREVIOUS_T_S_D_PROCESS_PHASE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_T_S_D_PROCESS` bigint(20),
  `STATUS` text,
  `STUDENTS_PER_FIELD_WORK_SHIFT` int(11),
  `STUDENTS_PER_LABORATORIAL_SHIFT` int(11),
  `STUDENTS_PER_PROBLEM_SHIFT` int(11),
  `STUDENTS_PER_SEMINARY_SHIFT` int(11),
  `STUDENTS_PER_THEORETICAL_SHIFT` int(11),
  `STUDENTS_PER_TRAINING_PERIOD_SHIFT` int(11),
  `STUDENTS_PER_TUT_DIRECTION_SHIFT` int(11),
  `WEIGHT_FIRST_TIME_ENROLLED_STUDENTS_PER_FIELD_WORK_SHIFT` double,
  `WEIGHT_FIRST_TIME_ENROLLED_STUDENTS_PER_LAB_SHIFT` double,
  `WEIGHT_FIRST_TIME_ENROLLED_STUDENTS_PER_PROBLEM_SHIFT` double,
  `WEIGHT_FIRST_TIME_ENROLLED_STUDENTS_PER_SEMINARY_SHIFT` double,
  `WEIGHT_FIRST_TIME_ENROLLED_STUDENTS_PER_THEO_SHIFT` double,
  `WEIGHT_FIRST_TIME_ENROLLED_STUDENTS_PER_TRAINING_SHIFT` double,
  `WEIGHT_FIRST_TIME_ENROLLED_STUDENTS_PER_TUT_DIRECTION_SHIFT` double,
  `WEIGHT_SECOND_TIME_ENROLLED_STUDENTS_PER_FIELD_WORK_SHIFT` double,
  `WEIGHT_SECOND_TIME_ENROLLED_STUDENTS_PER_LAB_SHIFT` double,
  `WEIGHT_SECOND_TIME_ENROLLED_STUDENTS_PER_PROBLEM_SHIFT` double,
  `WEIGHT_SECOND_TIME_ENROLLED_STUDENTS_PER_SEMINARY_SHIFT` double,
  `WEIGHT_SECOND_TIME_ENROLLED_STUDENTS_PER_THEO_SHIFT` double,
  `WEIGHT_SECOND_TIME_ENROLLED_STUDENTS_PER_TRAINING_SHIFT` double,
  `WEIGHT_SECOND_TIME_ENROLLED_STUDENTS_PER_TUT_DIRECTION_SHIFT` double,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_NEXT_T_S_D_PROCESS_PHASE),
  index (OID_NEXT_T_S_D_PROCESS_PHASE),
  index (KEY_PREVIOUS_T_S_D_PROCESS_PHASE),
  index (OID_PREVIOUS_T_S_D_PROCESS_PHASE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_T_S_D_PROCESS),
  index (OID_T_S_D_PROCESS)
) type=InnoDB, character set utf8 ;

create table `T_S_D_PROFESSORSHIP` (
  `HOURS_MANUAL` double,
  `HOURS_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_T_S_D_COURSE` int(11),
  `KEY_T_S_D_TEACHER` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_T_S_D_COURSE` bigint(20),
  `OID_T_S_D_TEACHER` bigint(20),
  `TYPE` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_T_S_D_COURSE),
  index (OID_T_S_D_COURSE),
  index (KEY_T_S_D_TEACHER),
  index (OID_T_S_D_TEACHER)
) type=InnoDB, character set utf8 ;

create table `T_S_D_TEACHER` (
  `EXTRA_CREDITS_NAME` longtext,
  `EXTRA_CREDITS_VALUE` double,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_CATEGORY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_CATEGORY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `REQUIRED_HOURS` int(11),
  `USING_EXTRA_CREDITS` tinyint(1),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_CATEGORY),
  index (OID_CATEGORY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `UNAVAILABLE_PERIOD` (
  `BEGIN_DATE` timestamp NULL default NULL,
  `END_DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `JUSTIFICATION` longtext,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `UNIT_ACRONYM` (
  `ACRONYM` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `UNIT_COST_CENTER_CODE` (
  `COST_CENTER_CODE` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `UNIT_EXTRA_WORK_AMOUNT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  `SPENT` double,
  `YEAR` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `UNIT_EXTRA_WORK_MOVEMENT` (
  `AMOUNT` double,
  `DATE` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT_EXTRA_WORK_AMOUNT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT_EXTRA_WORK_AMOUNT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT_EXTRA_WORK_AMOUNT),
  index (OID_UNIT_EXTRA_WORK_AMOUNT)
) type=InnoDB, character set utf8 ;

create table `UNIT_FILE_TAG` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `UNIT_NAME` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `IS_EXTERNAL_UNIT` tinyint(1),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `UNIT_NAME_PART` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME_PART` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `UNIT_SITE_BANNER` (
  `COLOR` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_BACKGROUND_IMAGE` int(11),
  `KEY_MAIN_IMAGE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SITE` int(11),
  `LINK` longtext,
  `OID` bigint(20),
  `OID_BACKGROUND_IMAGE` bigint(20),
  `OID_MAIN_IMAGE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SITE` bigint(20),
  `REPEAT_TYPE` text,
  `WEIGHT` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_BACKGROUND_IMAGE),
  index (OID_BACKGROUND_IMAGE),
  index (KEY_MAIN_IMAGE),
  index (OID_MAIN_IMAGE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SITE),
  index (OID_SITE)
) type=InnoDB, character set utf8 ;

create table `UNIT_SITE_LINK` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_FOOTER_UNIT_SITE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TOP_UNIT_SITE` int(11),
  `LABEL` longtext,
  `LINK_ORDER` int(11),
  `OID` bigint(20),
  `OID_FOOTER_UNIT_SITE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TOP_UNIT_SITE` bigint(20),
  `URL` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_FOOTER_UNIT_SITE),
  index (OID_FOOTER_UNIT_SITE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TOP_UNIT_SITE),
  index (OID_TOP_UNIT_SITE)
) type=InnoDB, character set utf8 ;

create table `UNIVERSITY` (
  `CODE` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `USER` (
  `CURRENT_LOGIN_DATE_TIME_DATE_TIME` timestamp NULL default NULL,
  `CURRENT_LOGIN_HOST` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_LOGIN_REQUEST` int(11),
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_LOGIN_DATE_TIME_DATE_TIME` timestamp NULL default NULL,
  `LAST_LOGIN_HOST` longtext,
  `LOGOUT_DATE_TIME` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_LOGIN_REQUEST` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PRIVATE_KEY` longblob,
  `PRIVATE_KEY_CREATION` timestamp NULL default NULL,
  `PRIVATE_KEY_VALIDITY` timestamp NULL default NULL,
  `USER_U_ID` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_LOGIN_REQUEST),
  index (OID_LOGIN_REQUEST),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `USERNAME_COUNTER` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INVITATION_COUNTER` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `VEHICLE` (
  `AUTHORIZATION_DECLARATION_DELIVERY_TYPE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `INSURANCE_DELIVERY_TYPE` text,
  `KEY_PARKING_PARTY` int(11),
  `KEY_PARKING_REQUEST` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_PARKING_PARTY` bigint(20),
  `OID_PARKING_REQUEST` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OWNER_ID_DELIVERY_TYPE` text,
  `PLATE_NUMBER` longtext,
  `PROPERTY_REGISTRY_DELIVERY_TYPE` text,
  `VEHICLE_MAKE` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PARKING_PARTY),
  index (OID_PARKING_PARTY),
  index (KEY_PARKING_REQUEST),
  index (OID_PARKING_REQUEST),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `VIGILANCY` (
  `ACTIVE` tinyint(1),
  `CONFIRMED` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_VIGILANT_WRAPPER` int(11),
  `KEY_WRITTEN_EVALUATION` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_VIGILANT_WRAPPER` bigint(20),
  `OID_WRITTEN_EVALUATION` bigint(20),
  `STATUS` text,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_VIGILANT_WRAPPER),
  index (OID_VIGILANT_WRAPPER),
  index (KEY_WRITTEN_EVALUATION),
  index (OID_WRITTEN_EVALUATION)
) type=InnoDB, character set utf8 ;

create table `VIGILANT_GROUP` (
  `BEGIN_OF_FIRST_PERIOD_FOR_UNAVAILABLE_PERIODS` timestamp NULL default NULL,
  `BEGIN_OF_SECOND_PERIOD_FOR_UNAVAILABLE_PERIODS` timestamp NULL default NULL,
  `CONTACT_EMAIL` longtext,
  `CONVOKE_STRATEGY` longtext,
  `EMAIL_SUBJECT_PREFIX` longtext,
  `END_OF_FIRST_PERIOD_FOR_UNAVAILABLE_PERIODS` timestamp NULL default NULL,
  `END_OF_SECOND_PERIOD_FOR_UNAVAILABLE_PERIODS` timestamp NULL default NULL,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_UNIT` int(11),
  `NAME` longtext,
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_UNIT` bigint(20),
  `POINTS_FOR_CONVOKED` int(11),
  `POINTS_FOR_DISCONVOKED` int(11),
  `POINTS_FOR_DISMISSED` int(11),
  `POINTS_FOR_DISMISSED_TEACHER` int(11),
  `POINTS_FOR_MISSING` int(11),
  `POINTS_FOR_MISSING_TEACHER` int(11),
  `POINTS_FOR_TEACHER` int(11),
  `RULES_LINK` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_UNIT),
  index (OID_UNIT)
) type=InnoDB, character set utf8 ;

create table `VIGILANT_WRAPPER` (
  `CONVOKABLE` tinyint(1),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `JUSTIFICATION` longtext,
  `KEY_PERSON` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_VIGILANT_GROUP` int(11),
  `OID` bigint(20),
  `OID_PERSON` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_VIGILANT_GROUP` bigint(20),
  `POINTS_WEIGHT` longtext,
  `START_POINTS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERSON),
  index (OID_PERSON),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_VIGILANT_GROUP),
  index (OID_VIGILANT_GROUP)
) type=InnoDB, character set utf8 ;

create table `WEEKLY_OCUPATION` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_TEACHER` int(11),
  `LAST_MODIFICATION_DATE_DATE_TIME` timestamp NULL default NULL,
  `LECTURE` int(11),
  `MANAGEMENT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_TEACHER` bigint(20),
  `OTHER` int(11),
  `RESEARCH` int(11),
  `SUPPORT` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_TEACHER),
  index (OID_TEACHER)
) type=InnoDB, character set utf8 ;

create table `WEEKLY_WORK_LOAD` (
  `AUTONOMOUS_STUDY` int(11),
  `CONTACT` int(11),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ATTENDS` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ATTENDS` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OTHER` int(11),
  `WEEK_OFFSET` int(11),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ATTENDS),
  index (OID_ATTENDS),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `WORK_PERIOD` (
  `FIRST_PERIOD` time,
  `FIRST_PERIOD_DURATION` bigint(20),
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SECOND_PERIOD` time,
  `SECOND_PERIOD_DURATION` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `WORK_SCHEDULE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_PERIODICITY` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_WORK_SCHEDULE_TYPE` int(11),
  `OID` bigint(20),
  `OID_PERIODICITY` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_WORK_SCHEDULE_TYPE` bigint(20),
  `WORK_WEEK` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_PERIODICITY),
  index (OID_PERIODICITY),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_WORK_SCHEDULE_TYPE),
  index (OID_WORK_SCHEDULE_TYPE)
) type=InnoDB, character set utf8 ;

create table `WORK_SCHEDULE_TYPE` (
  `ACRONYM` longtext,
  `BEGIN_VALID_DATE` text,
  `CLOCKING_TIME` time,
  `CLOCKING_TIME_DURATION` bigint(20),
  `END_VALID_DATE` text,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_FIXED_WORK_PERIOD` int(11),
  `KEY_MEAL` int(11),
  `KEY_MODIFIED_BY` int(11),
  `KEY_NORMAL_WORK_PERIOD` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `LAST_MODIFIED_DATE` timestamp NULL default NULL,
  `OID` bigint(20),
  `OID_FIXED_WORK_PERIOD` bigint(20),
  `OID_MEAL` bigint(20),
  `OID_MODIFIED_BY` bigint(20),
  `OID_NORMAL_WORK_PERIOD` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `SCHEDULE_CLOCKING_TYPE` text,
  `WORK_TIME` time,
  `WORK_TIME_DURATION` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_FIXED_WORK_PERIOD),
  index (OID_FIXED_WORK_PERIOD),
  index (KEY_MEAL),
  index (OID_MEAL),
  index (KEY_MODIFIED_BY),
  index (OID_MODIFIED_BY),
  index (KEY_NORMAL_WORK_PERIOD),
  index (OID_NORMAL_WORK_PERIOD),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `WRITTEN_EVALUATION_ENROLMENT` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_ROOM` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_STUDENT` int(11),
  `KEY_WRITTEN_EVALUATION` int(11),
  `OID` bigint(20),
  `OID_ROOM` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_STUDENT` bigint(20),
  `OID_WRITTEN_EVALUATION` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_ROOM),
  index (OID_ROOM),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_STUDENT),
  index (OID_STUDENT),
  index (KEY_WRITTEN_EVALUATION),
  index (OID_WRITTEN_EVALUATION)
) type=InnoDB, character set utf8 ;

create table `YEAR_DELEGATE_COURSE_INQUIRY` (
  `ANSWER_DURATION` bigint(20),
  `CLEAR_ONLINE_C_U_INFORMATION` int(11),
  `CLEAR_ONLINE_C_U_INFORMATION_REASONS` longtext,
  `ENOUGH_ONLINE_C_U_INFORMATION` int(11),
  `ENOUGH_ONLINE_C_U_INFORMATION_REASONS` longtext,
  `EVALUATION_DATES_SCHEDULE_ACTIVE_PARTICIPATION` int(11),
  `EVALUATION_DATES_SCHEDULE_ACTIVE_PARTICIPATION_REASONS` longtext,
  `EVALUATION_METHODS_DISCLOSED_TO_SPECIAL_SEASON_STUDENTS` longtext,
  `EVALUATION_METHODS_DISCLOSED_TO_WORKING_STUDENTS` longtext,
  `EVALUATION_METHODS_WELL_APPLIED` int(11),
  `EVALUATION_METHODS_WELL_APPLIED_REASONS` longtext,
  `EXPLICIT_EVALUATION_METHODS` int(11),
  `EXPLICIT_EVALUATION_METHODS_REASONS` longtext,
  `FINAL_COMMENTS_AND_IMPROOVEMENTS` longtext,
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_DELEGATE` int(11),
  `KEY_EXECUTION_COURSE` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `OID` bigint(20),
  `OID_DELEGATE` bigint(20),
  `OID_EXECUTION_COURSE` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `PREVIOUS_KNOWLEGDE_ARTICULATION` int(11),
  `PREVIOUS_KNOWLEGDE_ARTICULATION_REASONS` longtext,
  `REPORT_DISCLOSURE_AUTHORIZATION` longtext,
  `RESPONSE_DATE_TIME` timestamp NULL default NULL,
  `STRONG_AND_WEAK_POINTS_OF_C_U_TEACHING_PROCESS` longtext,
  `SUGGESTED_BEST_PRACTICES` longtext,
  `SUPPORT_MATERIAL_AVAILABLE_ON_TIME` int(11),
  `SUPPORT_MATERIAL_AVAILABLE_ON_TIME_REASONS` longtext,
  `WORK_LOAD_CLASSIFICATION` int(11),
  `WORK_LOAD_CLASSIFICATION_REASONS` longtext,
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_DELEGATE),
  index (OID_DELEGATE),
  index (KEY_EXECUTION_COURSE),
  index (OID_EXECUTION_COURSE),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT)
) type=InnoDB, character set utf8 ;

create table `YEAR_STUDENT_SPECIAL_SEASON_CODE` (
  `ID_INTERNAL` int(11) NOT NULL auto_increment,
  `KEY_EXECUTION_YEAR` int(11),
  `KEY_ROOT_DOMAIN_OBJECT` int(11),
  `KEY_SPECIAL_SEASON_CODE` int(11),
  `KEY_STUDENT` int(11),
  `OID` bigint(20),
  `OID_EXECUTION_YEAR` bigint(20),
  `OID_ROOT_DOMAIN_OBJECT` bigint(20),
  `OID_SPECIAL_SEASON_CODE` bigint(20),
  `OID_STUDENT` bigint(20),
  primary key (ID_INTERNAL),
  index (OID),
  index (KEY_EXECUTION_YEAR),
  index (OID_EXECUTION_YEAR),
  index (KEY_ROOT_DOMAIN_OBJECT),
  index (OID_ROOT_DOMAIN_OBJECT),
  index (KEY_SPECIAL_SEASON_CODE),
  index (OID_SPECIAL_SEASON_CODE),
  index (KEY_STUDENT),
  index (OID_STUDENT)
) type=InnoDB, character set utf8 ;

